- Home
- Agent & API access
Agent & API access
This page is for developers, AI agents, and tool-builders who want to pull RxAccess data programmatically rather than read it as HTML.
A machine-readable manifest describing every endpoint lives at /mcp-descriptor.json.
What this is not
RxAccess does not run a Model Context Protocol (MCP) server. There is no stdio or SSE transport and no tool-call surface here. This page and the manifest it links to describe a plain, read-only HTTP JSON API (the same one documented for humans at /api) in a structured shape a coding agent can parse quickly, nothing more.
What the API covers
- 224 patient assistance programs (195 records marked verified)
- The full medication registry, each row carrying a verification status
- A dated change log of every rule change we verify
Every response wraps its payload in a {data, meta} envelope, and every row carries its own publish_gate object so a caller can tell a verified fact from an unverified one without guessing.
Show the grade, not just the number.
Every row carries its own publish_gate object.
Authentication
Every /api/v1/* read route requires an API key sent as the X-Api-Key header. There is no unauthenticated access. Request a key with your intended use. API access is free for approved uses, including commercial and organizational uses. Dataset reuse is licensed CC BY 4.0, including commercial reuse with attribution (see /api for the full terms).
The manifest
/mcp-descriptor.json lists every endpoint (path, method, description), the auth scheme, the license, and current coverage stats, all generated from the same data the site itself renders from — it cannot drift stale the way a hand-maintained descriptor would.
Honest limitations
- This is a read-only API: there is no write or tool-call surface for an agent to invoke, only GET endpoints returning JSON.
- Coverage counts on this page and in the manifest are live at request time and will not match a cached copy.
- RxAccess publishes program rules, not medical advice: nothing this API returns determines a patient's eligibility for any program, only the program itself decides who it accepts.