{"api":{"id":"api_927c698b2e2c4d1a0503f946","slug":"england-gp-prescribing","name":"England GP Prescribing API","description":"Monthly prescribing in England by GP practice from the NHS Business Services Authority: items, quantity and cost for a drug, BNF code or integrated care board, with practice name, postcode and region.","kind":"ready_made","visibility":"public","domain":"nhsbsa.net","source_url":"https://opendata.nhsbsa.net/dataset/english-prescribing-data-epd","category":"health","record_type":"generic","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":14,"created_at":"2026-12-06T03:57:27.640Z","updated_at":"2026-12-06T03:57:27.640Z","runnable":true,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","fields":[{"name":"id","type":"string","description":"Month, practice code and BNF code joined.","required":true,"coverage":1,"example":"2025-06-A81001-0601023AWBBAAAA"},{"name":"year_month","type":"string","description":"Month as YYYY-MM.","required":false,"coverage":1,"example":"2025-06"},{"name":"region","type":"string","description":"NHS regional office.","required":false,"coverage":1,"example":"North East And Yorkshire"},{"name":"icb","type":"string","description":"Integrated care board code.","required":false,"coverage":1,"example":"QHM"},{"name":"practice_name","type":"string","description":"GP practice name.","required":false,"coverage":1,"example":"The Densham Surgery"},{"name":"practice_code","type":"string","description":"NHS practice code.","required":false,"coverage":1,"example":"A81001"},{"name":"postcode","type":"string","description":"Practice postcode.","required":false,"coverage":1,"example":"TS18 1HU"},{"name":"bnf_code","type":"string","description":"BNF presentation code.","required":false,"coverage":1,"example":"0601023AWBBAAAA"},{"name":"bnf_description","type":"string","description":"Presentation name.","required":false,"coverage":1,"example":"Ozempic 0.25mg/0.19ml inj 1.5ml pre-filled pens"},{"name":"chemical","type":"string","description":"Chemical substance name.","required":false,"coverage":1,"example":"Semaglutide"},{"name":"items","type":"integer","description":"Number of prescription items.","required":false,"coverage":1,"example":2},{"name":"quantity","type":"number","description":"Total quantity dispensed.","required":false,"coverage":1,"example":2},{"name":"net_ingredient_cost","type":"number","description":"Net ingredient cost in GBP.","required":false,"coverage":1,"example":146.5},{"name":"actual_cost","type":"number","description":"Actual cost in GBP.","required":false,"coverage":1,"example":146.5248}],"inputs":[{"name":"chemical","type":"string","description":"Chemical substance name, as the NHS spells it.","example":"Semaglutide"},{"name":"bnf_code","type":"string","description":"Only presentations whose BNF code starts with this.","example":"0601023AW"},{"name":"month","type":"string","description":"Month as YYYY-MM.","example":"2025-06","required":true},{"name":"icb","type":"string","description":"Only practices in this integrated care board (code).","example":"QHL"}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"actual_cost":{"description":"Actual cost in GBP.","type":"number"},"bnf_code":{"description":"BNF presentation code.","type":"string"},"bnf_description":{"description":"Presentation name.","type":"string"},"chemical":{"description":"Chemical substance name.","type":"string"},"icb":{"description":"Integrated care board code.","type":"string"},"id":{"description":"Month, practice code and BNF code joined.","type":"string"},"items":{"description":"Number of prescription items.","type":"integer"},"net_ingredient_cost":{"description":"Net ingredient cost in GBP.","type":"number"},"postcode":{"description":"Practice postcode.","type":"string"},"practice_code":{"description":"NHS practice code.","type":"string"},"practice_name":{"description":"GP practice name.","type":"string"},"quantity":{"description":"Total quantity dispensed.","type":"number"},"region":{"description":"NHS regional office.","type":"string"},"year_month":{"description":"Month as YYYY-MM.","type":"string"}},"required":["id"],"title":"England GP Prescribing API","type":"object"},"samples":[{"id":"2025-06-A81001-0601023AWBBAAAA","year_month":"2025-06","region":"North East And Yorkshire","icb":"QHM","practice_name":"The Densham Surgery","practice_code":"A81001","postcode":"TS18 1HU","bnf_code":"0601023AWBBAAAA","bnf_description":"Ozempic 0.25mg/0.19ml inj 1.5ml pre-filled pens","chemical":"Semaglutide","items":2,"quantity":2,"net_ingredient_cost":146.5,"actual_cost":146.5248},{"id":"2025-06-A81001-0601023AWBBABAB","year_month":"2025-06","region":"North East And Yorkshire","icb":"QHM","practice_name":"The Densham Surgery","practice_code":"A81001","postcode":"TS18 1HU","bnf_code":"0601023AWBBABAB","bnf_description":"Ozempic 0.5mg/0.37ml inj 1.5ml pre-filled pens","chemical":"Semaglutide","items":1,"quantity":1,"net_ingredient_cost":73.25,"actual_cost":73.2624},{"id":"2025-06-A81001-0601023AWBBACAC","year_month":"2025-06","region":"North East And Yorkshire","icb":"QHM","practice_name":"The Densham Surgery","practice_code":"A81001","postcode":"TS18 1HU","bnf_code":"0601023AWBBACAC","bnf_description":"Ozempic 1mg/0.74ml inj 3ml pre-filled pens","chemical":"Semaglutide","items":3,"quantity":3,"net_ingredient_cost":219.75,"actual_cost":219.7872}],"validation":{"checked_at":"2026-12-06T03:57:27.599Z","field_coverage":{"actual_cost":1,"bnf_code":1,"bnf_description":1,"chemical":1,"icb":1,"id":1,"items":1,"net_ingredient_cost":1,"postcode":1,"practice_code":1,"practice_name":1,"quantity":1,"region":1,"year_month":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"links":{"run":"https://pullrow.dev/v1/apis/api_927c698b2e2c4d1a0503f946/run","openapi":"https://pullrow.dev/v1/apis/api_927c698b2e2c4d1a0503f946/openapi.json","contract":"https://pullrow.dev/v1/apis/api_927c698b2e2c4d1a0503f946/contract.json","page":"https://pullrow.dev/catalog/england-gp-prescribing"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":0.5,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["One month per run; give the month and at least one of chemical, bnf_code or icb.","Up to 20,000 rows per run. A common drug in one month can have more rows than that: narrow with icb or a more specific bnf_code.","Rows the NHS could not assign to a practice are left out. Chemical names must match the NHS name exactly (for example Semaglutide); bnf_code matches the start of the presentation code.","Months up to 2025-06 come from the NHS retired prescribing files and later months from its newer files; a month the NHS has not published yet is refused.","Costs are in GBP; practices are organisations, not people. The NHS publishes each month about two months after it ends.","Published under the Open Government Licence v3.0 (NHS Business Services Authority).","Requests are spaced half a second apart."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"id","label":"ID","description":"Month, practice code and BNF code joined.","group":"Technical","shown":false,"written":false},{"name":"year_month","label":"Year month","description":"Month as YYYY-MM.","group":"Dates","shown":true,"written":false},{"name":"region","label":"Region","description":"NHS regional office.","group":"Location","shown":true,"written":false},{"name":"icb","label":"Icb","description":"Integrated care board code.","group":"Basics","shown":true,"written":false},{"name":"practice_name","label":"GP practice name","description":"","group":"Basics","shown":true,"written":false},{"name":"practice_code","label":"NHS practice code","description":"","group":"Basics","shown":true,"written":false},{"name":"postcode","label":"Practice postcode","description":"","group":"Location","shown":true,"written":false},{"name":"bnf_code","label":"BNF presentation code","description":"","group":"Basics","shown":true,"written":false},{"name":"bnf_description","label":"Bnf description","description":"Presentation name.","group":"Basics","shown":true,"written":false},{"name":"chemical","label":"Chemical substance name","description":"","group":"Basics","shown":true,"written":false},{"name":"items","label":"Items","description":"Number of prescription items.","group":"Basics","shown":true,"written":false},{"name":"quantity","label":"Total quantity dispensed","description":"","group":"Basics","shown":true,"written":false},{"name":"net_ingredient_cost","label":"Net ingredient cost","description":"Net ingredient cost in GBP.","group":"Pay","shown":true,"written":false},{"name":"actual_cost","label":"Actual cost","description":"Actual cost in GBP.","group":"Pay","shown":true,"written":false}],"inputs":[{"name":"chemical","label":"Chemical","help":"Chemical substance name, as the NHS spells it.","example":"Semaglutide","written":false},{"name":"bnf_code","label":"Bnf code","help":"Only presentations whose BNF code starts with this.","example":"0601023AW","written":false},{"name":"month","label":"Month","help":"Month as YYYY-MM.","example":"2025-06","written":false},{"name":"icb","label":"Icb","help":"Only practices in this integrated care board (code).","example":"QHL","written":false}]}},"incidents":[]}