Documentation Index
Fetch the complete documentation index at: https://docs.octen.ai/llms.txt
Use this file to discover all available pages before exploring further.
Get Your API Key
Head to the Octen API Platform to create an account. Then copy your API key from the console.
A payment method is required to use the API.
Make Your First Search Request
Octen provides a simple REST API for web search. No SDK installation required - you can start searching immediately with HTTP requests.
Using cURL
curl --request POST \
--url https://api.octen.ai/search \
--header 'Content-Type: application/json' \
--header 'x-api-key: YOUR_API_KEY' \
--data '{
"query": "latest AI developments",
"count": 5
}'
Using Python
import requests
url = "https://api.octen.ai/search"
headers = {
"Content-Type": "application/json",
"x-api-key": "YOUR_API_KEY"
}
payload = {
"query": "latest AI developments",
"count": 5
}
response = requests.post(url, json=payload, headers=headers)
data = response.json()
print(data)
Response Example
{
"code": 0,
"msg": "success",
"data": {
"query": "latest AI developments",
"results": [
{
"title": "Latest AI Breakthroughs in 2026",
"url": "https://example.com/ai-news",
"highlight": "Recent developments in artificial intelligence...",
"authors": "example",
"time_published": "2024-10-15T00:00:00Z",
"time_last_crawled": "2026-01-20T02:12:34Z"
}
// ... more results
]
}
}
Next Steps
API Reference
View all API parameters and options
Examples
Explore more use cases
Support
Get help from our team
API Platform
Manage your API keys