Rank4AI Data API

Rank4AI publishes its original UK AI search visibility research as a read-only public API and as an MCP server for AI clients. The data is the same one behind the UK AI Search Visibility Statistics Index: research statistics with a measured value, date, category and source, plus a coverage snapshot. No authentication, no personal data, released under CC BY 4.0.

REST endpoints

Base URL https://www.rank4ai.co.uk/api. All responses are JSON with open CORS, an ETag and edge caching. Full machine-readable contract: OpenAPI 3.1 spec.

Method Path Description
GET /api/stats List all published statistics. Optional filters: ?q=, ?category=.
https://www.rank4ai.co.uk/api/stats?category=AI%20Crawler%20Access
GET /api/stats/{slug} Detail for one statistic, keyed on its canonical slug.
https://www.rank4ai.co.uk/api/stats/44-percent-uk-sme-no-organisation-schema
GET /api/stats-snapshot Coverage snapshot: statistic count, category split and dated coverage range.
https://www.rank4ai.co.uk/api/stats-snapshot

MCP server

The same data is exposed as a remote Model Context Protocol server over streamable HTTP, so MCP-capable AI clients can read it directly.

  • Endpoint: https://www.rank4ai.co.uk/mcp (JSON-RPC 2.0, POST)
  • Manifest: /.well-known/mcp.json
  • Resources: r4://dataset, r4://stats-snapshot, r4://stats/{slug}
  • Tool: search_stats(query?, category?)

Terms

Read-only and free under CC BY 4.0: attribute Rank4AI and link back to the Statistics Index. Every figure originates in our own UK SME website audits. Please cache responses and avoid abusive request rates.