Stripe

docs.stripe.com
Score: 85 out of 100, grade B85
Grade B
Last checked: June 6, 2026 · afdocs v0.18.7 · Rerun
Share on
Simulation: Fern // bud
Day 0
CategoryPayments
Checks passed12/23Warnings4Failed6

Stripe scores 85/100 (Grade B), passing 12 of 23 checks (52%). The documentation is broadly accessible to AI agents but has 10 areas that could be improved to better serve automated tooling.

# Agent Score Fix Report — Stripe
URL: https://docs.stripe.com
Score: 85/100 (Grade B)

I need help improving the AI-readiness of the documentation at https://docs.stripe.com.
Agent Score found 6 failing checks and 4 warnings.

## Failing Checks (6)
- [content-discoverability] Llms Txt Directive Md: No llms.txt directive found in markdown of any of 10 sampled pages
- [page-size] Page Size Markdown: 1 of 10 pages exceed 100K chars (max 197K)
- [page-size] Content Start Position: 1 of 10 sampled pages have content starting past 50% (worst 56%)
- [observability] Llms Txt Coverage: llms.txt covers 469/4073 sitemap doc pages (12%); 3604 missing; 12 llms.txt links not in sitemap (may indicate stale links or incomplete sitemap)
- [observability] Markdown Content Parity: 2 of 10 pages have substantive content differences between markdown and HTML (avg 17% missing)
- [observability] Cache Header Hygiene: 12 of 12 endpoints have aggressive caching or missing cache headers

## Warnings (4)
- [content-discoverability] Llms Txt Valid: llms.txt contains parseable links but doesn't fully follow the proposed structure: https://docs.stripe.com/llms.txt: No blockquote summary found
- [content-discoverability] Llms Txt Size: llms.txt is 93,183 characters (between 50,000 and 100,000; consider splitting)
- [content-discoverability] Llms Txt Directive Html: llms.txt directive found in HTML of 10 of 10 sampled pages, but buried deep in the page (past 50%)
- [markdown-availability] Content Negotiation: Content negotiation partially supported: 0 correct type, 10 wrong type, 0 HTML only

## Fix Instructions

For each issue above, please:
1. Analyze the documentation site at https://docs.stripe.com
2. Implement the specific fix
3. Verify the fix would cause the check to pass

### Common fixes:
- **No llms.txt**: Create /llms.txt following https://llmstxt.org — list all doc pages in markdown format
- **No .md URL support**: Configure your docs platform to serve pages at equivalent .md URLs (e.g. /docs/quickstart.md)
- **No content negotiation**: Return markdown when request includes Accept: text/markdown header
- **Large page size**: Reduce nav boilerplate, inline scripts, and repetitive markup
- **No sitemap**: Generate /sitemap.xml listing all documentation URLs
- **Auth walls**: Ensure docs pages return 200 without requiring login cookies or tokens
- **No Last-Modified header**: Configure your server/CDN to include Last-Modified response headers
- **Tab content hidden**: Ensure tabbed content is rendered in the HTML (not JS-only) so agents can read all variants

## Run afdocs Locally for More Detail

To get deeper visibility into what's failing, run afdocs against your docs:

  npx afdocs check https://docs.stripe.com --fixes --verbose

- **--fixes**: Adds "Fix:" lines to the output for each warn/fail check with actionable remediation steps
- **-v, --verbose**: Shows per-page details (specific URLs, character counts, error codes) for checks with issues — useful for per-URL visibility into what's failing
CHECK RESULTS

How your docs scored

llms-txt-coveragellms.txt covers 469/4073 sitemap doc pages (12%); 3604 missing; 12 llms.txt links not in sitemap (may indicate stale links or incomplete sitemap)Learn more
markdown-content-parity2 of 10 pages have substantive content differences between markdown and HTML (avg 17% missing)Learn more
cache-header-hygiene12 of 12 endpoints have aggressive caching or missing cache headersLearn more
page-size-markdown1 of 10 pages exceed 100K chars (max 197K)Learn more
content-start-position1 of 10 sampled pages have content starting past 50% (worst 56%)Learn more
rendering-strategyAll 10 sampled pages contain server-rendered contentLearn more
page-size-htmlAll 10 sampled pages under 50K chars (median 456K HTML → 10K markdown (98% boilerplate))Learn more
auth-gate-detectionAll 10 sampled pages are publicly accessibleLearn more
auth-alternative-accessAll docs pages are publicly accessible; no alternative access paths neededLearn more
llms-txt-directive-mdNo llms.txt directive found in markdown of any of 10 sampled pagesLearn more
llms-txt-validllms.txt contains parseable links but doesn't fully follow the proposed structure: https://docs.stripe.com/llms.txt: No blockquote summary foundLearn more
llms-txt-sizellms.txt is 93,183 characters (between 50,000 and 100,000; consider splitting)Learn more
llms-txt-directive-htmlllms.txt directive found in HTML of 10 of 10 sampled pages, but buried deep in the page (past 50%)Learn more
llms-txt-existsllms.txt found at 2 locations; using https://docs.stripe.com/llms.txt as canonicalLearn more
llms-txt-links-resolveAll 10 same-origin sampled links resolve (491 total links)Learn more
llms-txt-links-markdown10/10 same-origin sampled links point to markdown content (100%) (8 external links excluded)Learn more
content-negotiationContent negotiation partially supported: 0 correct type, 10 wrong type, 0 HTML onlyLearn more
markdown-url-support10/10 sampled pages support .md URLs (100%)Learn more
tabbed-content-serialization1 tab group(s) across 1 of 10 sampled pages; all serialize under 50K charsLearn more
section-header-quality1 page(s) with tab headers checked; headers include variant contextLearn more
markdown-code-fence-validityAll 7 code fences properly closed across 12 pagesLearn more
http-status-codesAll 10 sampled pages return proper error codes for bad URLsLearn more
redirect-behaviorNo redirects detected across 10 sampled pagesLearn more

Built by Fern

Fern-powered docs are agent-ready by default.

Trusted by