# Trash Nothing API

> A freecycling community with thousands of free items posted every day.

Trash Nothing is a social API from trashnothing.com. Requests are authenticated with OAuth. It is served over HTTPS and allows browser requests (CORS). Its OpenAPI description documents 76 endpoints.

## At a glance

- Category: [Social](https://www.openparable.com/apis/category/social)
- Provider: trashnothing.com
- Authentication: OAuth
- HTTPS: Yes
- CORS: Yes
- Base URL: https://trashnothing.com/api/v1.3
- Documentation: https://trashnothing.com/developer
- OpenAPI description: https://api.apis.guru/v2/specs/trashnothing.com/1.3/openapi.json
- Version: 1.3
- Specification updated: 2023-03-03

## Example request

```bash
curl -X GET "https://trashnothing.com/api/v1.3/conversations" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer YOUR_TOKEN"
```

## Endpoints

- `GET /conversations` — List conversations
- `PUT /conversations/archive-all` — Archive all conversations
- `PUT /conversations/mark-all-read` — Mark all conversations as read
- `GET /conversations/search` — Search conversations
- `DELETE /conversations/{conversation_id}` — Delete conversation
- `PUT /conversations/{conversation_id}/archive` — Archive conversation
- `PUT /conversations/{conversation_id}/block` — Block conversation
- `PUT /conversations/{conversation_id}/mark-read` — Mark conversation as read
- `GET /conversations/{conversation_id}/messages` — List conversation messages
- `POST /conversations/{conversation_id}/reply` — Reply to conversation
- `POST /conversations/{conversation_id}/report` — Report conversation
- `PUT /conversations/{conversation_id}/unarchive` — Unarchive conversation
- `PUT /conversations/{conversation_id}/unblock` — Unblock conversation
- `POST /feedback` — Send feedback
- `GET /groups` — Search groups
- `GET /groups/multiple` — Retrieve multiple groups
- `POST /groups/subscribe` — Join groups
- `GET /groups/{group_id}` — Retrieve a group
- `POST /groups/{group_id}/answers` — Submit group answers
- `POST /groups/{group_id}/contact` — Contact group moderators
- `POST /groups/{group_id}/unsubscribe` — Leave a group
- `POST /photos` — Create a photo
- `GET /photos/multiple` — Retrieve multiple photos
- `DELETE /photos/{photo_id}` — Delete a photo
- `POST /photos/{photo_id}/rotate` — Rotate a photo
- `GET /posts` — List posts
- `POST /posts` — Submit a post
- `GET /posts/all` — List all posts
- `GET /posts/all/changes` — List all post changes
- `GET /posts/multiple` — Retrieve multiple posts
- `GET /posts/search` — Search posts
- `GET /posts/{post_id}` — Retrieve a post
- `PUT /posts/{post_id}` — Update a post
- `DELETE /posts/{post_id}` — Delete a post
- `PUT /posts/{post_id}/bookmark` — Bookmark a post
- `DELETE /posts/{post_id}/bookmark` — Delete a post bookmark
- `GET /posts/{post_id}/display` — Retrieve post display data
- `PUT /posts/{post_id}/promise` — Promise an offer post
- `POST /posts/{post_id}/reply` — Reply to a post
- `POST /posts/{post_id}/report` — Report a post
- `PUT /posts/{post_id}/satisfy` — Satisfy a post
- `POST /posts/{post_id}/share` — Share a post
- `PUT /posts/{post_id}/unpromise` — Unpromise an offer post
- `PUT /posts/{post_id}/withdraw` — Withdraw a post
- `GET /stories` — List stories
- `POST /stories` — Submit a story
- `GET /stories/{story_id}` — Retrieve a story
- `PUT /stories/{story_id}/like` — Like a story
- `PUT /stories/{story_id}/unlike` — Unlike a story
- `POST /stories/{story_id}/viewed` — Record story viewed
- `GET /users/me` — Retrieve current user
- `PUT /users/me` — Update current user
- `GET /users/me/alerts` — List current users' email alerts
- `PUT /users/me/alerts` — Create an email alert
- `DELETE /users/me/alerts/{alert_id}` — Delete an email alert
- `POST /users/me/email` — Change email address
- `PUT /users/me/email/not-bouncing` — Set users' email address as not bouncing
- `GET /users/me/groups` — List current users' groups
- `PUT /users/me/location` — Update location
- `GET /users/me/notices` — List current users' group notices
- `GET /users/me/post-locations` — List current users' post locations
- `PUT /users/me/post-locations` — Save a post location for the current user
- `GET /users/me/posts` — List current users' posts
- `GET /users/me/posts/search` — Search current users' posts
- `POST /users/me/profile-image` — Set a profile image
- `GET /users/me/profile-images` — List current users' profile images
- `POST /users/me/resend-verification` — Resend account verification email
- `POST /users/me/reset-password` — Send password reset email
- `POST /users/report` — Report a user
- `GET /users/{user_id}` — Retrieve a user
- `GET /users/{user_id}/display` — Retrieve user display info
- `POST /users/{user_id}/feedback` — Submit feedback on a user
- `DELETE /users/{user_id}/feedback` — Remove feedback on a user
- `GET /users/{user_id}/posts` — List posts by a user
- `GET /users/{user_id}/posts/search` — Search posts by a user
- `GET /users/{user_id}/profile-image` — Retrieve a users' profile image

## Questions

### Does the Trash Nothing API need an API key?

Yes. The Trash Nothing API uses OAuth authentication; the documentation explains how to get credentials.

### Can I call the Trash Nothing API from the browser?

Yes. The Trash Nothing API sends CORS headers, so a web page can call it directly with fetch().

### Does the Trash Nothing API support HTTPS?

Yes, the Trash Nothing API is served over HTTPS.

### How many endpoints does the Trash Nothing API have?

Its OpenAPI description lists 76 endpoints in version 1.3. All of them are shown on this page.

### What are alternatives to the Trash Nothing API?

Other Social APIs include Blogger, Facebook, Twitter, Pinterest, TikTok.

## Similar social APIs

- [Blogger](https://www.openparable.com/apis/blogger): The Blogger APIs allows client applications to view and update Blogger content
- [Facebook](https://www.openparable.com/apis/facebook): Facebook Login, Share on FB, Social Plugins, Analytics and more
- [Twitter](https://www.openparable.com/apis/twitter): Read and write Twitter data
- [Pinterest](https://www.openparable.com/apis/pinterest): The world's catalog of ideas
- [TikTok](https://www.openparable.com/apis/tiktok): Fetches user info and user's video posts on TikTok platform
- [Twitter API](https://www.openparable.com/apis/twitter-2): Use the X API with an all-new Developer Console and consumption-based billing. No fixed monthly costs, no monthly caps.
- [Telegram Bot](https://www.openparable.com/apis/telegram-bot): Simplified HTTP version of the MTProto API for bots
- [Zoom](https://www.openparable.com/apis/zoom): Video communication, web conferencing, chat, and webinars
- [vk](https://www.openparable.com/apis/vk): Read and write vk data
- [Tumblr](https://www.openparable.com/apis/tumblr): Read and write Tumblr Data
- [Discord](https://www.openparable.com/apis/discord): Make bots for Discord, integrate Discord onto an external platform
- [LinkedIn](https://www.openparable.com/apis/linkedin): The foundation of all digital integrations with LinkedIn

Listed from: public-apis (MIT), public-apis database (MIT), APIs.guru (CC0). Check the provider's terms before use.

---

Source: https://www.openparable.com/apis/trash-nothing (OpenParable). Cite the canonical URL above.
