Skip to main content
Power your products with unparalleled real-time, web-wide research and Q&A capabilities.

Available APIs

Agent APIAgent API

Access third-party models with web search tools and presets.

Search APISearch API

Get raw, ranked web search results with advanced filtering and real-time data.

Embeddings APIEmbeddings API

Generate high-quality embeddings for semantic search and RAG pipelines.

When to Use Which API

  • Agent API — Best for complex workflows requiring tool use, structured outputs, and third-party model support.
  • Search API — Best for simple search-augmented queries with grounded answers and citations.
  • Sonar API — Best for direct web-search-powered LLM responses with built-in search capabilities. Use when you want the simplest integration for search + answer in one call.
  • Embeddings API — Best for semantic search, RAG pipelines, and document similarity.