Discover/riteaid.com API
live

riteaid.com APIriteaid.com

Look up closed Rite Aid pharmacy locations, find prescription transfer destinations by ZIP code, and check store-level replacement pharmacy details.

Endpoints
4
Updated
14d ago
Try it

No input parameters required.

api.parse.bot/scraper/4159114e-f7f7-45bb-917a-b20884ce01c3/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/4159114e-f7f7-45bb-917a-b20884ce01c3/get_pharmacy_closure_list' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 4 totalclick to expand

Get the full list of closed Rite Aid pharmacies and their prescription transfer locations.

Input

No input parameters required.

Response
{
  "type": "object",
  "fields": {
    "data": "array"
  },
  "sample": {
    "data": [
      {
        "status": "Closed",
        "new_zip": "15232",
        "old_zip": "15232",
        "new_city": "PITTSBURGH",
        "old_city": "PITTSBURGH",
        "new_phone": "+1 (555) 012-3456",
        "new_state": "PA",
        "old_state": "PA",
        "new_address": "5550 CENTRE AVE",
        "old_address": "5504 WALNUT STREET",
        "store_number": "268",
        "new_pharmacy_name": "GIANT EAGLE PHARMACY",
        "old_pharmacy_name": "RITE AID PHARMACY",
        "medication_availability": "N/A",
        "last_day_of_pharmacy_business": "06/02/2025"
      },
      {
        "status": "Closed",
        "new_zip": "16148",
        "old_zip": "16121",
        "new_city": "HERMITAGE",
        "old_city": "FARRELL",
        "new_phone": "+1 (555) 012-3456",
        "new_state": "PA",
        "old_state": "PA",
        "new_address": "2357 E. STATE STREET",
        "old_address": "700 SHARON NEW CASTLE RD.",
        "store_number": "1668",
        "new_pharmacy_name": "GIANT EAGLE PHARMACY",
        "old_pharmacy_name": "RITE AID PHARMACY",
        "medication_availability": "N/A",
        "last_day_of_pharmacy_business": "06/02/2025"
      },
      {
        "status": "Closed",
        "new_zip": "16148",
        "old_zip": "16146",
        "new_city": "HERMITAGE",
        "old_city": "SHARON",
        "new_phone": "+1 (555) 012-3456",
        "new_state": "PA",
        "old_state": "PA",
        "new_address": "2357 E. STATE STREET",
        "old_address": "811 EAST STATE STREET",
        "store_number": "3972",
        "new_pharmacy_name": "GIANT EAGLE PHARMACY",
        "old_pharmacy_name": "RITE AID PHARMACY",
        "medication_availability": "N/A",
        "last_day_of_pharmacy_business": "06/02/2025"
      }
    ],
    "status": "success"
  }
}

About the riteaid.com API

This API exposes 4 endpoints covering Rite Aid's pharmacy closure data, including prescription transfer destinations, replacement pharmacy details, and site status. The get_pharmacy_closure_by_zip endpoint accepts a 5-digit ZIP code and returns matched or nearby closure records with both old and new pharmacy addresses. Use it to build patient-facing tools, migration trackers, or reference databases for affected Rite Aid locations.

Closure List and ZIP Search

get_pharmacy_closure_list returns the full dataset of closed Rite Aid pharmacies and their prescription transfer targets as an array. For location-specific queries, get_pharmacy_closure_by_zip takes a zip_code parameter (a 5-digit US ZIP) and returns a results array of transfer records. Each record contains the old location fields — old_address, old_city, old_state, old_zip — alongside the replacement pharmacy's new_name, new_address, new_city, and new_state. The response also includes a total count and an is_nearby boolean that indicates whether the results are exact matches or proximity-based fallbacks when no closed location exists in the given ZIP.

Store-Level Replacement Lookup

get_new_pharmacy_for_store accepts a store_number string and returns a data object with the replacement pharmacy details for that specific Rite Aid location. This is useful when you already know the Rite Aid store number from historical records and want the corresponding transfer destination without searching by geography.

Site Status

get_site_status returns metadata about Rite Aid's prescription transfer page: the message field contains the main H1 heading, sections lists H2 headings, page_title is the HTML title, links provides navigation and informational URLs with text labels, and all_stores_closed is a boolean flag indicating whether all Rite Aid stores are reported as closed. This endpoint is useful for monitoring whether the page content or closure status changes over time.

Common use cases
  • Build a patient-facing tool that accepts a ZIP code and displays the nearest replacement pharmacy for prescriptions transferred from a closed Rite Aid.
  • Populate a database of all Rite Aid closures using get_pharmacy_closure_list for offline analysis or compliance records.
  • Automate alerts when all_stores_closed status changes by polling get_site_status.
  • Map old Rite Aid locations to new pharmacy names using the new_name and new_address fields from ZIP-based search results.
  • Look up replacement pharmacy details for a known store number via get_new_pharmacy_for_store to update internal records.
  • Track the geographic spread of prescription transfers by aggregating old_state and new_state fields across the full closure list.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 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 Rite Aid have an official developer API for pharmacy closure or prescription transfer data?+
No. Rite Aid does not publish a public developer API for this data. This Parse API surfaces the closure and transfer information from Rite Aid's prescription transfer page.
What does the `is_nearby` flag mean in `get_pharmacy_closure_by_zip` results?+
When no closed Rite Aid location exists in the exact ZIP code provided, the endpoint falls back to nearby matches and sets is_nearby to true. When results are an exact match for the searched ZIP, is_nearby is false. The zip_code field always echoes back the ZIP that was queried.
Does the API include phone numbers or hours for the replacement pharmacies?+
Not currently. Replacement pharmacy records include name and address fields (new_name, new_address, new_city, new_state) but not phone numbers, hours, or chain affiliation metadata. You can fork this API on Parse and revise it to add an endpoint that enriches replacement pharmacy records with contact or hours data.
Can I look up closures by state or by pharmacy chain rather than by ZIP code?+
Filtering by state or by new pharmacy chain name is not a built-in parameter. The available filters are ZIP code via get_pharmacy_closure_by_zip and store number via get_new_pharmacy_for_store. You can retrieve the full list from get_pharmacy_closure_list and filter client-side by old_state or new_name. Alternatively, you can fork this API on Parse and revise it to add a dedicated state or chain filter endpoint.
How current is the closure data?+
The data reflects what Rite Aid's prescription transfer page reports at query time. The get_site_status endpoint exposes an all_stores_closed boolean and the current page messaging, which can help you detect whether the source page has changed since your last call.
Page content last updated . Spec covers 4 endpoints from riteaid.com.
Related APIs in HealthcareSee all →
goodtherapy.org API
Search and find therapists on GoodTherapy.org by location, name, or specialty, then view detailed profiles including credentials and practice information. Browse available therapists across different locations and filter results by specialty, insurance, language, and more to find the right mental health professional.
radiopaedia.org API
Search medical cases and images on Radiopaedia to find relevant radiology references, and stay updated with the latest articles in medical imaging. Access case details, diagnostic images, and recent content updates all in one place.
tbca.net.br API
Search Brazil's most comprehensive food database to get detailed nutritional profiles, household portion measurements, and statistical composition data for thousands of foods including regional and biodiversity-focused options. Find specific nutrients by component, browse foods by group or type, and access institutional food information all in one place.
accessdata.fda.gov API
Search and retrieve comprehensive FDA premarket approval information for medical devices, including approval status, supplements, applicant details, and advisory committee data. Get instant access to specific PMA records with all relevant approval information in one place.
cabi.org API
Search and retrieve detailed information about plant diseases from the CABI Digital Library, including disease characteristics, symptoms, and management strategies. Find specific disease data by name or browse the comprehensive Compendium to identify and understand plant health issues.
azbar.org API
Search for Arizona lawyers by name, location, specialty, or company to find the right legal professional for your needs. View detailed lawyer profiles including their specializations, licensed jurisdictions, law school, admission history, and any disciplinary records.
arztsuche.116117.de API
Find therapists and doctors across Germany by postal code, radius, or medical specialty, getting detailed results with names, addresses, distances, and contact information. Quickly locate healthcare providers that match your needs using Germany's official 116117 doctor search portal.
zocdoc.com API
Search for doctors and medical practices on Zocdoc by specialty and location. Retrieve provider profiles, accepted insurance, office locations, patient reviews, and appointment availability.