AI Tools Hub API
Access our comprehensive database of AI tools programmatically. Build integrations, create custom dashboards, or power your own applications.
https://api.aitoolshub.pro/v1
Authentication
All API requests require an API key. Include your API key in the request headers:
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json
To get your API key:
- Sign up for an account
- Go to Dashboard → Settings → API
- Generate a new API key
Never expose your API key in client-side code or public repositories.
Rate Limiting
API requests are rate limited based on your plan:
| Plan | Requests/Minute | Requests/Day |
|---|---|---|
| Free | 10 | 1,000 |
| Pro | 100 | 50,000 |
| Enterprise | 1,000 | Unlimited |
Rate limit information is included in response headers:
X-RateLimit-Limit: 100
X-RateLimit-Remaining: 95
X-RateLimit-Reset: 1705276800
Error Handling
The API uses standard HTTP response codes:
| Code | Description |
|---|---|
200 |
Success |
400 |
Bad Request - Invalid parameters |
401 |
Unauthorized - Invalid API key |
404 |
Not Found - Resource doesn't exist |
429 |
Too Many Requests - Rate limit exceeded |
500 |
Server Error |
Error responses include a JSON body:
{
"error": true,
"message": "Invalid API key",
"code": "UNAUTHORIZED"
}
Tools
/tools
Retrieve a list of AI tools with optional filtering and pagination.
Query Parameters
| Parameter | Type | Description |
|---|---|---|
page |
integer | Page number (default: 1) |
limit |
integer | Results per page (max: 100) |
category |
string | Filter by category slug |
pricing |
string | Filter: free, freemium, paid |
sort |
string | Sort: popular, rating, newest |
Example Request
curl -X GET "https://api.aitoolshub.pro/v1/tools?category=chatbots&limit=10" \
-H "Authorization: Bearer YOUR_API_KEY"
Example Response
{
"success": true,
"data": [
{
"id": 1,
"name": "ChatGPT",
"slug": "chatgpt",
"tagline": "Advanced AI chatbot for conversations",
"description": "...",
"website_url": "https://chat.openai.com",
"logo": "/assets/tools/chatgpt.png",
"category": {
"id": 1,
"name": "AI Chatbots",
"slug": "chatbots"
},
"pricing": "freemium",
"rating": 4.9,
"review_count": 1247,
"is_featured": true
}
],
"pagination": {
"page": 1,
"limit": 10,
"total": 847,
"pages": 85
}
}
/tools/{id}
Retrieve detailed information about a specific tool.
Example Response
{
"success": true,
"data": {
"id": 1,
"name": "ChatGPT",
"slug": "chatgpt",
"tagline": "Advanced AI chatbot",
"description": "Full description...",
"features": ["API Access", "Mobile App"],
"pros": ["Fast responses", "Great at coding"],
"cons": ["Can be inaccurate"],
"website_url": "https://chat.openai.com",
"pricing_details": "Free tier + $20/mo Pro",
"rating": 4.9,
"review_count": 1247,
"similar_tools": [...]
}
}
Categories
/categories
Retrieve all tool categories.
Example Response
{
"success": true,
"data": [
{
"id": 1,
"name": "AI Chatbots",
"slug": "chatbots",
"description": "Conversational AI assistants",
"icon": "💬",
"tool_count": 847
},
{
"id": 2,
"name": "Image Generation",
"slug": "image-generation",
"description": "AI-powered image creation",
"icon": "🎨",
"tool_count": 612
}
]
}
Search
/search
Search for tools by keyword.
Query Parameters
| Parameter | Type | Description |
|---|---|---|
q |
string | Search query (required) |
category |
string | Filter by category |
limit |
integer | Max results (default: 20) |
Example Request
curl -X GET "https://api.aitoolshub.pro/v1/search?q=image+generation" \
-H "Authorization: Bearer YOUR_API_KEY"
Reviews
/tools/{id}/reviews
Get reviews for a specific tool.
/tools/{id}/reviews
Submit a review for a tool (requires user authentication).
Request Body
{
"rating": 5,
"title": "Excellent tool!",
"content": "This tool has been amazing...",
"pros": "Fast, accurate, easy to use",
"cons": "Could use more features"
}