OpenPrescribing website screenshot

OpenPrescribing

OpenPrescribing.net is an open-data service built and operated by the Bennett Institute for Applied Data Science at the University of Oxford. It turns the English Prescribing Dataset published monthly by the NHS Business Services Authority into public dashboards, prescribing-safety measures, and a free RESTful API covering primary-care GP prescribing across England. The API exposes spending, quantity and item counts by BNF code and by NHS organisation (practice, PCN, Sub-ICB Location, ICB, Regional Team), standardised prescribing measures, drug-tariff and price-per-unit data, and organisation reference/boundary lookups, all returned as JSON, CSV or GeoJSON. Home market is the United Kingdom (England prescribing data). It is an independent academic analytics platform layered on NHS open data, not an NHS FHIR clinical system; there is no OAuth, no SMART-on-FHIR, and currently no registration or API key is required.

OpenPrescribing publishes 6 APIs on the APIs.io network, including Spending API, Measures API, and 4 more. Tagged areas include Healthcare, United Kingdom, NHS, Prescribing, and Pharmacy.

OpenPrescribing’s developer surface includes documentation, API reference, support, engineering blog, getting-started guide, authentication, and 21 more developer resources.

32.5/100 thin ▬ flat Agent 24/100 agent aware self hosted · MIT Full breakdown ↓
scored 2026-09-08 · rubric v0.20.0
AccessFree⚡ Free to try
1 APIs
HealthcareUnited KingdomNHSPrescribingPharmacyOpen DataPrimary CarePublic HealthAnalytics

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-09-08 · rubric v0.20.0
Regulatory Posture applies to this provider. Its tags matched the Health regime, so Regulatory Posture carries 15 points of the composite. If this regime is wrong for your business, say so on your provider repo — the applicability map is public and we will correct it.
Open Source Surface applies to this provider. This product is open source and we read its repository directly, so Open Source Surface carries 10 points of the composite. It is scored from what the repository actually publishes — a security policy, a contribution guide, a release history, a code of conduct — read live from the provider rather than inferred from our own catalog pointers. This facet adds; nothing was taken away to make room for it. An open-source project is not excused from the commercial facets, because exemption would strip it of the points it does earn. If we have the wrong repository, or this product is not open source, say so on your provider repo and we will drop the facet rather than have you publish against it.
Create-or-Update Ergonomics does not apply to this provider. The published contracts declare no write operations, and a read-only API cannot create-or-update. The facet is excluded from this provider's denominator entirely — not scored zero. A reference or data API is not deficient for being unable to upsert.
The six quality facets above are damped to 75 points between them, because both conditional facets apply and carry 25 points together. That is why each facet's contribution is shown against a damped maximum: raising a quality facet moves the composite by 75% of its nominal weight, not 100%. The full arithmetic is at apis.io/rating/.
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. Every facet and dimension name above is a link: it opens that measurement's own page — what it means, the exact checks that feed it, how the whole catalog distributes on it, and the providers at the top of it. This rating is computed from github.com/api-evangelist/openprescribing: open an issue to ask a question, or submit a pull request to add artifacts. Submit an artifact on GitHub — free → Manage your own listing — the Influence plan, $499/mo →

APIs 7

Individual APIs this provider publishes, each with its own machine-readable definition.

OpenPrescribing Spending API

Retrieve total prescribing spending, quantity and items across the last five years of the English Prescribing Dataset — by BNF code (section, chemical or presentation) and by NH...

OpenPrescribing Measures API

Standardised NHS prescribing-quality and safety measures (numerators, denominators and calculated values) at national, Regional Team, ICB, Sub-ICB Location, PCN and practice lev...

OpenPrescribing Information API

Reference-data lookups for the prescribing dataset — search BNF sections, chemicals and presentations by name or code; look up NHS organisations (Sub-ICB Location or practice) b...

OpenPrescribing Measures API

Standardised NHS prescribing-quality and safety measures.

OpenPrescribing Reference API

BNF code, organisation code and organisation-location reference lookups.

OpenPrescribing Spending API

Prescribing spending, quantity and item counts by BNF code and organisation.

OpenPrescribing Tariff API

Drug-tariff prices and price-per-unit / ghost-generic savings data.

Scroll for all 7

Open Collections 1

Open, tool-agnostic API collections (OpenAPI-derived and Bruno).

OpenPrescribing API

OPEN COLLECTION

Security Posture 2

Authentication, domain security, vulnerability disclosure, and trust-center signals.

Openprescribing Authentication

none · 0 schemes

SECURITY

Openprescribing Domain Security

TLSv1.3 · DMARC

SECURITY

Agentic Access 1

Recommended x-agentic-access execution contracts for AI agents.

Openprescribing Agentic Access

19 operations

19 operations · 0 acting

AGENTIC

Resources

Get Started 2

Portal, sign-up, and the first successful call

Documentation 4

Reference material describing how the API behaves

Agent Surfaces 5

MCP servers, agent skills, and machine-readable catalogs

Design & Contract 5

Pagination, idempotency, versioning, errors, and events

Build 2

SDKs, sample code, and the tooling you integrate with

Access & Security 2

Authentication, authorization, and security posture

Operate 2

Status, limits, changes, and where to get help

Commercial 1

Pricing, plans, and the legal terms of use

Company 3

The organization behind the API

Other 1

Properties that don't map to a standard resource type

Source (apis.yml)

apis.yml Raw ↑
aid: openprescribing
url: https://raw.githubusercontent.com/api-evangelist/openprescribing/refs/heads/main/apis.yml
name: OpenPrescribing
kind: company
description: OpenPrescribing.net is an open-data service built and operated by the Bennett Institute for Applied Data Science
  at the University of Oxford. It turns the English Prescribing Dataset published monthly by the NHS Business Services Authority
  into public dashboards, prescribing-safety measures, and a free RESTful API covering primary-care GP prescribing across
  England. The API exposes spending, quantity and item counts by BNF code and by NHS organisation (practice, PCN, Sub-ICB
  Location, ICB, Regional Team), standardised prescribing measures, drug-tariff and price-per-unit data, and organisation
  reference/boundary lookups, all returned as JSON, CSV or GeoJSON. Home market is the United Kingdom (England prescribing
  data). It is an independent academic analytics platform layered on NHS open data, not an NHS FHIR clinical system; there
  is no OAuth, no SMART-on-FHIR, and currently no registration or API key is required.
deliveryModel:
  model: self-hosted
  license: MIT
  open_source: true
  commercial: false
  callable_host: true
  label: Self-hosted open source · you run it yourself
  confidence: high
  source:
  - license
  - openapi
  generated: '2026-08-28'
  method: derived
accessModel:
  pricing: free
  onboarding: none
  trial: false
  try_now: true
  public: true
  label: Free · Open public API · No registration
  confidence: high
  source:
  - documentation
  generated: '2026-07-24'
  method: observed
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/apis-json-logo.jpg
tags:
- Healthcare
- United Kingdom
- NHS
- Prescribing
- Pharmacy
- Open Data
- Primary Care
- Public Health
- Analytics
created: '2026-07-24'
modified: '2026-07-24'
specificationVersion: '0.23'
apis:
- aid: openprescribing:openprescribing-spending-api
  name: OpenPrescribing Spending API
  description: Retrieve total prescribing spending, quantity and items across the last five years of the English Prescribing
    Dataset — by BNF code (section, chemical or presentation) and by NHS organisation (practice, PCN, Sub-ICB Location, ICB,
    Regional Team), plus drug-tariff, price-per-unit, ghost-generic and bubble-chart data. Returns JSON or CSV.
  humanURL: https://openprescribing.net/api/
  baseURL: https://openprescribing.net/api/1.0
  tags:
  - Prescribing
  - Spending
  - Pharmacy
  properties:
  - type: Documentation
    url: https://openprescribing.net/api/
  - type: APIReference
    url: https://openprescribing.net/api/
- aid: openprescribing:openprescribing-measures-api
  name: OpenPrescribing Measures API
  description: Standardised NHS prescribing-quality and safety measures (numerators, denominators and calculated values) at
    national, Regional Team, ICB, Sub-ICB Location, PCN and practice level. These endpoints power the OpenPrescribing measure
    dashboards and are served under the public /api/1.0/ surface; they are not featured on the main /api/ documentation page.
    Returns JSON or CSV.
  humanURL: https://openprescribing.net/api/
  baseURL: https://openprescribing.net/api/1.0
  tags:
  - Prescribing
  - Measures
  - Public Health
  properties:
  - type: Documentation
    url: https://openprescribing.net/api/
  - type: APIReference
    url: https://openprescribing.net/measure/
- aid: openprescribing:openprescribing-information-api
  name: OpenPrescribing Information API
  description: Reference-data lookups for the prescribing dataset — search BNF sections, chemicals and presentations by name
    or code; look up NHS organisations (Sub-ICB Location or practice) by code or name; retrieve list size and ASTRO-PU details;
    and fetch Sub-ICB Location boundaries or approximate practice locations as GeoJSON.
  humanURL: https://openprescribing.net/api/
  baseURL: https://openprescribing.net/api/1.0
  tags:
  - Reference Data
  - BNF
  - Organisations
  properties:
  - type: Documentation
    url: https://openprescribing.net/api/
  - type: APIReference
    url: https://openprescribing.net/api/
- aid: openprescribing:openprescribing-measures-api
  name: OpenPrescribing Measures API
  description: Standardised NHS prescribing-quality and safety measures.
  humanURL: https://openprescribing.net/api/
  baseURL: https://openprescribing.net/api/1.0
  tags:
  - Measures
  properties:
  - type: OpenAPI
    url: openapi/openprescribing-measures-api-openapi.yml
- aid: openprescribing:openprescribing-reference-api
  name: OpenPrescribing Reference API
  description: BNF code, organisation code and organisation-location reference lookups.
  humanURL: https://openprescribing.net/api/
  baseURL: https://openprescribing.net/api/1.0
  tags:
  - Reference
  properties:
  - type: OpenAPI
    url: openapi/openprescribing-reference-api-openapi.yml
- aid: openprescribing:openprescribing-spending-api
  name: OpenPrescribing Spending API
  description: Prescribing spending, quantity and item counts by BNF code and organisation.
  humanURL: https://openprescribing.net/api/
  baseURL: https://openprescribing.net/api/1.0
  tags:
  - Spending
  properties:
  - type: OpenAPI
    url: openapi/openprescribing-spending-api-openapi.yml
- aid: openprescribing:openprescribing-tariff-api
  name: OpenPrescribing Tariff API
  description: Drug-tariff prices and price-per-unit / ghost-generic savings data.
  humanURL: https://openprescribing.net/api/
  baseURL: https://openprescribing.net/api/1.0
  tags:
  - Tariff
  properties:
  - type: OpenAPI
    url: openapi/openprescribing-tariff-api-openapi.yml
common:
- type: IssueTracker
  url: https://github.com/bennettoxford/openprescribing/issues
- type: ContributionGuide
  url: https://github.com/bennettoxford/openprescribing/blob/main/CONTRIBUTING.md
- type: License
  name: MIT
  url: https://github.com/bennettoxford/openprescribing/blob/main/LICENSE
- type: AgenticAccess
  url: agentic-access/openprescribing-agentic-access.yml
- type: DomainSecurity
  url: security/openprescribing-domain-security.yml
- type: Website
  url: https://openprescribing.net/
- type: DeveloperPortal
  url: https://openprescribing.net/api/
- type: Documentation
  url: https://openprescribing.net/api/
- type: APIReference
  url: https://openprescribing.net/api/
- type: About
  url: https://openprescribing.net/about/
- type: Support
  url: https://openprescribing.net/faq/
- type: GitHubOrganization
  url: https://github.com/bennettoxford
- type: SourceCode
  url: https://github.com/bennettoxford/openprescribing
- type: Blog
  url: https://www.bennett.ox.ac.uk/openprescribing/blog/
- type: GettingStarted
  url: https://openprescribing.net/api/
- type: OpenAPI
  url: openapi/openprescribing-openapi.yml
- type: Authentication
  url: authentication/openprescribing-authentication.yml
- type: Conventions
  url: conventions/openprescribing-conventions.yml
- type: ErrorCatalog
  url: errors/openprescribing-problem-types.yml
- type: DataModel
  url: data-model/openprescribing-data-model.yml
- type: Lifecycle
  url: lifecycle/openprescribing-lifecycle.yml
- type: Conformance
  url: conformance/openprescribing-conformance.yml
- type: WellKnown
  url: well-known/openprescribing-well-known.yml
- type: X-MCPServerCandidate
  url: mcp/openprescribing-mcp.yml
  note: 'Renamed from MCPServer 2026-09-03 (roadmap#247): the manifest self-describes as status: candidate — a tool list derived
    from the published API contracts, not an existing server. The scorer already read the manifest and reported mcp_server
    correctly; the MCPServer type was crediting the artifact-type surfaces with a server that does not exist.'
- type: LLMsTxt
  url: llms/openprescribing-llms.txt
- type: Overlay
  url: overlays/openprescribing-openapi-overlay.yaml
- type: AgentSkill
  url: skills/_index.yml
maintainers:
- FN: Kin Lane
  email: kin@apievangelist.com

Work with this as data

Every provider here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for providers

9 MCP tools reach this
  • find_providersBrowse and filter every provider in the catalog.
  • get_provider_artifactsEvery artifact this provider publishes, grouped by type.
  • get_provider_operationsEvery operation across all of their OpenAPIs — one call instead of parsing every spec.
  • get_provider_toolsEvery MCP tool they ship, with the operation each wraps.
  • get_provider_evidenceHow each part of their score was established. Free — the basis for a claim should not sit behind it.
  • get_provider_ratingPRO — composite, band, trend and facet scores.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This provider
curl "https://apis.io/api/v1/providers/openprescribing"
All providers
curl "https://apis.io/api/v1/providers?limit=25"
Every operation they expose
curl "https://apis.io/api/v1/providers/openprescribing/operations?limit=25"
How their score was established
curl "https://apis.io/api/v1/providers/openprescribing/evidence"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.