# FactGrid.ai — Structured Reference Data for AI Agents > Token-efficient component and developer-API reference data. Every response is Ed25519-signed and source-cited. > Accuracy is best-effort, not guaranteed — see /terms. Report errors free at POST /api/v1/report-error. ## Catalogue Size - **Electronic components**: 994 - **API endpoint schemas**: 18348 across 1097 services - **Package releases indexed**: 10192 across 16 npm/PyPI packages, with 357 upgrade advisories (84 breaking) - **Computed breaking changes**: temporarily offline pending revalidation — not served, not billed - Live counts: GET /api/v1/stats (free, no auth) ## Pricing - **Component specification lookup**: $0.001 per query — Static reference data, cached indefinitely by the caller. - **API schema lookup**: $0.002 per query — Versioned endpoint shape; changes on publisher release cadence. - **Natural-language catalogue search**: $0.003 per query — Intent matching across the catalogue; returns ranked candidates. - **Deprecation and sunset radar**: $0.005 per query — Aggregates spec-declared deprecations, sunset dates, and replacement operations across services. - **Auth and error playbook**: $0.005 per query — Aggregates declared auth schemes, scopes, rate-limit headers, and full error-code table per service. - **Cross-service capability search**: $0.005 per query — Answers "which of these services can do X" across the whole index. Replaces an unbounded web search an agent cannot reliably perform. - **Integration brief**: $0.01 per query — Everything needed to write one working call — base URL, auth scheme, required parameters, body shape, response codes — compiled into a single response. Replaces five to ten schema lookups plus a documentation crawl. - **Dependency upgrade advisory**: $0.02 per query — What breaks between two published versions of a package, derived from publisher-declared registry metadata with the exact evidence field attached. Prevents a failed upgrade — same value class as an API breaking change, and unlike that tier the version ordering is declared rather than inferred. - **Breaking-change and migration analysis**: $0.02 per query — Derived analysis that prevents a failed deployment. Recomputed as publishers ship. - **Free tier**: 50 queries per key per day, no card required. Create a key: POST /api/v1/keys/create - Cached revalidations (HTTP 304) and rate-limited requests are never charged. - Full pricing: GET /api/v1/pricing ## Paying - **Agents with a wallet: pay per query with x402 — no account, no signup, no human.** Send an X-PAYMENT header; settlement is on-chain in USDC on base. - x402 is accepted on: Component specification lookup ($0.001), API schema lookup ($0.002), Natural-language catalogue search ($0.003), Deprecation and sunset radar ($0.005), Auth and error playbook ($0.005), Cross-service capability search ($0.005), Integration brief ($0.01), Dependency upgrade advisory ($0.02), Breaking-change and migration analysis ($0.02). - Unauthenticated requests return 402 with a spec-shaped `accepts` array. Any x402 client (e.g. x402-fetch) can pay it. - **Agents without a wallet**: 50 free queries per day on a self-service key from POST /api/v1/keys/create. - Check your balance: GET /api/v1/balance (free, send Authorization: Bearer ) - **Add credit by card**: open https://factgrid.co.uk/billing in a browser — a card needs a human. - Agents without a wallet: call the `factgrid_create_topup_link` MCP tool to generate a checkout link, then hand it to your operator. - Credit is applied within seconds of Stripe confirming payment. Retry the original query then. - **Automatic top-up** (optional, off by default): tick the box during checkout to keep a card on file and refill automatically when the balance runs low. You set the trigger, amount and a monthly limit. Turn it off any time at /billing or via POST /api/v1/billing/auto-topup {"enabled": false}. Status: GET /api/v1/billing/auto-topup - **Token Compression**: Pass ?format=compact for 75%+ prompt token reduction (~35 tokens per payload) ## Sample Components (994 total) - **0402B151K500NT** (FH Guangdong Fenghua Advanced Tech): Capacitors > Multilayer Ceramic Capacitors MLCC - SMD/SMT - **0402B222K500NT** (FH Guangdong Fenghua Advanced Tech): Capacitors > Multilayer Ceramic Capacitors MLCC - SMD/SMT - **0402B471K500NT** (FH Guangdong Fenghua Advanced Tech): Capacitors > Multilayer Ceramic Capacitors MLCC - SMD/SMT - **0402B682K500NT** (FH Guangdong Fenghua Advanced Tech): Capacitors > Multilayer Ceramic Capacitors MLCC - SMD/SMT - **0402CG1R0C500NT** (FH Guangdong Fenghua Advanced Tech): Capacitors > Multilayer Ceramic Capacitors MLCC - SMD/SMT - **0402CG1R5C500NT** (FH Guangdong Fenghua Advanced Tech): Capacitors > Multilayer Ceramic Capacitors MLCC - SMD/SMT - **0402CG270J500NT** (FH Guangdong Fenghua Advanced Tech): Capacitors > Multilayer Ceramic Capacitors MLCC - SMD/SMT - **0402CG2R2C500NT** (FH Guangdong Fenghua Advanced Tech): Capacitors > Multilayer Ceramic Capacitors MLCC - SMD/SMT - **0402CG2R7C500NT** (FH Guangdong Fenghua Advanced Tech): Capacitors > Multilayer Ceramic Capacitors MLCC - SMD/SMT - **0402CG300J500NT** (FH Guangdong Fenghua Advanced Tech): Capacitors > Multilayer Ceramic Capacitors MLCC - SMD/SMT - **0402CG3R3C500NT** (FH Guangdong Fenghua Advanced Tech): Capacitors > Multilayer Ceramic Capacitors MLCC - SMD/SMT - **0402CG4R7C500NT** (FH Guangdong Fenghua Advanced Tech): Capacitors > Multilayer Ceramic Capacitors MLCC - SMD/SMT - **0402CG6R0C500NT (SMT业务专用)** (Generic): Capacitors > Multilayer Ceramic Capacitors MLCC - SMD/SMT - **0402CG6R8C500NT** (FH Guangdong Fenghua Advanced Tech): Capacitors > Multilayer Ceramic Capacitors MLCC - SMD/SMT - **0402WGF1005TCE** (UNI ROYAL Uniroyal Elec): Resistors > Chip Resistor - Surface Mount ## Sample API Endpoints (18348 total) - ** API Client** (2018-02-01): GET /providers/Microsoft.Web/publishingUsers/web - ** API Client** (2018-02-01): GET /providers/Microsoft.Web/sourcecontrols - ** API Client** (2018-02-01): GET /providers/Microsoft.Web/sourcecontrols/{sourceControlType} - ** API Client** (2018-02-01): GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/billingMeters - ** API Client** (2018-02-01): GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/deploymentLocations - ** API Client** (2018-02-01): GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/geoRegions - ** API Client** (2018-02-01): GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/premieraddonoffers - ** API Client** (2018-02-01): GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/skus - ** API Client** (2018-02-01): POST /subscriptions/{subscriptionId}/providers/Microsoft.Web/checknameavailability - ** API Client** (2018-02-01): POST /subscriptions/{subscriptionId}/providers/Microsoft.Web/listSitesAssignedToHostName - ** API Client** (2018-02-01): POST /subscriptions/{subscriptionId}/providers/Microsoft.Web/verifyHostingEnvironmentVnet - ** API Client** (2018-02-01): POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/moveResources - ** API Client** (2018-02-01): POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/validateContainerSettings - ** API Client** (2018-02-01): POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/validateMoveResources - ** API Client** (2018-02-01): PUT /providers/Microsoft.Web/publishingUsers/web - ** API Client** (2018-02-01): PUT /providers/Microsoft.Web/sourcecontrols/{sourceControlType} - ** Seller Service Metrics API ** (1.2.0): GET /customer_service_metric/{customer_service_metric_type}/{evaluation_type} - ** Seller Service Metrics API ** (1.2.0): GET /customer_service_metric/{customer_service_metric_type}/{evaluation_type} - ** Seller Service Metrics API ** (1.2.0): GET /seller_standards_profile - ** Seller Service Metrics API ** (1.2.0): GET /seller_standards_profile - ** Seller Service Metrics API ** (1.2.0): GET /seller_standards_profile/{program}/{cycle} - ** Seller Service Metrics API ** (1.2.0): GET /seller_standards_profile/{program}/{cycle} - ** Seller Service Metrics API ** (1.2.0): GET /traffic_report - ** Seller Service Metrics API ** (1.2.0): GET /traffic_report - **1,000,000+ Recipe and Grocery List API (v2)** (partner): DELETE /grocerylist ## Accuracy & Terms - Accuracy is best-effort. Verify against the primary source before safety-critical or production use. - Full terms: /terms · Privacy: /privacy - Found an error? POST /api/v1/report-error (free, no auth required) ## Data Sources & Attribution - **APIs.guru OpenAPI Directory** — CC-BY 4.0. OpenAPI specification metadata. - **Publisher OpenAPI specifications** — Per publisher. Facts extracted; documents not redistributed. - **Manufacturer datasheets** — © respective manufacturer. Factual parameters only; no datasheet text or diagrams reproduced. ## Agent API Endpoints - GET /api/v1/components?q={query}&limit=20&format=compact - GET /api/v1/components/:partNumber - GET /api/v1/search/semantic?q={intent} - GET /api/v1/apis?service={name}&q={query}&limit=20 - GET /api/v1/apis/:service/breaking-changes?fromVersion=&toVersion= - GET /api/v1/apis/:service/brief?endpoint= — integration brief, everything needed for one working call - GET /api/v1/apis/:service/deprecations — declared deprecations and sunset dates - GET /api/v1/apis/auth-playbook?service= — auth schemes, scopes, rate-limit headers, error codes - GET /api/v1/discover?q={capability} — which indexed service can do X - GET /api/v1/packages/:registry/:name/advisory?from=&to= — what breaks between two npm or PyPI versions - GET /api/v1/packages/stats (free) - POST /api/v1/apis/watches/subscribe (Bearer key) — be told when a spec changes - GET /api/v1/stats (free) - GET /api/v1/pricing (free) - GET /api/v1/balance (free, Bearer key) — remaining credit and free queries - GET /billing — human-facing top-up page (card payment) - POST /mcp (Model Context Protocol, JSON-RPC 2.0) ## MCP Streamable HTTP endpoint: POST /mcp · protocol 2025-06-18 Tools: factgrid_package_upgrade_advisory, factgrid_api_breaking_changes, factgrid_api_schema, factgrid_integration_brief, factgrid_discover_api, factgrid_create_topup_link, factgrid_component_spec, factgrid_deprecation_scan, factgrid_auth_playbook, factgrid_subscribe_spec_changes