Free auditStart free
GuideClaude · Citations

Claude citations

How Claude citations work in the API: document citations, web search citations, the fields returned, token costs and limits. Plus what they mean for publishers.

3 min
read
2
sources
Oct 22, 2026
updated
Scaplet Editorial Team
author
In one line

Claude produces citations in two documented ways. With the Citations feature, you pass documents with citations enabled and Claude returns the supporting passages, with page, character or block locations. With the web search tool, citations are always enabled and point to source URLs. Neither is a ranking system: they show where a claim came from.

30-second check

Where does your site stand?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?
Summarize this page withChatGPTClaudePerplexityGoogleAI Mode

At a glance

5 facts from the sources below
All active models, per Anthropic docs
Citations feature models
Plain text, PDF, custom content
Document types
Always enabled
Web search citations
$10 USD per 1,000 searches plus token costs
Web search price
Citations and structured outputs cannot be combined
Limit
01Citation types in the Claude API

Two kinds of Claude citations

Anthropic's developer docs describe two separate citation mechanisms. They share a response shape but come from different inputs, so identify which one you are looking at before you draw conclusions.

Input

Document citations
Documents you send with citations.enabled=true
Web search citations
Results the web search tool retrieves

Cites

Document citations
Passages in your documents
Web search citations
URLs of web pages

Location type

Document citations
char_location, page_location, content_block_location
Web search citations
web_search_result_location

Enabled by

Document citations
You, per document
Web search citations
Always on for web search

Cited text

Document citations
Provided; not counted toward output tokens
Web search citations
Up to 150 characters

How Claude's own search products handle sources is covered on Claude SEO and the access checks on how to get cited by Claude.

02How it works

The Citations feature for your own documents

Anthropic says "All active models support citations" and that the feature returns the exact passages that support each claim. You add a document block with "citations": {"enabled": true} and ask a question. The response then contains several text blocks, each with a claim and the citations that support it.
  1. 1

    Provide documents and enable citations

    Use plain text, PDF or custom content documents. Citations must be enabled on all or none of the documents in a request. Only text citations are supported; image citations are not.

  2. 2

    Documents are chunked

    Plain text and PDFs are chunked into sentences, which sets the smallest citable unit. Custom content documents are used as given, with no further chunking.

  3. 3

    Read the citations

    PDF citations carry a 1-indexed page range, plain text carries a 0-indexed character range, and custom content carries a 0-indexed block range. Document indices are 0-indexed across all document blocks in the request.

Request document block, per Anthropic's example
{
  "type": "document",
  "source": {
    "type": "text",
    "media_type": "text/plain",
    "data": "The grass is green. The sky is blue."
  },
  "title": "My Document",
  "context": "This is a trustworthy document.",
  "citations": {"enabled": true}
}

The optional title and context fields are passed to the model but not used toward cited content.

03Good to know

Web search citations

Anthropic's web search tool docs say "Citations are always enabled for web search," and each web_search_result_location includes a url, title, encrypted_index and cited_text, the last of which holds up to 150 characters of the cited content. The cited_text, title and url fields do not count toward input or output tokens.

Web search is billed at $10 USD per 1,000 searches, plus standard token costs. Developers can limit searches with max_uses, and restrict sources with allowed_domains or blocked_domains, but not both in one request.

04Worth knowing

Limits and gotchas

Structured outputs conflict

Enabling citations on a document or search_result block and also setting output_config.format returns a 400 error.

All or none

Citations must be enabled on every document in a request or on none.

Scanned PDFs are not citable

PDFs that are scans without extractable text cannot be cited, because image citations are not supported.

Caching

Citation blocks in responses cannot be cached directly, but the source documents can be.

Token costs

Enabling citations slightly increases input tokens because of system prompt additions and chunking.

05Explained

What this means if you publish content

Document citations only cite what a developer supplies, so they say nothing about your public pages. Web search citations point to URLs the tool retrieved. A citation shows where text came from, not that a page "won" a ranking.

The useful check is practical: run the question you want to be cited for in Claude with web search on, save the cited URLs, and compare with your own page. Pair it with the bot access checks in Claude-SearchBot.

Questions

Asked a lot.

4 questions people ask next, answered from the sources on this page.

01What are Claude citations?

Citations are references Claude attaches to claims. With the Citations feature they point to passages in documents you provide; with web search they point to source URLs.

02Does Claude cite web sources?

Anthropic's web search tool docs say citations are always enabled for web search, and each citation carries a URL, title and up to 150 characters of cited text.

03Can I use citations with structured outputs?

No. Anthropic says enabling citations on a document or search result block with output_config.format returns a 400 error.

04Do cited passages cost output tokens?

Anthropic says the cited_text field in the Citations feature does not count toward output tokens.

Sources · 2

Every fact, linked and dated.

Official docs first. The date is when we last opened each page.
  • claude.com
  1. 01Citations (Claude Platform Docs)platform.claude.com · checked 2026-10-25
  2. 02Web search tool (Claude Platform Docs)platform.claude.com · checked 2026-10-25
Free · 2 minutes

Tools point. Agencies advise. This one ships.

Run the free audit, then approve the fixes. Every change can be undone.

Free, no card60 secondsNobody will call you
  • 46 fixes shipped without a ticket Brightpipe
  • 0→7 ChatGPT citations in six weeks Paylane