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 1 API 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 19 more developer resources.

35.1/100 thin ▬ flat Agent 37/100 agent ready Full breakdown ↓
scored 2026-08-20 · rubric v0.12.0
AccessFree⚡ Free to try
4 APIs 1 MCP Servers
HealthcareUnited KingdomNHSPrescribingPharmacyOpen DataPrimary CarePublic HealthAnalytics

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-08-20 · rubric v0.12.0
Composite quality — 35.1/100 · thin
Contract Quality 10.6 / 21
Developer Ergonomics 10.0 / 17
Access Clarity 0.0 / 17
Operational Transparency 0.3 / 11
Contract Governance 1.7 / 10
Discoverability 6.9 / 9
Regulatory Posture 3.2 / 15
Agent readiness — 37/100 · agent ready
Machine-Readable Contract 18 / 18
Agentic Access Contract 10 / 10
Documented Reversibility 6 / 6
MCP Server 0 / 12
Machine-Readable Auth 10 / 10
Idempotency 9 / 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 0 / 4
Consent & Bot Identity 0 / 3
A2A Agent Card 0 / 8
Dry-Run / Simulate Mode 4 / 4
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.
The six quality facets above are damped to 85 points between them, because the conditional facet above carries the other 15. That is why each facet's contribution is shown against a damped maximum: raising a quality facet moves the composite by 85% 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/. 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 4

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 API

OpenPrescribing API from OpenPrescribing — 19 path(s) described in OpenAPI.

Open Collections 1

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

OpenPrescribing API

OPEN COLLECTION

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

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.
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-openapi
  name: OpenPrescribing API
  description: OpenPrescribing API from OpenPrescribing — 19 path(s) described in OpenAPI.
  humanURL: https://openprescribing.net/api/
  baseURL: https://openprescribing.net/api/1.0
  properties:
  - type: OpenAPI
    url: openapi/openprescribing-openapi.yml
common:
- 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: 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