Complete reference for the Inferaweb API. Base URL: https://api.inferaweb.com
/auth/signupCreate a new account.
| Name | Type | Required | Description |
|---|---|---|---|
| string | Required | User email address | |
| password | string | Required | Password (min 8 chars) |
| name | string | Required | Display name |
curl -X POST "https://api.inferaweb.com/auth/signup" \
-H "Content-Type: application/json" \
-d '{"email": "user@example.com", "password": "securepass", "name": "John"}'{
"access_token": "eyJhbGciOiJIUzI1NiIs...",
"token_type": "bearer",
"user": {
"id": "usr_abc123",
"email": "user@example.com",
"name": "John",
"is_verified": false,
"created_at": "2025-01-01T00:00:00Z"
}
}/auth/loginSign in to an existing account.
| Name | Type | Required | Description |
|---|---|---|---|
| string | Required | User email address | |
| password | string | Required | Account password |
curl -X POST "https://api.inferaweb.com/auth/login" \
-H "Content-Type: application/json" \
-d '{"email": "user@example.com", "password": "securepass"}'{
"access_token": "eyJhbGciOiJIUzI1NiIs...",
"token_type": "bearer",
"user": {
"id": "usr_abc123",
"email": "user@example.com",
"name": "John",
"is_verified": true,
"created_at": "2025-01-01T00:00:00Z"
}
}/auth/meGet the current authenticated user.
curl "https://api.inferaweb.com/auth/me" \
-H "Authorization: Bearer YOUR_TOKEN"{
"id": "usr_abc123",
"email": "user@example.com",
"name": "John",
"is_verified": true,
"created_at": "2025-01-01T00:00:00Z"
}/auth/api-keysList all API keys for the authenticated user.
curl "https://api.inferaweb.com/auth/api-keys" \
-H "Authorization: Bearer YOUR_TOKEN"{
"api_keys": [
{
"id": "key_abc123",
"name": "Production",
"created_at": "2025-01-01T00:00:00Z"
}
]
}/auth/api-keysCreate a new API key. The key value is only returned once.
| Name | Type | Required | Description |
|---|---|---|---|
| name | string | Required | A name for the API key |
curl -X POST "https://api.inferaweb.com/auth/api-keys" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_TOKEN" \
-d '{"name": "Production"}'{
"id": "key_abc123",
"name": "Production",
"key": "iw_live_abc123...",
"created_at": "2025-01-01T00:00:00Z"
}/auth/api-keys/{key_id}Delete an API key.
curl -X DELETE "https://api.inferaweb.com/auth/api-keys/key_abc123" \
-H "Authorization: Bearer YOUR_TOKEN"{
"message": "API key deleted successfully"
}/v1/searchSearch the web with AI-optimized results from multiple providers.
| Name | Type | Required | Description |
|---|---|---|---|
| query | string | Required | The search query |
| search_depth | string | Optional | "basic" or "advanced" (default: "basic") |
| topic | string | Optional | "general" or "news" (default: "general") |
| max_results | integer | Optional | Max results to return (1-20, default: 5) |
| include_answer | boolean | Optional | Include AI-generated answer (default: false) |
| include_images | boolean | Optional | Include image results (default: false) |
curl -X POST "https://api.inferaweb.com/v1/search" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{"query": "latest AI news", "max_results": 5}'{
"results": [
{
"title": "AI Advances in 2025",
"url": "https://example.com/article",
"content": "Summary of the article...",
"score": 0.95
}
],
"answer": "Here is a summary of the latest AI news..."
}/v1/extractExtract clean, structured content from one or more URLs.
| Name | Type | Required | Description |
|---|---|---|---|
| urls | string[] | Required | List of URLs to extract content from |
| include_images | boolean | Optional | Include images in extraction (default: false) |
curl -X POST "https://api.inferaweb.com/v1/extract" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{"urls": ["https://example.com/article"]}'{
"results": [
{
"url": "https://example.com/article",
"title": "Article Title",
"content": "Full extracted content...",
"metadata": {
"author": "John Doe",
"published_date": "2025-01-01"
}
}
]
}/v1/crawlCrawl a website starting from a URL with configurable depth and page limits.
| Name | Type | Required | Description |
|---|---|---|---|
| url | string | Required | Starting URL to crawl |
| max_depth | integer | Optional | Max crawl depth (1-10, default: 3) |
| max_pages | integer | Optional | Max pages to crawl (1-500, default: 50) |
curl -X POST "https://api.inferaweb.com/v1/crawl" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{"url": "https://example.com", "max_depth": 2, "max_pages": 20}'{
"pages": [
{
"url": "https://example.com",
"title": "Example Site",
"content": "Page content...",
"links": ["https://example.com/about", "https://example.com/blog"]
}
],
"total_pages": 15
}/v1/researchDeep research on any topic. Searches the web for your query, extracts content from all found URLs, and returns comprehensive results with full page content.
| Name | Type | Required | Description |
|---|---|---|---|
| query | string | Required | The research query to search for |
| max_results | integer | Optional | Max search results to extract (1-20, default: 5) |
| include_images | boolean | Optional | Include images in extraction (default: false) |
curl -X POST "https://api.inferaweb.com/v1/research" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{"query": "latest advances in quantum computing", "max_results": 5}'{
"query": "latest advances in quantum computing",
"results": [
{
"url": "https://example.com/quantum-article",
"title": "Quantum Computing Breakthroughs in 2025",
"content": "Full extracted page content...",
"metadata": {
"author": "Jane Smith",
"published_date": "2025-06-15"
}
},
{
"url": "https://example.com/another-article",
"title": "The State of Quantum Computing",
"content": "Full extracted page content...",
"metadata": {}
}
],
"total_results": 5
}/auth/stats/usageGet your current usage statistics and limits.
curl "https://api.inferaweb.com/auth/stats/usage" \
-H "Authorization: Bearer YOUR_TOKEN"{
"search_count": 150,
"search_limit": 1000,
"tool_count": 500,
"tool_limit": 5000,
"period": "monthly"
}