fastapi.tiangolo.com
Scored by v3 · source-of-truth hashes: score db860d6ac94e · thresholds e94f8b33e500 — verifiable against the canonical scorer.
The 28-day score is the p75 of nightly runs — the stable number to cite. Deterministic metrics (CRR/SSD/TC) show their latest value (they move only when the site changes); timing (TTFUT) and answer-fidelity (AF) are smoothed by 28-day p75 — the same lab-vs-field split Core Web Vitals uses. Synthetic daily measurement, not real-user field data.
An agent is likely to fabricate missing details rather than say “I don’t know”. 0/3 applicable facts come from machine-readable structured data.
Metrics
Token Cost breakdown
Where the page's tokens go (≈12,555 across regions). Most tokens are real content — the agent isn't paying much for chrome.
Final screenshot
Diagnostics
content vs chrome/boilerplate
Fix: Wrap the real content in <main>/<article>, cut repeated nav/boilerplate, and keep the primary content dense and early in the DOM.
Rendered profile: headless
Metrics
Token Cost breakdown
Where the page's tokens go (≈12,549 across regions). Most tokens are real content — the agent isn't paying much for chrome.
Final screenshot
Diagnostics
content vs chrome/boilerplate
Fix: Wrap the real content in <main>/<article>, cut repeated nav/boilerplate, and keep the primary content dense and early in the DOM.
Rendered profile: headless
Access & discovery checks — separate from the gated CAV metrics above. Click an issue for business impact, what we measured, and how to fix. · Take the Agent Readiness course →
Agent files & endpoints
Issues (5)
✗ llms.txt present high impact Absent at /llms.txt and /.well-known/llms.txt
Business impact llms.txt is the robots.txt for AI: it tells agents what your site is, what matters, and where to find it. Without it AI guesses — and guessing means inaccurate recommendations and lost visibility.
What we measured We fetch /llms.txt and /.well-known/llms.txt and validate the spec (H1 title + a one-line blockquote summary). We also note /llms-full.txt (your full content as Markdown).
How to fix Create /llms.txt with a short summary + key pages; optionally /llms-full.txt with full content in Markdown.
# Your Site
> One-line description for AI agents.
## Key pages
- /products — catalog
- /pricing — plans
- /docs — documentationSpec: https://llmstxt.org
✗ Structured data (JSON-LD) medium impact No JSON-LD found
Business impact Schema.org JSON-LD tells agents what a page IS (product, article, business) with typed fields (price, rating, hours). Without it agents extract less reliably.
What we measured We parse <script type=application/ld+json>, validate it, and check for populated @type fields.
How to fix Add JSON-LD: Organization/LocalBusiness on the homepage, Product on product pages, Article on posts.
<script type="application/ld+json">{"@context":"https://schema.org","@type":"Organization","name":"Your Co","url":"https://example.com"}</script>Spec: https://schema.org/
~ agents.json discovery low impact Absent (emerging standard)
Business impact agents.json describes what your site can DO for agents (services, endpoints, capabilities) — an emerging discovery standard. Early adopters get native agent integration.
What we measured We check /agents.json and /.well-known/agents.json for a valid configuration.
How to fix Publish /agents.json describing your site's capabilities and actions.
~ WebMCP endpoint low impact Absent (emerging standard)
Business impact WebMCP lets agents call actions on your site directly (book, buy, query) instead of scraping the DOM. Early adopters get native AI-agent interoperability.
What we measured We check /.well-known/webmcp and /webmcp.json for a valid actions array.
How to fix Add a WebMCP endpoint exposing your key actions to agents.
Spec: https://webmcp.org
~ API documentation low impact No OpenAPI/Swagger found
Business impact Programmatic agents prefer a typed API. An OpenAPI/Swagger spec lets them integrate without scraping.
What we measured We probe /openapi.json, /swagger.json, /api-docs and /.well-known/openapi.json.
How to fix Publish an OpenAPI spec at a well-known path.
Passed audits (6)
Transport & Trust (SEC 1.0.0)
HTTPS, HSTS, CSP, sniffing, referrer and CORS posture. Diagnostic only — this does not affect the CAV score. A security header does not make a page more legible to an agent, so scoring it would reward a CDN toggle that changes nothing an agent can recover. We measure it and say so.
Per-header findings (6)
| Header | Evidence |
|---|---|
| ✅ HTTPS | served over HTTPS |
| ❌ HSTS | no strict-transport-security header |
| ❌ Content-Security-Policy | no content-security-policy header |
| ✅ X-Content-Type-Options | nosniff |
| ✅ Referrer-Policy | strict-origin-when-cross-origin |
| ✅ CORS exposure | access-control-allow-origin: * |
How to improve
whole profile
Third-party impact
31 third-party requests · 2346 KiB (59% of transfer) · 741 ms main-thread — code an agent must also fetch/run before your content settles. Fewer, lazier third-parties = faster, cheaper agent reads.
| Third-party domain | Reqs | Transfer | Main-thread |
|---|---|---|---|
| gstatic.com | 12 | 1435 KiB | — |
| kapa.ai | 1 | 577 KiB | 733 ms |
| jsdelivr.net | 3 | 208 KiB | — |
| hcaptcha.com | 4 | 96 KiB | — |
| cloudflareinsights.com | 3 | 11 KiB | 8 ms |
| github.com | 3 | 10 KiB | — |
| googleapis.com | 2 | 5 KiB | — |
| shields.io | 2 | 2 KiB | — |
| workers.dev | 1 | 1 KiB | — |
Wasted JavaScript (by bundle)
Transfer-accurate — each bundle's transfer size × its unused %, ranked by wasted bytes (the biggest code-splitting wins). Unused JS also inflates Token Cost (TC).
| Bundle | Transfer | Unused | Wasted |
|---|---|---|---|
| https://widget.kapa.ai/kapa-widget.bundle.js 3P | 577 KiB | 34.2% | 197 KiB |
| https://js.hcaptcha.com/1/api.js?onload=hCaptchaOnLoad&render=explicit&recaptchacompat=off&uj=false 3P | 93 KiB | 37.1% | 34 KiB |
| https://fastapi.tiangolo.com/assets/javascripts/bundle.0df4f2d0.min.js | 54 KiB | 47.8% | 26 KiB |
| https://static.cloudflareinsights.com/beacon.min.js 3P | 11 KiB | 61.5% | 7 KiB |
| https://fastapi.tiangolo.com/js/termynal.js | 3 KiB | 40% | 1 KiB |
| https://fastapi.tiangolo.com/js/custom.js | 3 KiB | 28.6% | 1 KiB |
Network
Heaviest requests (30)
| URL | Type | Status | Transfer |
|---|---|---|---|
| https://widget.kapa.ai/kapa-widget.bundle.js | Script | 200 | 577 KiB |
| https://fastapi.tiangolo.com/search.json | XHR | 200 | 417 KiB |
| https://fonts.gstatic.com/s/notocoloremoji/v39/Yq6P-KqIXTD0t4D9z1ESnKM3-HpFabsE4tq3luCC7p-aXxcn.8.woff2 | Font | 200 | 405 KiB |
| https://fonts.gstatic.com/s/notocoloremoji/v39/Yq6P-KqIXTD0t4D9z1ESnKM3-HpFabsE4tq3luCC7p-aXxcn.7.woff2 | Font | 200 | 206 KiB |
| https://fastapi.tiangolo.com/img/fastapi-documentary.jpg | Image | 200 | 188 KiB |
| https://fonts.gstatic.com/s/notocoloremoji/v39/Yq6P-KqIXTD0t4D9z1ESnKM3-HpFabsE4tq3luCC7p-aXxcn.3.woff2 | Font | 200 | 161 KiB |
| https://fonts.gstatic.com/s/notocoloremoji/v39/Yq6P-KqIXTD0t4D9z1ESnKM3-HpFabsE4tq3luCC7p-aXxcn.9.woff2 | Font | 200 | 135 KiB |
| https://fonts.gstatic.com/s/notocoloremoji/v39/Yq6P-KqIXTD0t4D9z1ESnKM3-HpFabsE4tq3luCC7p-aXxcn.6.woff2 | Font | 200 | 120 KiB |
| https://fonts.gstatic.com/s/notocoloremoji/v39/Yq6P-KqIXTD0t4D9z1ESnKM3-HpFabsE4tq3luCC7p-aXxcn.5.woff2 | Font | 200 | 116 KiB |
| https://cdn.jsdelivr.net/npm/[email protected]/distr/woff2/FiraCode-Bold.woff2 | Font | 200 | 106 KiB |
| https://cdn.jsdelivr.net/npm/[email protected]/distr/woff2/FiraCode-Regular.woff2 | Font | 200 | 101 KiB |
| https://fonts.gstatic.com/s/notocoloremoji/v39/Yq6P-KqIXTD0t4D9z1ESnKM3-HpFabsE4tq3luCC7p-aXxcn.4.woff2 | Font | 200 | 97 KiB |
| https://js.hcaptcha.com/1/api.js?onload=hCaptchaOnLoad&render=explicit&recaptchacompat=off&uj=false | Script | 200 | 93 KiB |
| https://fastapi.tiangolo.com/img/index/index-06-redoc-02.png | Image | 200 | 77 KiB |
| https://fastapi.tiangolo.com/img/index/index-03-swagger-02.png | Image | 200 | 74 KiB |
| https://fastapi.tiangolo.com/img/index/index-01-swagger-ui-simple.png | Image | 200 | 73 KiB |
| https://fastapi.tiangolo.com/img/index/index-05-swagger-04.png | Image | 200 | 70 KiB |
| https://fastapi.tiangolo.com/img/index/index-02-redoc-simple.png | Image | 200 | 67 KiB |
| https://fastapi.tiangolo.com/img/index/index-04-swagger-03.png | Image | 200 | 66 KiB |
| https://fastapi.tiangolo.com/img/sponsors/databento.svg | Image | 200 | 65 KiB |
| https://fonts.gstatic.com/s/notocoloremoji/v39/Yq6P-KqIXTD0t4D9z1ESnKM3-HpFabsE4tq3luCC7p-aXxcn.2.woff2 | Font | 200 | 63 KiB |
| https://fastapi.tiangolo.com/img/vscode-completion.png | Image | 200 | 61 KiB |
| https://fastapi.tiangolo.com/assets/javascripts/bundle.0df4f2d0.min.js | Script | 200 | 54 KiB |
| https://fonts.gstatic.com/s/roboto/v51/KFO5CnqEu92Fr1Mu53ZEC9_Vu3r1gIhOszmkBnka.woff2 | Font | 200 | 46 KiB |
| https://fonts.gstatic.com/s/roboto/v51/KFO7CnqEu92Fr1ME7kSn66aGLdTylUAMa3yUBA.woff2 | Font | 200 | 43 KiB |
| https://fastapi.tiangolo.com/img/sponsors/permit.png | Image | 200 | 39 KiB |
| https://fastapi.tiangolo.com/img/sponsors/propelauth.png | Image | 200 | 28 KiB |
| https://fastapi.tiangolo.com/img/sponsors/railway.png | Image | 200 | 26 KiB |
| https://fastapi.tiangolo.com/assets/stylesheets/classic/main.6cf5c66f.min.css | Stylesheet | 200 | 24 KiB |
| https://fonts.gstatic.com/s/roboto/v51/KFO7CnqEu92Fr1ME7kSn66aGLdTylUAMa3iUBGEe.woff2 | Font | 200 | 23 KiB |
Long tasks (>50 ms)
| Start | Duration |
|---|---|
| 2176 ms | 702 ms |
| 185 ms | 196 ms |
| 870 ms | 172 ms |
| 1592 ms | 165 ms |
| 1070 ms | 114 ms |
| 1444 ms | 102 ms |
| 1876 ms | 69 ms |
| 1349 ms | 55 ms |