Developers

The GlassScript data API

Normalized, context-enriched CMS Open Payments data over plain JSON: clinician search, seven-year payment trends, percentile benchmarks, and drug and device maker links.

What you get

Who it's for

Care navigationShow patients payment context next to provider choices, with the calm framing built in.
Telehealth platformsAdd disclosure context to provider profiles without building an Open Payments pipeline.
Legal and research teamsQuery normalized totals, trends, and benchmarks instead of parsing CMS publication files.
JournalistsCheck a name, pull seven years of figures, and cite the exact data version. Free keys available.

Quickstart

Check the data version and counts. No key needed:

curl https://glasscript.com/api/v1/meta

Search physicians by name, filtered to a state:

curl "https://glasscript.com/api/v1/physicians/search?q=smith&state=TX" \
  -H "Authorization: Bearer gsk_your_key"

Fetch one physician's full document: yearly trends, payment natures, company and product breakdowns, and benchmarks:

curl https://glasscript.com/api/v1/physicians/123456 \
  -H "Authorization: Bearer gsk_your_key"

Response envelope

Every response wraps its payload in the same envelope. The meta block travels with the data.

{
  "data": [
    {
      "profile_id": 123456,
      "npi": "1234567890",
      "first_name": "Jane",
      "middle_name": "A",
      "last_name": "Smith",
      "specialty": "Cardiovascular Disease",
      "city": "Houston",
      "state": "TX",
      "total_all": 18240.55,
      "total_latest": 2210.4,
      "pct_specialty": 84,
      "pct_state": 79,
      "pct_national": 81,
      "links": {
        "self": "https://glasscript.com/api/v1/physicians/123456"
      }
    }
  ],
  "meta": {
    "source": "CMS Open Payments",
    "program_years": "2019-2025",
    "detail_years": "2023-2025",
    "as_of": "June 30, 2026",
    "version": "2026a",
    "note": "Payments are legal and often routine; figures are as reported to CMS.",
    "field_notes": {
      "total_all": "general + research payments combined (used for ranking)",
      "total_latest": "general payments only, latest program year"
    }
  }
}

Endpoints

EndpointKeyReturns
GET /api/v1/metanoneData version, publication date, and entity counts
GET /api/v1/physicians/searchrequiredMatching clinicians with totals and percentiles. Params: q, state, limit
GET /api/v1/physicians/{id}requiredOne clinician's full document: trends, natures, companies, products, benchmarks
GET /api/v1/drugs/searchrequiredMatching drugs and devices with associated-payment totals. Param: q
GET /api/v1/drugs/{slug}requiredOne drug or device with maker, specialty, and top-recipient context
GET /api/v1/companies/{slug}requiredOne company with yearly totals, products, and specialty mix

Tiers

TierDaily requestsBest for
Free1,000 per dayJournalists and academics. Request a key by email; tell us what you're working on.
Pro25,000 per dayProduction products: care navigation, telehealth, directories.
PartnerCustomHigher volumes, bulk data, or custom fields.
Commercial tiers are in pilot. Email hello@glasscript.com for a key.

Ground rules

Source: CMS Open Payments, program years 2019-2025, as reported to CMS by drug and device makers (published June 30, 2026). Drug and device detail covers 2023-2025.