Discover/Blink Health API
live

Blink Health APIblinkhealth.com

Access Blink Health medication pricing, formulations, brand/generic mappings, and nearby pharmacy data via 6 structured API endpoints.

Endpoint health
verified 6d ago
get_drug_formulations
get_preferred_drug_list
get_brand_to_generic_mapping
get_nearby_pharmacies
search_drug
6/6 passing latest checkself-healing
Endpoints
6
Updated
21d ago

What is the Blink Health API?

The Blink Health API exposes 6 endpoints covering medication pricing, available formulations, and participating pharmacy locations across the United States. Use get_drug_pricing to retrieve home delivery and local pickup prices for every dosage and form of a given drug, or call get_nearby_pharmacies with a ZIP code to get a list of network pharmacies with addresses, phone numbers, and distances. The full preferred drug list runs to thousands of medications.

Try it
The medication slug or name (e.g., 'metformin', 'lipitor', 'atorvastatin').
api.parse.bot/scraper/1b2b7ddd-439b-4d3c-927e-58cfc448642c/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/1b2b7ddd-439b-4d3c-927e-58cfc448642c/get_drug_pricing?slug=metformin' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace blinkhealth-com-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""Walkthrough: Blink Health SDK — medication pricing, formulations, and pharmacy finder."""
from parse_apis.blink_health_api import BlinkHealth, ZipCode, DrugNotFound

client = BlinkHealth()

# Search for a medication by name
results = client.drugs.search(query="metformin", limit=3)
for drug_result in results:
    print(drug_result.name, drug_result.slug, drug_result.generic_name)

# Drill into pricing for one medication
drug = client.drugs.get(slug="atorvastatin")
print(drug.drug_name, drug.generic_name)
for form in drug.forms:
    print(f"  Form: {form.display_form}")
    for dosage in form.dosages:
        print(f"    {dosage.display_dosage}")
        for qty in dosage.quantities:
            if qty.pricing:
                print(f"      {qty.display_quantity}: {qty.pricing.home_delivery.price}")

# Browse formulations via sub-resource (no pricing, lighter call)
metformin = client.drug(slug="metformin")
for form in metformin.formulations.list(limit=5):
    print(form.display_form, [d.display_dosage for d in form.dosages])

# Brand-to-generic mapping lookup
mapping = client.brandgenericmappings.get(slug="lipitor")
print(mapping.drug_name, mapping.generic_name, mapping.slug)

# Find pharmacies near a ZIP code
search = client.pharmacysearch(zip_code=ZipCode._10001.value)
for pharmacy in search.nearby(limit=5):
    print(pharmacy.name, pharmacy.address.city, pharmacy.address.state, pharmacy.distance)

# Typed error handling for a non-existent drug
try:
    client.drugs.get(slug="nonexistent-xyz-medication")
except DrugNotFound as exc:
    print(f"Drug not found: {exc.slug}")

# Full drug list for discovery
catalog = client.druglists.list()
print(f"Total medications: {catalog.count}, sample: {catalog.drugs[:5]}")

print("exercised: drugs.search / drugs.get / formulations.list / brandgenericmappings.get / pharmacysearch.nearby / druglists.list")
All endpoints · 6 totalmissing one? ·

Retrieve pricing information for a specific medication by drug name or slug. Returns pricing for home delivery, local pickup, and retail estimates across all forms and dosages. Each form contains dosages, and each dosage contains quantities with detailed pricing breakdowns.

Input
ParamTypeDescription
slugrequiredstringThe medication slug or name (e.g., 'metformin', 'lipitor', 'atorvastatin').
Response
{
  "type": "object",
  "fields": {
    "slug": "string — URL slug identifier",
    "forms": "array of form objects containing dosages and pricing",
    "drug_name": "string — display name of the medication",
    "generic_name": "string or null — generic equivalent name"
  },
  "sample": {
    "data": {
      "slug": "metformin",
      "forms": [
        {
          "dosages": [
            {
              "med_id": "155744",
              "quantities": [
                {
                  "pricing": {
                    "local_pickup": {
                      "price": null,
                      "raw_price": null,
                      "percent_off_retail": null
                    },
                    "home_delivery": {
                      "price": "$2.48",
                      "raw_price": 2.48,
                      "percent_off_retail": "52%"
                    },
                    "retail_estimated": {
                      "price": "$5.21",
                      "raw_price": 5.21112
                    }
                  },
                  "raw_quantity": 30,
                  "display_quantity": "30 Tablets",
                  "formatted_description": "30 Tablets, 500 mg"
                }
              ],
              "display_dosage": "500 mg"
            }
          ],
          "display_form": "Tablet"
        }
      ],
      "drug_name": "metformin",
      "generic_name": "metformin hcl"
    },
    "status": "success"
  }
}

About the Blink Health API

Medication Pricing and Formulations

The get_drug_pricing endpoint accepts a slug parameter (e.g., 'metformin' or 'atorvastatin') and returns a structured response containing forms — an array of form objects each with available dosages and pricing for home delivery, local pickup, and retail estimates. The response also includes drug_name and generic_name, so you can immediately tell whether you're looking at a brand or a generic product. For cases where you only need structure without prices, get_drug_formulations returns the same forms array with dosages and available quantities but no pricing data. Note that not all drugs are supported by this endpoint; some may return an upstream error.

Drug Search and Brand/Generic Mapping

search_drug accepts a query string and returns a results array of matching medication objects, each containing name, slug, and generic_name. It performs a direct slug-based lookup, so results are limited to exact or near-exact matches; an unrecognized query returns an empty results array. The get_brand_to_generic_mapping endpoint takes a slug and works in both directions — pass 'lipitor' and get atorvastatin as the generic_name, or pass a generic slug to confirm its brand relationship.

Pharmacy Lookup and Drug Catalog

get_nearby_pharmacies takes a 5-digit US zip_code (leading zeros preserved, e.g., '02134') and returns a pharmacies array with each entry's name, address, phone, distance, and network_status. For a full inventory of supported medications, get_preferred_drug_list requires no inputs and returns count (an integer) plus a drugs array of every medication slug available on Blink Health — useful for building autocomplete indexes or bulk pricing jobs.

Reliability & maintenanceVerified

The Blink Health API is a managed, monitored endpoint for blinkhealth.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when blinkhealth.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official blinkhealth.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
6d ago
Latest check
6/6 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Compare home delivery vs. local pickup prices for a specific medication using get_drug_pricing response fields.
  • Build a pharmacy locator tool that surfaces network pharmacies and distances from a user-supplied ZIP code.
  • Map brand-name prescriptions to generic equivalents using get_brand_to_generic_mapping to identify cost-saving alternatives.
  • Populate a drug autocomplete search field by indexing the full medication catalog from get_preferred_drug_list.
  • Display all available dosages and quantities for a drug using get_drug_formulations before showing pricing.
  • Track retail price estimates across dosages for a medication to identify the most cost-effective formulation.
  • Validate whether a drug name is supported on Blink Health before making pricing calls using search_drug.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Blink Health have an official developer API?+
Blink Health does not publish a public developer API or documented programmatic access for third-party developers. This Parse API provides structured access to the data available on blinkhealth.com.
What does `get_drug_pricing` return beyond a single price?+
It returns a forms array covering every available form of the drug (e.g., tablet, capsule, extended-release). Each form object contains dosages and pricing broken out by delivery method — home delivery, local pickup, and retail estimate — so you can compare options across the full product surface for a given medication.
Does `get_drug_formulations` always return data for every medication?+
No. The endpoint covers formulations for drugs listed on Blink Health, but some medications may return an upstream error rather than a forms array. For those cases, get_drug_pricing may still succeed and implicitly expose form and dosage structure through its response.
Does the API return insurance coverage details or co-pay information?+
Not currently. The API covers cash-pay pricing (home delivery, local pickup, and retail estimates), formulations, and pharmacy network data. It does not return insurance plan pricing, co-pay tiers, or prior authorization data. You can fork this API on Parse and revise it to add an endpoint targeting those details if they become available on the source.
Is pharmacy data available outside the United States?+
Coverage is US-only. get_nearby_pharmacies accepts 5-digit US ZIP codes and returns participating pharmacies within the Blink Health network. Non-US locations are not covered. You can fork this API on Parse and revise it if you need to target a different regional pharmacy data source.
Page content last updated . Spec covers 6 endpoints from blinkhealth.com.
Related APIs in HealthcareSee all →
drugs.com API
Search for drugs and pill identifications, get detailed information about FDA approvals and drug interactions, and find medications by condition or letter. Look up side effects, dosages, and potential drug interactions to make informed health decisions.
blinkit.com API
Search for products and check real-time availability across Blinkit locations, browse categories, and view detailed product information all from one place. Set your location to discover what's currently in stock nearby and compare offerings.
apollo247.com API
Search and compare medicines, view detailed product information, discover lab tests, and locate nearby Apollo 24|7 pharmacy stores. Browse medical specialties and popular diagnostic services to plan your healthcare needs in one convenient platform.
medex.com.bd API
Access data from medex.com.bd.
pharmdata.co.uk API
Search UK pharmacies, access NHS service statistics, and retrieve pharmacy dispensing data to compare performance across regions. Monitor MHRA drug safety alerts and view LPC rankings to make informed decisions about pharmacy services and medications.
dischem.co.za API
Search for pharmacy products and retrieve detailed information including prices, descriptions, and images directly from Dis-Chem's catalog. Browse product listings and access complete product details all in one place.
cvs.com API
Find nearby CVS Pharmacy locations and check their hours, then search for products and verify real-time availability at specific stores. Quickly locate what you need and confirm it's in stock before making a trip.
aponeo.de API
Search for medications and health products from Aponeo.de, view detailed pricing and availability, browse by category, and discover current deals and promotions. Find specific products by PZN code, check bestsellers, or explore newly added items to compare prices and stock status.