APIHub

API Playground

Test verified public APIs in your browser via a security-hardened proxy — only 2,602 allowlisted APIs can be reached. Built for single-endpoint APIs and large surfaces like Plaid or Slack.

🔌
Trash Nothing

Social · OpenAPI imported · 76 endpoints

community
76 endpoints
Auth: none
HTTPS

Endpoints

76

Users

Photos

Conversations

Feedback

Groups

Posts

Stories

Request

proxy validates path

Hosttrashnothing.com· SSRF-safe proxy
Auth

query — How to sort the posts that are returned. One of: date, active, distance Date sorting will sort posts from newest to oldest. Active sorting will sort active posts before satisfied, withdrawn and expired posts and then sort by date. Distance sorting will sort the closest posts first.

query · required — A comma separated list of the post types to return. The available post types are: offer, taken, wanted, received, admin

query · required — A comma separated list of the post sources to retrieve posts from. The available sources are: groups, trashnothing, open_archive_groups. The trashnothing source is for public posts that are posted on trash nothing but are not associated with any group. The open_archive_groups source provides a way to easily request posts from groups that have open_archives set to true without having to pass a group_ids parameter. When passed, it will automatically return posts from open archive groups that are within the area specified by the latitude, longitude and radius parameters (or the current users' location if latitude, longitude and radius aren't passed). NOTE: For requests using an api key instead of oauth, passing the trashnothing source or the open_archive_groups source makes the latitude, longitude and radius parameters required.

query — A comma separated list of the group IDs to retrieve posts from. This parameter is only used if the 'groups' source is passed in the sources parameter and only groups that the current user is a member of or that are open archives groups will be used (the group IDs of other groups will be silently discarded*). NOTE: For requests using an api key instead of oauth, this field is required if the 'groups' source is passed. In addition, only posts from groups that have open_archives set to true will be used (the group IDS of other groups will be silently discarded*). *To determine which group IDs were used and which were discarded, use the group_ids field in the response.

query · limit — The number of posts to return per page (must be >= 1 and <= 100).

query · page — The page of posts to return.

query — Client device pixel ratio used to determine thumbnail size (default 1.0).

query — The latitude of a point around which to return posts.

query — The longitude of a point around which to return posts.

query — The radius in meters of a circle centered at the point defined by the latitude and longitude parameters. When latitude, longitude and radius are passed, only posts within the circle defined by these parameters will be returned.

query — Only posts newer than or equal to this UTC date and time will be returned.

query — Only posts older than this UTC date and time will be returned.

query — A comma separated list of the post outcomes to return. The available post outcomes are: satisfied, withdrawn There are also a couple special values that can be passed. If set to an empty string (the default), only posts that are not satisfied and not withdrawn and not expired are returned. If set to 'all', all posts will be returned no matter what outcome the posts have. If set to 'not-promised', only posts that are not satisfied ant not withdrawn and not expired and not promised are returned.

query — If user_state is set, only posts matching the state specified will be returned. Only one state may be passed and it must be one of the following: viewed, replied, bookmarked NOTE: This option will only work with oauth requests.

query — If set to 1 (the default), posts that are reposts will be included. If set to 0, reposts will be excluded. See the repost_count field of post objects for details about how reposts are identified.

Response

Send a request to see the real response here — status, timing, and body.

The playground routes through a security-hardened proxy. Only allowlisted hosts are reachable. Try Trash Nothing to start.

Loading...