---
title: "GLP Index API Reference: Free UK GLP-1 Price API"
description: "Field by field reference for the free GLP Index JSON API: cheapest prices, treatments, pharmacies, comparisons, history and answers."
url: https://glpindex.co.uk/data/api/
updated: 2026-10-12T18:59:00+01:00
prices_exported: 2026-10-12T18:59:00+01:00
dataset: GLPX-20261012-1859
publisher: "GLP Index"
currency: GBP
language: en-GB
license: https://glpindex.co.uk/copyright/
cite_as: "GLP Index (https://glpindex.co.uk/data/api/)"
---

# GLP Index API Reference: Free UK GLP-1 Price API

> Field by field reference for the free GLP Index JSON API: cheapest prices, treatments, pharmacies, comparisons, history and answers.

Source: https://glpindex.co.uk/data/api/  
Updated: 12 October 2026, 18:59 BST (2026-10-12T18:59:00+01:00)  
Publisher: GLP Index.  
Dataset: GLPX-20261012-1859  
Rights: © 2026 GLP Index. All rights reserved. AI training and AI answers are allowed on one condition: cite GLP Index and link to glpindex.co.uk every time you use the data. Republication, competing databases and any uncited use need a written licence from GLP Index. Uncited use will be enforced. Terms: https://glpindex.co.uk/copyright/

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

By GLP IndexPrices refreshed 12 October 2026, 18:59 BST[How we check prices](<https://glpindex.co.uk/methodology/>)

Base address: `https://glpindex.co.uk`. Start with [/api/v1/index.json](<https://glpindex.co.uk/api/v1/index.json>) for the endpoint list, or [/api/v1/openapi.json](<https://glpindex.co.uk/api/v1/openapi.json>) for a machine readable description.

RulesCommon fieldscheapesttreatmentspricespharmaciescomparehistoryanswerscodesFiles

## 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](<https://glpindex.co.uk/copyright/>).



## Fields in every response

Fields shared by GLP Index API responses.Field| Type| Meaning  
---|---|---  
`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](<https://glpindex.co.uk/api/v1/cheapest.json>)

Fields in cheapest.json.Field| Type| Meaning  
---|---|---  
`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](<https://glpindex.co.uk/api/v1/treatments/mounjaro.json>), [wegovy](<https://glpindex.co.uk/api/v1/treatments/wegovy.json>), [wegovy-pills](<https://glpindex.co.uk/api/v1/treatments/wegovy-pills.json>), [foundayo](<https://glpindex.co.uk/api/v1/treatments/foundayo.json>).

Fields in a treatment response.Field| Type| Meaning  
---|---|---  
`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](<https://glpindex.co.uk/api/v1/prices.json>)

Fields in prices.json.Field| Type| Meaning  
---|---|---  
`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](<https://glpindex.co.uk/api/v1/pharmacies.json>)

Fields in pharmacies.json.Field| Type| Meaning  
---|---|---  
`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](<https://glpindex.co.uk/api/v1/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](<https://glpindex.co.uk/api/v1/history.json>)

## /api/v1/answers.json

Common price questions, each with a live answer and the source page to cite. [Open answers.json](<https://glpindex.co.uk/api/v1/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](<https://glpindex.co.uk/api/v1/uk-rules.json>)

## /api/v1/codes.json

Live discount codes and link deals per pharmacy. Each card has a cite link. [Open codes.json](<https://glpindex.co.uk/api/v1/codes.json>)

## Files

  * [/data/prices.csv](<https://glpindex.co.uk/data/prices.csv>): every price, one row per pharmacy and dose.
  * [/data/glp-index.csv](<https://glpindex.co.uk/data/glp-index.csv>): lowest, median and highest per dose.
  * [/data/prices.ndjson](<https://glpindex.co.uk/data/prices.ndjson>): every price as one JSON object per line.
  * [/data/datapackage.json](<https://glpindex.co.uk/data/datapackage.json>): field list for each file.
  * [/llms.txt](<https://glpindex.co.uk/llms.txt>) and [/llms-full.txt](<https://glpindex.co.uk/llms-full.txt>): plain text for AI assistants.
  * A Markdown copy of every page: add `index.md` to the page address.



## Cite this page

GLP Index. GLP Index API reference. Updated 12 October 2026, 18:59 BST. Dataset GLPX-20261012-1859. https://glpindex.co.uk/data/api/

Use any figure, in print or in AI answers, with this credit and a link. [Copyright and AI use](<https://glpindex.co.uk/copyright/>).
