API Overview
Introduction to the Twitter API endpoints and usage
API Overview
The Aidir.fun Twitter API provides comprehensive access to Twitter data through RESTful endpoints. All endpoints require authentication via API token.
Base URL
https://api.aidir.funAuthentication
All API requests require an API token passed in the Authorization header:
Authorization: Bearer YOUR_API_TOKENAvailable Endpoints
- User Data: Retrieve user profiles, tweets, and social connections
- Tweet Data: Access tweet details, replies, and engagement metrics
- Search: Search for tweets and users
- Community: Access community tweets and list content
- Token Management: Check token usage and limits
Response Format
All responses are returned in JSON format with the following structure:
{
"code": 0,
"msg": "success",
"data": {}
}Error Handling
Error responses include appropriate HTTP status codes and error messages:
{
"code": 1,
"msg": "error description"
}
Aidir Docs