# ChatGPT API with citations: the official API vs ChatGPT website answers

“ChatGPT API with citations” can mean two things. The OpenAI API lets you run a model with web search and get citations back. That is not the answer people see on the ChatGPT website, which is what you need to know whether ChatGPT mentions or cites you. This guide shows both, and how to collect the second.

## Two different things

The left column quotes OpenAI's web search guide; the right column is what AskCrawl returns for ChatGPT web. They are different surfaces, so their answers and sources can differ, and we never mix them.

|   | OpenAI API with web search | ChatGPT web answers via AskCrawl |
| --- | --- | --- |
| What runs | Your own call to a model with the web search tool, `{ "type": "web_search" }` in the Responses API | The answer shown on the ChatGPT website, captured signed out and returned as JSON |
| Citations | `url_citation` annotations that “contain the URL, title and location of the cited source” | `citations` with URL, domain, title and snippet (seen in 5 of 5 test runs) |
| Used vs found | Inline citations, plus a full list with `include: ["web_search_call.action.sources"]`; OpenAI notes “the number of sources is often greater than the number of citations” | Each source marked `cited: true` (used in the answer) or `false` (only found) |
| Searches it ran | Not covered in this comparison | `search_queries` (seen in 5 of 5 test runs) |
| Products and entities | Not covered in this comparison | `products` (4 of 5 test runs), `entities` (5 of 5 test runs) |
| Capture conditions | Your request settings | Surface, login state, requested and actual country recorded on every answer |
| Price | OpenAI's model and tool pricing | $0.0018 per answer |

OpenAI column: [developers.openai.com/api/docs/guides/tools-web-search](https://developers.openai.com/api/docs/guides/tools-web-search), checked 2026-12-02.

## A real website answer with its sources

One real capture of “Which running shoes are best for flat feet?” from the ChatGPT web website. It listed 12 sources: **4 used in the answer** and 8 only found. Counting only the used ones is how a citation rate avoids inflating your numbers.

- Public sample
- 2026-11-29
- 1 run
- Signed out

| # | Domain | Title | Use |
| --- | --- | --- | --- |
| 1 | runnersworld.com | The 9 Best Running Shoes for Flat Feet in 2026 | Used |
| 2 | runrepeat.com | 7 Best Running Shoes For Flat Feet in 2026 | Used |
| 3 | fleetfeet.com | Best Running Shoes for Flat Feet 2026 | Used |
| 4 | rtings.com | The 5 Best Running Shoes For Flat Feet of 2026 | Used |
| 5 | rtings.com | The 5 Best Stability Running Shoes of 2026 - RTINGS.com | Found only |
| 6 | runnersworld.com | The 9 Best Running Shoes for Flat Feet in 2026 - Shoes for Flat-Footed Runners | Found only |
| 7 | runnersworld.com | The 9 Best Stability Running Shoes of 2026 - Shoes for Overpronation | Found only |
| 8 | runnersworld.com | The 9 Best Stability Running Shoes of 2026 - Shoes for Overpronation | Found only |
| 9 | michiganfootdoctors.com | Best Running Shoes for Flat Feet 2026 \| DPM-Tested | Found only |
| 10 | mediahacker.org | 12 Best Running Shoes for Flat Feet 2026 (Podiatrist Picks) | Found only |
| 11 | doctorsofrunning.com | My Favorite Stability Shoes of 2026 for Flat Feet - Doctors of Running | Found only |
| 12 | flatfeetguide.com | 7 Best Running Shoes for Flat Feet (Oct 2026) | Found only |

## Collect ChatGPT website answers with sources

Ask the same prompt several times: the sources change between runs. Quote first (free), then submit with a price cap.

```
# 1. Quote: free, creates nothing
curl https://api.askcrawl.com/v1/answers/quote \
  -H "Authorization: Bearer $ASKCRAWL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompts": ["Which running shoes are best for flat feet?"],
    "engines": ["chatgpt.web"],
    "samples": 3
  }'

# 2. Submit: charged. At most $0.0054; refused if it could cost more than X-Max-Price
curl https://api.askcrawl.com/v1/answers \
  -H "Authorization: Bearer $ASKCRAWL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "X-Max-Price: 0.01" \
  -d '{
    "prompts": ["Which running shoes are best for flat feet?"],
    "engines": ["chatgpt.web"],
    "samples": 3
  }'

# 3. Check progress and read answers (free). Replace JOB_ID with the id returned above
curl https://api.askcrawl.com/v1/jobs/JOB_ID -H "Authorization: Bearer $ASKCRAWL_API_KEY"
curl "https://api.askcrawl.com/v1/answers?job_id=JOB_ID" -H "Authorization: Bearer $ASKCRAWL_API_KEY"
```

```
# pip install "git+https://github.com/askcrawlhq/askcrawl-python"
# export ASKCRAWL_API_KEY="your key"
from askcrawl import AskCrawl

client = AskCrawl()
prompts = ["Which running shoes are best for flat feet?"]
engines = ["chatgpt.web"]

quote = client.quote(prompts, engines, samples=3)  # free
job = client.ask(prompts, engines, samples=3, max_price=quote["max_charge"])  # charged
job = client.wait(job["id"])

for answer in client.answers(job["id"]):
    if answer["status"] != "answered":
        print(answer["status"])  # no_answer and refused are charged; failed is not
        continue
    print(answer["sample"]["index"], answer["search_queries"])
    for source in answer["citations"] or []:
        use = {True: "used", False: "found only"}.get(source["cited"], "unknown")
        print("  ", use, source["domain"], source["title"])
```

## Desktop or mobile

The basic tier ($0.0018) is the default. The full tier ($0.00225) uses the mobile website; report it separately from the basic tier. For the same prompt, the full-tier sample listed 12 sources and used 4. Add `"tier": "full"` to the request to use it.

## Which one to use

- Building your own assistant on OpenAI models: use the OpenAI API and its citations.
- Measuring whether ChatGPT users see your brand or your pages: collect the website answers, repeat each prompt, and report rates per surface.
- Comparing the two: keep them as separate series and never average them into one number.

Up

[All guides](https://www.askcrawl.com/guides/)

Related

[Track brand mentions in ChatGPT](https://www.askcrawl.com/guides/track-brand-mentions-in-chatgpt/)

[Perplexity API vs website sources](https://www.askcrawl.com/guides/perplexity-api-sources/)

Basis

[ChatGPT web: fields and limits](https://www.askcrawl.com/engines/chatgpt-web/)

[Citation data](https://www.askcrawl.com/data/citations/)

[Surfaces in the docs](https://www.askcrawl.com/docs/surfaces/)

Next

[Find the sites AI cites](https://www.askcrawl.com/use-cases/ai-citations/)

[Quickstart](https://www.askcrawl.com/docs/quickstart/)

> Page: https://www.askcrawl.com/guides/chatgpt-api-with-citations/ · Content date: 2026-12-02
