What is the AI Search API?

The AI Search API is a single endpoint for querying the major consumer AI search engines and getting back the answer users actually see — plus the structured evidence behind it — as clean JSON. Every capture comes from a real browser driving the live AI apps, not the sanitized model API. So you get what a real person would read: the rendered answer, the sources it cited, the follow-up queries it ran, the brands it named, and which model produced it.

The answer users see

The actual rendered response — as text and markdown — from the live app, not a model endpoint.

The evidence behind it

Cited sources with character ranges, follow-up queries, brand mentions, shopping, and ads.

Base URL and auth

https://api.aisearchapi.dev
Every request needs a bearer token and JSON content type:
Authorization: Bearer $AISEARCH_API_KEY
Content-Type: application/json
New accounts start with 500 free credits, no card required. See Authentication to get your key.

One call, every surface

Send one request naming the surfaces you want. The API fans out — running each surface (and region) in parallel — and hands you the same Envelope shape for every one. Integrate the shape once, and every AI search engine looks the same to your code.
curl https://api.aisearchapi.dev/v1/search \
  -H "Authorization: Bearer $AISEARCH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "best crm for startups",
    "surfaces": ["chatgpt", "perplexity", "claude"]
  }'
That returns a 202 with a parent job and one child per surface × region:
{
  "jobId": "job_8t2q",
  "status": "processing",
  "children": ["job_8t2q.chatgpt.us", "job_8t2q.perplexity.us", "job_8t2q.claude.us"]
}
Read each child to get its Envelope, or register a webhook and skip polling entirely. Want a single surface inline? Add ?mode=sync for a 200 with the result in the response.

Why use it

Every AI search engine has a different UI, a different structure, and no clean way to read it programmatically. Building that yourself means N brittle integrations that break every time an app ships a redesign. The AI Search API collapses that into one contract: one request, one response shape, every surface. You skip the per-provider integrations and the maintenance that comes with them, and get straight to the answers and evidence.

Supported surfaces

SurfaceEnum valueCredits
ChatGPTchatgpt5
Claudeclaude6
Perplexityperplexity3
Geminigemini4
Copilotcopilot5
Google AI Overviewgoogle_ai_overview5
Google AI Modegoogle_ai_mode4
Credits are charged only on a successful capture — an empty or failed capture costs nothing.
On the roadmap, not yet requestable: Meta AI, DeepSeek, Amazon Rufus, and Grok.

Next steps

Quickstart

Your first search in a few minutes — from key to Envelope.

Authentication

Get an API key and send authenticated requests.

The Envelope

The canonical response shape: answer, evidence, and provenance.

API Reference

Every endpoint, parameter, and field.