For AI agents: docs.octen.ai/integrations/python-sdk.md
Get API Key
Get your API key from the API Platform
PyPI
Download and view the SDK on PyPI
Install
Quick Start
Broad Search
Decompose a query into sub-queries, search them concurrently, and get results grouped per sub-query. Best for comparisons, surveys, and multi-angle questions.Web Search
Search the live web and get ranked results with model-ready highlights and optional full content. Best for search bars, answer engines, and news lookup.News Search
Search live news and get ranked articles, with related coverage grouped into storylines. Best for breaking news, media monitoring, and story tracking.Business Search
Get the companies and people behind a query as entity cards, alongside ranked sources. Best for company due diligence, people lookup, and competitor comparison.Place Search
Find places around a point or in a named area as cards with address, coordinates, phone, opening hours, and rating. Best for nearby recommendations, local lookup, and opening hours.Pulse Search
Predict the URL a query points to. Best for docs, help pages, and official sites.Image Search
Search images by a text query or a reference image. Best for image lookup and visual references.Video Search
In beta — contact us for beta access. Search the web for videos by text query. Best for video lookup, clip discovery, and media previews.Extract
Fetch 1-20 URLs in one call and return clean markdown or text. Best for reading pages, cleaning articles, and knowledge ingestion.Auto Search
Send messages to leading LLMs through one API, with optional web search via anOctenSearchTool in tools. Best for Q&A, chat assistants, and grounded answers.
Embedding
Create text embeddings with models of different sizes. Best for semantic search, RAG, and recommendations.VL Embedding
Create multimodal embeddings from text, images, and videos. Best for cross-modal search and visual retrieval.Async
UseAsyncOcten for async operations. Every resource mirrors the sync client.
Error Handling
Last modified on November 6, 2026