US Pharmacy Directory Scraper by State, City and ZIP avatar

US Pharmacy Directory Scraper by State, City and ZIP

Pricing

from $5.00 / 1,000 results

Go to Apify Store
US Pharmacy Directory Scraper by State, City and ZIP

US Pharmacy Directory Scraper by State, City and ZIP

Pull US pharmacies with address, phone, owner contact, license and type from the public NPI Registry, filtered by state, city, ZIP prefix, name or pharmacy type, priced per result.

Pricing

from $5.00 / 1,000 results

Rating

0.0

(0)

Developer

M Usama

M Usama

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Categories

Features

Limited permissions

Share

Data source

The public NPI Registry API run by CMS (npiregistry.cms.hhs.gov), filtered to organizations with a pharmacy taxonomy (3336), updated by CMS from provider enrollments.

What does Pharmacy Directory Scraper do?

It returns US pharmacies, independent and chain, with the fields lead lists need: name, doing business as name, practice address, phone, fax, authorized official and title, state license number, pharmacy type and NPI. Filter by state, city, ZIP prefix, name prefix or pharmacy type so each run stays small. Pricing is per result.

Why use it?

  • Build local lead lists of independent pharmacies by state, city or ZIP area for sales outreach.
  • Pull every location of a chain by name prefix (for example CVS or Walgreens).
  • Find specialty, compounding, long term care or mail order pharmacies for suppliers and service vendors.
  • Replace manual searches on the registry website and stale purchased lists.

How to use it

  1. Open the Actor and set the filters.
  2. Click Start. Download results as JSON, CSV or Excel, or read them through the API.
  3. Add a Schedule and an Integration (Slack, Google Sheets, webhook) to get new records automatically.

Input

FieldDescription
statesTwo letter state or territory codes. One query set runs per state. Default ["RI"].
cityOptional exact city name.
postalCodePrefixOptional ZIP prefix such as 029 or 02903. Use it to cover a county, since the registry has no county field.
organizationNameOptional pharmacy name prefix.
pharmacyTypesOptional list of pharmacy subtypes (community/retail, long term care, specialty, compounding, and more). Empty means all.
maxResultsHard stop for the run. You are billed per result, so this caps the cost.
proxyConfigurationApify proxy is recommended for larger runs.

Example input:

{ "states": ["RI"], "city": "Providence", "pharmacyTypes": ["Community/Retail Pharmacy"], "maxResults": 100 }

Output

Every record has the same shape:

{
"id": "1003561655",
"npi": "1003561655",
"name": "Aj Pharmacy Store 02",
"doingBusinessAs": "Aj Pharmacy Store 02",
"pharmacyType": "Pharmacy, Community/Retail Pharmacy",
"phone": "401-366-2800",
"address": "468 Smithfield Rd",
"city": "North Providence",
"state": "RI",
"zip": "02904",
"authorizedOfficial": "Charles Agwunobi",
"authorizedOfficialTitle": "Owner",
"authorizedOfficialPhone": "4014995427",
"taxonomyCode": "3336C0003X",
"status": "active",
"enumerationDate": "2022-02-12",
"lastUpdated": "2022-09-08",
"npiRegistryUrl": "https://npiregistry.cms.hhs.gov/provider-view/1003561655"
}
FieldMeaning
idStable key (the NPI), safe for deduplication between runs
name, doingBusinessAsLegal name and trade name
pharmacyType, taxonomyCodePharmacy subtype and its taxonomy code
phone, faxPractice location numbers
address, city, state, zip, zip4Practice location
authorizedOfficial, authorizedOfficialTitle, authorizedOfficialPhoneBusiness contact listed on the NPI record
licenseNumber, licenseStateState license, when the pharmacy reported one
status, enumerationDate, lastUpdatedRegistry record status and dates
mailingAddress, npiRegistryUrlMailing address and the source record

Pricing

Pay per event: a small fee when a run starts, then a fixed price per result returned. You only pay for records that pass your filters. Set maxResults to cap any run.

Limitations

  • The registry has no county field. Use ZIP prefixes to cover a county.
  • The registry returns at most 1,200 results per query. For a large state, add a city, ZIP prefix or pharmacy type and run several queries.
  • NCPDP numbers and store hours are not published by the registry, so they are not included.
  • Data is only as current as pharmacy self reporting to CMS. Some records have no phone or license number.

FAQ

Is this legal? The Actor reads listings the site publishes for any visitor without a login and stores only business information published for that purpose. You are responsible for how you use the data.

Something is missing or broken? Open an issue in the Issues tab; response time is usually under a day.