The most comprehensive unofficial Threads API available on RapidAPI ๐
Access Threads data programmatically with our fast, reliable, and easy-to-use REST API. Perfect for developers building social media tools, analytics platforms, content management systems, and research applications.
- โก Lightning Fast: Optimized for speed with minimal cold-start latency
- ๐ Secure & Reliable: Built on Cloudflare Workers with enterprise-grade security
- ๐ Comprehensive: Complete coverage of Threads functionality
- ๐ก๏ธ Production Ready: Built-in error handling, retries, and rate limiting
- ๐ Well Documented: Clear API documentation with examples
- ๐ฐ Affordable: Flexible pricing plans starting free
Visit RapidAPI Threads API Pro and subscribe to get your API key.
curl -X GET 'https://threads-api-pro.p.rapidapi.com/user/info?username=zuck' \
-H 'X-RapidAPI-Key: YOUR_RAPIDAPI_KEY' \
-H 'X-RapidAPI-Host: threads-api-pro.p.rapidapi.com'{
"ok": true,
"status": 200,
"data": {
"user": {
"pk": "63055343223",
"username": "zuck",
"biography": "Mostly superintelligence and MMA takes",
"follower_count": 5091179,
"is_verified": true,
"profile_pic_url": "https://...",
"text_post_app_is_private": false
}
}
}| Endpoint | Description | Parameters |
|---|---|---|
GET /user/info |
Get user profile by username | username |
GET /user/{userId} |
Get user profile by ID | userId |
GET /user/{userId}/posts |
Get user's posts | userId, cursor (optional) |
GET /user/{userId}/reposts |
Get user's reposts | userId, cursor (optional) |
GET /user/{userId}/replies |
Get user's replies | userId, cursor (optional) |
GET /user/{userId}/followers |
Get user's followers | userId, cursor (optional) |
GET /user/{userId}/following |
Get user's following | userId, cursor (optional) |
GET /user/{userId}/media |
Get user's media posts | userId, cursor (optional) |
| Endpoint | Description | Parameters |
|---|---|---|
GET /post/id-by-url |
Get post ID from URL | url |
GET /post/{postId} |
Get post details | postId |
GET /post/{postId}/related |
Get related posts | postId |
GET /post/{postId}/comments |
Get post comments | postId, cursor, sort_order |
| Endpoint | Description | Parameters |
|---|---|---|
GET /search/top |
Search top results | q, cursor (optional) |
GET /search/recent |
Search recent results | q, cursor (optional) |
GET /search/profiles |
Search user profiles | q, cursor (optional) |
const axios = require('axios');
const options = {
method: 'GET',
url: 'https://threads-api-pro.p.rapidapi.com/user/info',
params: { username: 'zuck' },
headers: {
'X-RapidAPI-Key': 'YOUR_RAPIDAPI_KEY',
'X-RapidAPI-Host': 'threads-api-pro.p.rapidapi.com'
}
};
try {
const response = await axios.request(options);
console.log(response.data);
} catch (error) {
console.error(error);
}import requests
url = "https://threads-api-pro.p.rapidapi.com/user/info"
querystring = {"username": "zuck"}
headers = {
"X-RapidAPI-Key": "YOUR_RAPIDAPI_KEY",
"X-RapidAPI-Host": "threads-api-pro.p.rapidapi.com"
}
response = requests.get(url, headers=headers, params=querystring)
print(response.json())<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://threads-api-pro.p.rapidapi.com/user/info?username=zuck",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"X-RapidAPI-Key: YOUR_RAPIDAPI_KEY",
"X-RapidAPI-Host: threads-api-pro.p.rapidapi.com"
],
]);
$response = curl_exec($curl);
curl_close($curl);
echo $response;
?>| Plan | Price | Monthly Requests | Rate Limit | Best For |
|---|---|---|---|---|
| Basic | FREE | 10 requests | 1000/hour | Testing & Development |
| Pro | $24.99/mo | 30,000 requests | 3/second | Small Applications |
| Ultra | $49.99/mo | 100,000 requests | 6/second | Medium Applications |
| Mega | $149.99/mo | 500,000 requests | 12/second | Enterprise Applications |
Overage charges apply for Pro+ plans. Check RapidAPI for current pricing.
- Track user engagement and growth
- Monitor trending topics and hashtags
- Analyze content performance
- Generate social media reports
- Automate content discovery
- Build social media dashboards
- Create content recommendation systems
- Monitor brand mentions
- Social media research projects
- Sentiment analysis studies
- Network analysis
- Content trend analysis
- Competitor analysis
- Market research
- Influencer identification
- Social listening
- Complete user profiles with follower counts, verification status, and bio
- Full post content including text, media, and engagement metrics
- Real-time search across posts and profiles
- Comment threads and reply chains
- Related post recommendations
- RESTful API design
- JSON responses
- Comprehensive error handling
- Rate limiting headers
- CORS support for web applications
- 99.9% uptime SLA
- Global CDN distribution
- Automatic retries and failover
- Request/response logging
- Performance monitoring
- API Reference: View on RapidAPI
- Interactive Playground: Test endpoints directly in your browser
- OpenAPI Specification: Available for code generation
- Postman Collection: Import and test all endpoints
- Respect your plan's rate limits
- Use the
X-RateLimit-*headers to monitor usage - Implement exponential backoff for retries
// Always check the response status
if (response.data.ok) {
// Process successful response
const userData = response.data.data;
} else {
// Handle API errors
console.error('API Error:', response.data.error);
}
// Use pagination for large datasets
let cursor = null;
do {
const response = await fetchUserPosts(userId, cursor);
cursor = response.data.next_cursor;
// Process posts...
} while (cursor);- No Authentication Required: Uses RapidAPI's secure authentication system
- Request Isolation: Each request is processed independently
- No Data Storage: We don't store or cache your API requests
- HTTPS Only: All communications are encrypted
- Rate Limited: Prevents abuse and ensures fair usage
- ๐ Improved Performance: 50% faster response times
- ๐ก๏ธ Enhanced Reliability: Better error handling and retry logic
- ๐ New Endpoints: Added media, followers, and following endpoints
- ๐ Better Search: Improved search accuracy and filtering
- ๐ Analytics: Enhanced response metadata and performance metrics
- Documentation: RapidAPI Docs
- Issues: Report bugs and request features
- Community: Join our developer community discussions
- API Status: Monitor uptime and performance
- Changelog: Stay updated with latest changes
- Announcements: Get notified of important updates
- Terms of Service: Review usage terms and conditions
- Privacy Policy: Understand data handling practices
- Rate Limits: Respect API usage guidelines
- Fair Use: Use the API responsibly and ethically
Ready to integrate Threads data into your application?
- ๐ API Documentation
- ๐ฎ Interactive Playground
- ๐ Pricing Plans
- ๐ฌ Developer Support
Built with โค๏ธ for developers who need reliable Threads data access
This is an unofficial API and is not affiliated with Meta or Threads. Use responsibly and in accordance with Threads' terms of service.