NHS England primary-care prescribing for a drug: items
search_openprescribingNHS England primary-care prescribing for a drug (official NHSBSA English Prescribing Dataset, monthly, ~2 months behind; the raw data behind OpenPrescribing.net): items, actual cost (GBP) and quantity, grouped by region, ICB, GP practice or product presentation, largest first. Match on BNF chemical substance or presentation name. Open Government Licence, no key. Price: $0.002 in USDC per successful call, paid with x402 (Base, Solana or Arc); failed calls are not charged.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"drug": "<drug>"
},
"name": "search_openprescribing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| area | No | Only rows whose ICB or region name contains this text, e.g. manchester (optional) | |
| drug | Yes | Drug name contained in the BNF chemical substance or presentation name, e.g. metformin, atorvastatin, semaglutide (2 to 60 characters) | |
| limit | No | How many groups, 1 to 100 (default 20) | |
| month | No | Month as YYYYMM, e.g. 202608 (default latest published) | |
| groupBy | No | region, icb, practice or presentation (default icb) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| area | No | ||
| drug | No | ||
| count | No | ||
| month | No | ||
| groups | No | ||
| source | No | ||
| groupBy | No | ||
| checkedAt | No |