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 3 APIs on the APIs.io network. 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 18 more developer resources.

26.1/100 emerging ▬ flat Agent 52/100 agent ready Full breakdown ↓
scored 2026-07-27 · rubric v0.5
AccessFree⚡ Free to try
3 APIs 1 MCP Servers
HealthcareUnited KingdomNHSPrescribingPharmacyOpen DataPrimary CarePublic HealthAnalytics

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-07-27 · rubric v0.5
Composite quality — 26.1/100 · emerging
Contract Quality 0.0 / 25
Developer Ergonomics 13.5 / 20
Commercial Clarity 0.0 / 20
Operational Transparency 0.7 / 13
Governance 0.0 / 12
Discoverability 10.0 / 10
Agent readiness — 52/100 · agent ready
Machine-Readable Contract 0 / 18
Agentic Access Contract 15 / 15
MCP Server 12 / 12
Machine-Readable Auth 10 / 10
Idempotency 0 / 9
Stable Error Semantics 8 / 8
Request/Response Examples 0 / 7
Rate-Limit Signaling 0 / 7
Typed Event Surface 0 / 6
Agent Skills 5 / 5
Well-Known Catalog 4 / 4
Consent & Bot Identity 0 / 3
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. 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. Want it done for you? Prioritized profiling — $2,500 →

APIs 3

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...

MCP Servers 1

Model Context Protocol servers that expose these APIs to AI agents.

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 3

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 1

Status, limits, changes, and where to get help

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.
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.19'
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/
common:
- 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: MCPServer
  url: mcp/openprescribing-mcp.yml
- 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