Search

Run a prompt across the AI models and get each model’s answer plus the sources it cited.

Overview

/v1/search is the primitive the rest of the API is built on. Pass a query and get back the full prose answer from each model, ChatGPT, Claude, Perplexity, and Gemini, with the sources each one cited, in one JSON response.

Omit models to query all four; pass it to narrow to the ones you need (you only pay for the models you query, see Per-model pricing).

Reference

POST/v1/search

$0.08/model · billed per model queried, so all 5 models = $0.40. Pass models to query fewer.

Parameters

queryrequiredstringThe query to run against the AI models.
modelsoptionalarray of enum (chatgpt | claude | perplexity | gemini | google_ai_overview)Models to query. Defaults to all (chatgpt, claude, perplexity, gemini, google_ai_overview).

Request

curl https://api.cite42.dev/v1/search \
  -X POST \
  -H "Authorization: Bearer $CITE42_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "query": "best AI blog tool 2026" }'

Response

{
  "query": "best AI blog tool 2026",
  "results": [
    {
      "model": "chatgpt",
      "ok": true,
      "answer": "Several tools stand out in 2026 …",
      "citations": [{ "url": "https://example.com/post", "title": "…" }],
      "latencyMs": 4120
    }
    // …one entry per model queried
  ],
  "requestId": "…",
  "billing": { "cost": { "usd": "0.32" }, "balance": { "usd": "14.68" } }
}
Search - Cite42 Docs | Cite42