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
1mo 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 →
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.
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.
blinkhealth.com API
Find affordable medications by comparing prices across pharmacies, viewing available formulations, and locating nearby participating locations. Search drugs, discover generic alternatives, and check preferred drug lists to save money on prescriptions.
chemistwarehouse.co.nz API
Search for medications and health products at Chemist Warehouse NZ, browse categories, view detailed product information, and find nearby store locations. Get access to product pricing, descriptions, and store addresses all in one place.
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.
therapytribe.com API
Search for therapists in your area and access their credentials, specialties, pricing, and client focus areas all in one place. Find the right mental health professional by filtering through available locations and detailed therapy type information.
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.
shoprite.co.za API
Access product listings, specials, categories, and store information from Shoprite.co.za. Search products, browse departments, retrieve pricing and availability by store location, and compare prices across retailers.