Health
America's Pharmacy logo

America's Pharmacy API

americaspharmacy.com

US pharmacy savings-card marketplace for searching drug prices, comparing local pharmacy discount costs, and retrieving printable coupons.

Actions
3
Category
Health
Login
Not required
Output
JSON

Call the America's Pharmacy API

Submit a task, then poll the job until it settles. This example runs act_americaspharmacy_com_drug_detail_prices.

curl -X POST https://api.anakin.io/v1/wire/task \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "act_americaspharmacy_com_drug_detail_prices",
    "params": {
      "drug_slug": "lisinopril"
    }
  }'

3 actions on americaspharmacy.com

Read

  • Drug Detail Prices

    act_americaspharmacy_com_drug_detail_pricesread1 credit / call

    Returns pharmacy discount prices, lowest price, and dosage options for a drug.

    drug_slug
    string · required
  • Homepage Landing

    act_americaspharmacy_com_homepage_landingread1 credit / call

    Returns the homepage with featured drug savings, search form, and page metadata.

  • Medication Search Page

    act_americaspharmacy_com_medication_search_pageread1 credit / call

    Returns the medication search page with drug-name and location search fields.

America's Pharmacy API questions

Is there an API for America's Pharmacy?
America's Pharmacy does not offer a public data API for this, but Anakin Wire provides 3 maintained endpoints for americaspharmacy.com. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape America's Pharmacy data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when americaspharmacy.com changes its markup, Anakin updates the action.
Do I need a America's Pharmacy account?
No. Every America's Pharmacy action listed here runs anonymously — no account and no credentials required.
What does the America's Pharmacy API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.

More Health APIs

All Health sites