SiteOptz AI Tools API
Access comprehensive data on 1000+ AI tools through our RESTful API
Documentation
Getting Started
The SiteOptz AI Tools API provides programmatic access to our comprehensive database of AI tools. Get detailed information about tools, compare features, and integrate AI tool data into your applications.
Base URL
https://siteoptz.ai/api/v1
🚀 Quick Start
Our API is currently open and doesn't require authentication. Simply make HTTP requests to our endpoints to get started!
Rate Limiting
To ensure fair usage, our API implements rate limiting:
- 100 requests per minute per IP address
- Rate limit resets every 60 seconds
- Exceeded limits return HTTP 429 status
Response Headers
X-RateLimit-Limit: 100 X-RateLimit-Window: 60s
API Endpoints
GET /tools
Retrieve a list of AI tools with filtering and pagination.
Query Parameters
Parameter | Type | Description |
---|---|---|
category | string | Filter by tool category |
search | string | Search in name, description, tags |
limit | integer | Results per page (default: 20, max: 100) |
offset | integer | Pagination offset (default: 0) |
sort | string | Sort by: name, rating, price |
fields | string | Comma-separated fields to include |
Example Request
GET /api/v1/tools?category=seo&limit=5&sort=rating curl "https://siteoptz.ai/api/v1/tools?category=seo&limit=5"
GET /tools/{slug}
Get detailed information about a specific AI tool.
Example Request
GET /api/v1/tools/chatgpt curl "https://siteoptz.ai/api/v1/tools/chatgpt"
GET /categories
Get all available tool categories with optional counts.
Example Request
GET /api/v1/categories?include_count=true curl "https://siteoptz.ai/api/v1/categories?include_count=true"
POST /tools/compare
Compare multiple AI tools side by side.
Example Request
POST /api/v1/tools/compare Content-Type: application/json { "slugs": ["chatgpt", "claude", "gemini"], "fields": ["name", "pricing", "features"] }
Code Examples
JavaScript / Node.js
// Fetch all SEO tools const response = await fetch('https://siteoptz.ai/api/v1/tools?category=seo'); const data = await response.json(); console.log(`Found ${data.meta.total} SEO tools`); data.data.forEach(tool => { console.log(`- ${tool.name}: ${tool.overview?.description}`); }); // Compare tools const comparison = await fetch('https://siteoptz.ai/api/v1/tools/compare', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ slugs: ['chatgpt', 'claude'] }) }); const compareData = await comparison.json();
Python
import requests # Get writing tools response = requests.get('https://siteoptz.ai/api/v1/tools?category=writing&limit=10') tools = response.json() for tool in tools['data']: print(f"{tool['name']}: {tool['overview']['description']}") # Search for AI tools search_response = requests.get('https://siteoptz.ai/api/v1/tools?search=chatbot') search_results = search_response.json()
Embeddable Widgets
Embed AI tool data directly into your website with our JavaScript widgets.
🚧 Coming Soon
Embeddable widgets are currently in development. They will allow you to display AI tool listings, comparisons, and search functionality on your website.
Tool List Widget
Display a customizable list of AI tools
Search Widget
Add AI tool search to your site
Need Help?
Have questions about our API or need support with your integration?