Skip to main content
The Andi AI Search API has three endpoints: search, fetch, and news.

Base URL

Authentication

Pass your API key in the x-api-key header with every request:
Get an API key from the API Console.

Endpoints

The search endpoint sets the right search effort per query automatically (searchMode=auto, the default), with fixed search modes (low-cost, fast, balanced, deep, exhaustive) for manual control, or an effort parameter (low, medium, high, max) that pins the same tiers by generic name. It supports multiple output formats and filtering by domain, date, content type, and more. Browse the Endpoints section in the sidebar to try the endpoints in the interactive playground.

Pricing

Every JSON response includes metrics.cost_dollars — the amount charged to your account for that request in USD, after any discounts. Search: Priced on outcome — the charge reflects the actual work each search performed, so simpler queries cost less. With the default auto mode, the price follows the effort Andi chose for the query; a pinned mode makes cost more uniform call to call. Fetch: Flat 0.001baseperrequest,plus0.001 base per request, plus 0.05 per 1M tokens of extracted content. Failed fetches (422 and 503 responses) are free. News: Billed like a search request — a per-token rate on the returned feed, no flat per-call fee. Cache hits bill the token rate only.

Next steps

Quickstart

Make your first API call.

Search modes

Automatic effort by default, manual control when you want it.

Query parameters

Full parameter reference.

Content retrieval

Fetch endpoint reference.

News feeds

News endpoint reference.