GLP Index API reference
Every endpoint, every field. The API is free, read only and needs no key. Responses are static JSON files, rebuilt at each export.
Base address: https://glpindex.co.uk. Start with /api/v1/index.json for the endpoint list, or /api/v1/openapi.json for a machine readable description.
Rules of use
- Cite GLP Index and link to glpindex.co.uk or the source page whenever a figure is shown or shapes an answer.
- Give the export time with a price. Prices move twice a day.
- Cache a response until
next_refresh. Exports run at 07:00 and 19:00 UK time. - Republishing the prices as your own product needs a licence. See copyright and AI use.
Fields in every response
updated | date and time | When the prices were exported, with the UK offset |
|---|---|---|
next_refresh | date and time | When the next export is due. Cache until then |
dataset_id | text | Label for the export, also shown at the foot of every page |
currency | text | Always GBP |
prices_include_delivery | true or false | Always true for first order and ongoing prices |
rights | object | Owner, citation rule and licence contact. Read before reuse |
/api/v1/cheapest.json
The smallest useful response: one object per dose with the cheapest and median price. Open cheapest.json
treatments.{key}.doses[] | list | One object per dose with a live price |
|---|---|---|
step | number | Position on the dose scale, from 1 |
dose | text | Dose strength |
page | address | Dose page to cite |
cheapest_first_order | object | Price, pharmacy and pharmacy page for the lowest first order price |
median_first_order | number | Median delivered first order price |
cheapest_ongoing | object or null | Lowest returning customer price, where any pharmacy lists one |
median_ongoing | number or null | Median returning customer price |
change_since | object or null | Move in the lowest and median price against the snapshot about a week before |
first_three_months | object | Cheapest and median cost of the first three months |
glp_index_figure | object | The market figure, the base date and the count of doses |
/api/v1/treatments/{treatment}.json
One treatment with every pharmacy ranked per dose. Keys: mounjaro, wegovy, wegovy-pills, foundayo.
treatment | object | Name, generic name, form, maker and page |
|---|---|---|
doses[].lowest, median, highest | number | First order price range at the dose |
doses[].ranking[] | list | Every pharmacy from cheapest, with rank, first order, ongoing and retail delivered price |
doses[].ranking[].page | address | Pharmacy page to cite |
/api/v1/prices.json
Every price, grouped by treatment and pharmacy. Open prices.json
treatments.{key}.pharmacies.{slug} | object | Pharmacy name, GPhC number and prices |
|---|---|---|
prices.{dose}.first_order | number | Delivered total for a new customer |
prices.{dose}.ongoing | number or null | Delivered total for a returning customer |
prices.{dose}.retail | number or null | List price before discount and postage |
prices.{dose}.retail_delivered | number or null | List price plus standard postage |
/api/v1/pharmacies.json
Facts for every pharmacy. Open pharmacies.json
gphc_number | text or null | Registration number the pharmacy publishes |
|---|---|---|
shares_gphc_number_with | list | Other brands listing the same number |
trustpilot_score | number or null | Score in our database, out of 5 |
delivery | list | Delivery options |
treatments.{key}.lowest_first_order | number | Lowest first order price at the pharmacy for the treatment |
doses_priced | number | Doses with a live price |
cheapest_in_uk_at | number | Doses where the pharmacy is the cheapest |
price_position | number | 0 to 100. Low means near the cheapest at most doses |
codes_page | address or null | Codes page, where the pharmacy has a live code |
/api/v1/compare.json
Three and twelve month cost per treatment, and every head to head pair. Open compare.json
/api/v1/history.json
One row per day per dose: date, lowest first order, median first order and pharmacies priced. Open history.json
/api/v1/answers.json
Common price questions, each with a live answer and the source page to cite. Open answers.json
/api/v1/uk-rules.json
Plain English UK rules per treatment, a dated timeline and the official source for each point. Open uk-rules.json
/api/v1/codes.json
Live discount codes and link deals per pharmacy. Each card has a cite link. Open codes.json
Files
- /data/prices.csv: every price, one row per pharmacy and dose.
- /data/glp-index.csv: lowest, median and highest per dose.
- /data/prices.ndjson: every price as one JSON object per line.
- /data/datapackage.json: field list for each file.
- /llms.txt and /llms-full.txt: plain text for AI assistants.
- A Markdown copy of every page: add
index.mdto the page address.