OpenAI Responses API

ChatGPT AI Ranking from $5.56/1K

The cheapest ChatGPT citation tracking API. Monitor how ChatGPT cites your brand when answering search queries. Get structured citation data including URLs, titles, cited text excerpts, and token usage -- all via a single API call. 100 free searches included.

Try Now API Documentation

ChatGPT web search, structured for developers

Under the hood, Serpent sends your query to OpenAI's Responses API with the web_search_preview tool enabled. ChatGPT performs a live Bing web search, reads the results, and generates a grounded response with inline citations. Serpent extracts and normalizes every citation into clean JSON.

1
Your Query
Send a keyword or question to the Serpent API endpoint
2
ChatGPT + Web Search
GPT-4o searches the web via Bing and generates a cited response
3
Structured JSON
Receive normalized citations, response text, and visibility score

Everything you need from each ChatGPT query

Citation URLs

Every source URL that ChatGPT referenced in its response, in the order they were cited.

Page Titles

The title of each cited page as displayed by ChatGPT, useful for identifying which content earns citations.

Cited Text Excerpts

The exact text that ChatGPT extracted and cited from each source, showing what content the model found relevant.

Full Response Text

The complete ChatGPT response with all inline citations preserved, ready for analysis or display.

Token Usage

Detailed token breakdown: input tokens, output tokens, and total tokens consumed for each request.

Visibility Score

A 0-100 score showing how prominently your target domain was cited relative to other sources in the response.

$5.56
per 1,000 ChatGPT citation requests (Scale tier)
$10.00/1K
Default tier
$7.78/1K
Growth tier
$5.56/1K
Scale tier
100 free
Trial searches

Start tracking ChatGPT citations in seconds

cURL - ChatGPT Citation Query
curl "https://apiserpent.com/api/ai/rank/chatgpt?q=best+crm+software+for+startups" \
  -H "X-API-Key: YOUR_API_KEY"

# Response
{
  "engine": "chatgpt",
  "model": "gpt-4o",
  "query": "best crm software for startups",
  "response_text": "Based on my research, here are the top CRM options...",
  "citations": [
    {
      "position": 1,
      "url": "https://example.com/best-crms",
      "title": "10 Best CRM Software for Startups in 2026",
      "cited_text": "HubSpot CRM offers a free tier that includes..."
    },
    {
      "position": 2,
      "url": "https://another-site.com/crm-guide",
      "title": "Startup CRM Buyer's Guide",
      "cited_text": "For teams under 10 people, Pipedrive provides..."
    }
  ],
  "token_usage": {
    "input_tokens": 1247,
    "output_tokens": 892,
    "total_tokens": 2139
  },
  "visibility_score": null,
  "cost": 0.005
}

Pass a domain parameter to calculate the visibility score for a specific target.

With Domain Filtering
curl "https://apiserpent.com/api/ai/rank/chatgpt?q=best+crm+software&domain=hubspot.com" \
  -H "X-API-Key: YOUR_API_KEY"

# visibility_score will be calculated for hubspot.com

Frequently asked questions

How does the ChatGPT citation tracking API work?

The API sends your query to OpenAI's Responses API with the web_search_preview tool enabled. ChatGPT performs a live web search, generates a response with inline citations, and Serpent extracts and normalizes all citation data into a structured JSON format.

What data does the ChatGPT API return?

Each response includes: an array of citations with URL, title, and cited text excerpt; the full ChatGPT response text; token usage breakdown (input, output, total); model version used; and a visibility score if a target domain was specified.

Which OpenAI model is used for citation tracking?

The API uses OpenAI's GPT-4o model with the web_search_preview tool. This is the latest model with web browsing capabilities, providing the most accurate and up-to-date citations.

How much does ChatGPT citation tracking cost?

ChatGPT citation tracking starts at $5.56 per 1,000 requests on the Scale tier. Default pricing is $10.00/1K, Growth tier is $7.78/1K, and Scale tier is $5.56/1K. This includes the upstream OpenAI API costs for the GPT-4o model with web search. All new accounts get 100 free searches to test the endpoint.

Can I use this to monitor competitor mentions in ChatGPT?

Yes. You can query any keyword and check if competitor domains appear in ChatGPT's citations. Compare citation counts, positions, and cited text across brands to build competitive intelligence reports for AI-driven search.

Track your ChatGPT visibility now

Sign up for free and start monitoring how ChatGPT cites your brand. 100 free searches included.

Related pages