Skip to main content

AI Answers API

AI Answers API

Run one prompt across every major AI model and get their answers plus cited sources.

Track visibility across

  • ChatGPT
  • Claude
  • Gemini
  • Grok
  • Perplexity
  • Google
run.sh
POST https://api.trackee.dev/v1/prompts/run
{ "prompt": "best crm software", "engines": ["chatgpt", "perplexity"] }
Mentions
Across AI answers

126

+18% this week

Share of voice
Against competitors

34%

+4.2 points

Citations
Pages used as sources

48

12 new sources

POST /v1/prompts/run

One request. Structured response.

Clean, predictable JSON that is easy to parse and build on. 3 credits per engine.

POSTRequest
curl -X POST https://api.trackee.dev/v1/prompts/run \
  -H "x-access-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "What are the best CRM software tools?",
    "engines": ["chatgpt", "perplexity"]
  }'
JSONResponse
{
  "success": true,
  "credits": { "charged": 6, "remaining": 4994 },
  "data": {
    "prompt": "What are the best CRM software tools?",
    "results": [
      {
        "engine": "chatgpt",
        "model": "gpt-4o-mini",
        "answer": "There are several excellent CRM tools...",
        "sources": []
      },
      {
        "engine": "perplexity",
        "model": "sonar",
        "answer": "The best CRM software tools include...",
        "sources": ["https://www.salesforce.com/crm/best-crm/"]
      }
    ]
  }
}

Live in three steps

From access key to your first call in minutes.

01

Get your access key

Create a free account and copy your access key from the dashboard.

02

Call POST /v1/prompts/run

Send one request with the x-access-key header. No SDK required.

03

Build on clean JSON

Parse the typed response and ship it into your product, dashboard, or agent.

Ask every AI model at once

Skip four different LLM integrations. Send one prompt, choose your engines, and get structured answers back.

Every model, one call

Send a prompt once and get the answer from ChatGPT, Claude, Gemini, and Perplexity side by side, without a separate SDK for each.

Cited sources

Turn on web search and each answer comes back with the source URLs the model used, so you can see what is shaping the response.

Compare and ground

Diff how the models answer the same question, or use the answers to ground your own product, research, or AEO work.

Clean, typed responses

Each result is the same shape: engine, model, answer, and sources, so it is easy to parse and store.

SDKs and tools

One API. Every way to build.

Start with Node.js over REST, or hand the query to an agent. The same visibility contract sits underneath.

01

REST API

API docs

One predictable contract for visibility checks, normalized results, and organization-scoped access.

02

SDK

Coming soon

Official TypeScript and Python clients are on the way.

03

AI agents

AI docs

Let Claude, Codex, Cursor, or your own agent query Trackee through MCP and agent-ready tools.

04

Dashboard

Open app

Use the same underlying data in a visual workspace for teams that prefer to inspect and compare results.

visibility.js
const response = await fetch(
  "https://api.trackee.dev/v1/track",
  {
    method: "POST",
    headers: {
      "x-access-key": process.env.TRACKEE_ACCESS_KEY,
      "Content-Type": "application/json",
    },
    body: JSON.stringify({
      brand: "Acme",
      prompt: "best project management software",
      engines: ["chatgpt", "claude", "google"],
    }),
  },
);

const visibility = await response.json();
One request · every configured engine

Frequently asked questions

Which models can I query?

ChatGPT, Claude, Gemini, and Perplexity. You choose which engines to run per request and are charged 3 credits per engine.

How do I get cited sources?

Set web_search to true. Engines that browse the web then return the source URLs they used in the sources array. Perplexity returns sources by default.

How is this different from the AI Visibility API?

Visibility runs a prompt and checks whether a specific brand is mentioned. AI Answers returns the raw answers and sources, with no brand matching, so you can build on them however you want.

See every field and status code in the API reference.

Start building with the AI Answers API

Create a free account, grab an access key, and make your first call in minutes.
Start Tracking for Free

No credit card required.