AI Search

POST /v1/search

Run one prompt across OpenAI, Claude, Perplexity, Gemini and Google AI Overviews and get each model’s answer plus the sources it cited, as JSON.

Pass a query to get each model’s answer and cited sources.

Omit models for three default surfaces, set fullSweep for the five standard ones, or select models to pay for fewer. A sixth surface, chatgpt_app, is ChatGPT itself captured from its web interface: opt-in and never part of a sweep, so list all six in models to query every surface. It answers more slowly than the others; if it does not answer in time, its result is empty and not charged, and trackers wait longer for it.

Add country (for example "gb") to measure from one country on this and every other AI-model endpoint. OpenAI, Claude and Perplexity search with it as an approximate location, and Google AI Overviews are read from Google in that country and its main language, or in language. Gemini’s API has no country setting, so it runs without one. Each surface’s measurement entry says what it actually used. Without country, the other surfaces search with no location and AI Overviews read the United States in English.

What to provide

Provide one question. Optionally name the AI surfaces to query. The defaults are OpenAI, Perplexity and Gemini; a full sweep adds Claude and Google AI Overviews.

What you get back

  • An answer for each selected surface, with its success or failure status.
  • Cited source URLs and available source titles, grouped by answer.
  • Measurement details describing the provider, access method and completeness.

Reading the results

These are measurements through the documented provider surfaces. Read the measurement details before comparing them with a personal chat session. One response is not a visibility trend.

Example request

Send this request with your API key in CITE42_API_KEY. Adjust the JSON inputs for your question and market.

curl https://www.cite42.dev/api/v1/search \
  -X POST \
  -H "Authorization: Bearer $CITE42_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "query": "best startup CRM",
  "models": [
    "chatgpt"
  ]
}'

Parameters

querystringrequired
The query to run against the AI models.
modelsenum[]optional
AI surfaces to query, each billed separately; pass a subset when the user names surfaces or wants a lower cost. Omit for the defaults (chatgpt = the OpenAI API, perplexity, gemini); fullSweep queries all five. google_ai_overview accepts queries up to 700 characters, the others 2000. chatgpt_app (ChatGPT itself, captured from its web interface) is opt-in and not in fullSweep; for every surface, list all six. It answers more slowly; if it does not answer in time, it has no result and is not charged.
Values:chatgptclaudeperplexitygeminigoogle_ai_overviewchatgpt_app
fullSweepbooleanoptional
Query the five standard AI surfaces (adds claude and google_ai_overview) at a higher cost. It leaves out chatgpt_app, so list all six in models for every surface. Ignored when models is given.
countrystringoptional
Optional ISO-2 country to measure from, e.g. "gb". Omit for each surface's default. Gemini has no country setting and ignores it.
languagestringoptional
Optional ISO-2 language for google_ai_overview and chatgpt_app, which read in it. Needs country; defaults to the country's main language.

Example response

Illustrative JSON. Data and model coverage vary by request; billing reflects the work that succeeded.

{
  "query": "best startup CRM",
  "results": [
    {
      "model": "chatgpt",
      "ok": true,
      "answer": "Acme CRM, Rival CRM, and Legacy CRM stand out for startup teams.",
      "citations": [
        {
          "url": "https://reviews.example/startup-crm",
          "title": "Startup CRM guide"
        }
      ],
      "latencyMs": 4120
    }
  ],
  "measurement": {
    "methodologyVersion": "2026-10-21-v1",
    "surfaces": [
      {
        "model": "chatgpt",
        "provider": "OpenAI",
        "access": "official-api",
        "webSearch": "auto",
        "status": "complete"
      }
    ]
  },
  "requestId": "…",
  "billing": {
    "cost": {
      "microCredits": 5000,
      "usd": "0.05"
    },
    "balance": {
      "microCredits": 1336000,
      "usd": "13.36"
    }
  }
}

Billing

$0.01 to $0.06 / model · billed per model queried, so all 5 models = $0.25. Pass models to query fewer.

About AI Search →