Quick start with cURL
The fastest way to test the API is with cURL. Let’s look up a user:$BEARER_TOKEN with your actual Bearer Token. You’ll get a response like:
Step-by-step guide
1
Get your Bearer Token
In the Developer Console, navigate to your app and copy the Bearer Token.
2
Choose an endpoint
Start with one of these beginner-friendly endpoints:
3
Make the request
Use cURL, Postman, or your preferred HTTP client:
4
Parse the response
Responses are JSON. The primary data is in the
data field:Request more data with fields
By default, endpoints return minimal fields. Use thefields parameter to request additional data:
More examples
- Look up a post
- Search recent posts
- Get user's posts
Using code instead of cURL
- Python
- JavaScript
- Official SDKs
Tools for testing
Postman
Visual API testing with our collection.
Sample code
Examples in multiple languages.
API reference
Full endpoint documentation.
Troubleshooting
403 Forbidden
403 Forbidden
- Your app may not have access to this endpoint
- Some endpoints require user-context authentication (OAuth 1.0a or 2.0)
- Check your app’s permissions in the Developer Console
429 Too Many Requests
429 Too Many Requests
- You’ve hit a rate limit
- Check the
x-rate-limit-resetheader for when to retry - Implement exponential backoff in your code
Next steps
Learn authentication
Understand OAuth for user-context requests.
Explore endpoints
Discover what you can build.
Use an SDK
Faster development with official libraries.
Build something
Ideas for what to create.