Skip to main content

Profiles

There are three separate endpoints for loading user profiles.

You can load the overview (which includes posts and comments), posts, or comments.

Common Parameters

ValueTypeRequiredDescription
userstringtruerequested user
sortstringfalsesort by new, old, etc
communitystringfalseonly include content from the requested community

Loading

Overview

To load the overview, which includes posts and comments, use the following endpoint.

GET: https://api.scored.co/api/v2/content/profile.json

Posts

To load the posts, use the following endpoint.

GET: https://api.scored.co/api/v2/post/profile.json

Comments

To load the comments, use the following endpoint.

GET: https://api.scored.co/api/v2/comment/profile.json

Pagination

There are differences in how pagination is handled for the various user profile endpoints.

Overview

To paginate overview, you should pass post and comment parameters.

For example, if you have already loaded one page of results which contained 4 posts and 21 comments, you should pass ?posts=4&comments=21.

Posts and Comments

To paginate posts or comments, you should simply pass the page parameter.

For example, if you are loading a second page, you should pass ?page=2.

If omitted, page defaults to 1.