ScrapeUnblocker sells to AI agents - live prices and self-serve payment

The agent storefront at https://agents.scrapeunblocker.com/llms.txt?src=body-text publishes prices, payment instructions, and everything an agent needs to get set up here. Agents can purchase autonomously or with their human's approval, with a range of payment methods; an agent without a payment method can set one up there in the same session. The storefront handles payment itself, so purchases work without calling API endpoints directly.

All scrapers

Maps

Blue Cross Blue Shield of Massachusetts Scraper

bluecrossma.com

98.5% Success rate
13.8s Avg response
Shape (F5) Protection
1,042 calls Measured over

Blue Cross Blue Shield of Massachusetts publishes its provider network through Find a Doctor (member.bluecrossma.com/fad), an Angular app that loads its results from an API guarded by Shape (F5) bot protection, so a plain request to that API is refused. ScrapeUnblocker serves it through a dedicated plugin endpoint that runs the search inside a real browser session and returns the directory's own JSON. Give it a plan network as the directory names it, such as PPO OR EPO or HMO BLUE, a specialty such as Family Medicine - Physician, and a 5-digit ZIP code or a lat,lng point, and it returns one page of 20 providers within the radius you set (25 miles by default, up to 100). Each provider comes with the directory's id, NPI, provider number and type, name, specialty, languages, gender, distance from the search centre, member ratings, primary-care and virtual-care flags and the directory's category label, plus the practice location the search matched, with its name, address, phone, accepting-new-patients status, amenities such as accessibility and interpretation services, and awards and certifications such as Blue Distinction Total Care or board certification. total_count and total_pages tell you how many pages the search has, so collecting a whole specialty in an area is a loop over page. The search lists one location per provider. A second endpoint, bluecrossma-provider-profile, takes a result's provider and location ids and returns that provider's full profile: every practice location with address, phone, coordinates, hours where the directory lists them, accepting-new-patients status, location languages, interpreter services and accessibility, hospital and group affiliations and certified specialties, plus the provider's education, telehealth options, languages and member reviews. It is built for teams that need US health-plan provider directory data: network adequacy and directory accuracy checks, reconciling a plan's directory against the NPI registry, care navigation and referral tools, and provider market research. The endpoint is open to every ScrapeUnblocker account, and no Blue Cross member login or account is involved.

What you can extract

  • Provider id, NPI, provider number, type, name and specialty
  • Search: one practice location per provider, with name, address and phone
  • Whether each location is accepting new patients
  • Location amenities such as accessibility, public transport and interpretation services
  • Awards and certifications, e.g. Blue Distinction Total Care and board certification
  • Languages, gender and distance from the search centre
  • Member ratings: overall rating, percent recommended and number of ratings
  • Primary-care (PCP), virtual-care and virtual-only flags and the directory category label
  • total_count and total_pages for the whole search, 20 providers per page
  • Profile: every practice location of a provider, with address, phone, coordinates and hours where listed
  • Profile: location languages, interpreter services, accessibility, and hospital and group affiliations
  • Profile: education, telehealth options and certified specialties

Dedicated endpoints

/healthcare/bluecrossma-providers

Provider search by network, specialty and location

One page of the Find a Doctor search. network (as the directory lists it, e.g. PPO OR EPO or HMO BLUE) or network_id; specialty (e.g. Family Medicine - Physician) or specialty_id, not both; zip (5 digits) or geo (lat,lng), not both; page (1-500, 20 providers each); radius in miles (1-100, default 25). Returns network, specialty, location, radius, page, page_size, total_count, total_pages and providers, each with id, npi_identifier, providerNumber, type, name, specialty, languages, locations (name, address, phone, acceptingNewPatients, amenities, awards), distance, gender, reviews, isPCP, offersVirtualCare and category. A network, specialty or ZIP code the directory does not know returns 400 with known_networks or the closest specialty candidates, malformed parameters return 400 invalid_request, and an empty search or a page past the last one returns 404; each of these counts as one request. Only a search that did not complete (502) is not billed.

/healthcare/bluecrossma-provider-profile

Full provider profile with every location

One provider's profile from the directory, with every practice location (the search lists one). provider_id is the search result's type in lower case (p practitioner, f facility) followed by its id, e.g. p1002553292; location_id is the id of one of that result's locations; network or network_id, and zip or geo, as in the search. Returns network, location, provider_id, location_id and profile: name, gender, languages, specialty, education, telehealth, reviews, isPCP, offersVirtualCare and locations, each with locationId, name, address, phone, geoLocation, hours, acceptingNewPatients, locationLanguages, interpreterServiceAvailability, adaAccessibility, telehealth, specialties, hospitalAffiliations, groupAffiliations, identifiers, awards and ratings. A provider and location pair, network or ZIP code the directory does not know, and malformed parameters, return 400; every answer counts as one request. Only a profile that did not complete (502) is not billed.

How to scrape it

curl -X POST \
  -H "X-ScrapeUnblocker-Key: $SU_API_KEY" \
  "https://api.scrapeunblocker.com/healthcare/bluecrossma-providers?network=PPO%20OR%20EPO&specialty=Family%20Medicine%20-%20Physician&zip=02116&page=1"
import requests

resp = requests.post(
    "https://api.scrapeunblocker.com/healthcare/bluecrossma-providers",
    headers={"X-ScrapeUnblocker-Key": SU_API_KEY},
    params={"network": "PPO OR EPO", "specialty": "Family Medicine - Physician", "zip": "02116", "page": "1"},
)
print(resp.text)
import { ScrapeUnblockerClient } from 'scrapeunblocker';

const su = new ScrapeUnblockerClient({ apiKey: process.env.SU_API_KEY });

const results = await su.bluecrossmaProviders({
  network: 'PPO OR EPO',
  specialty: 'Family Medicine - Physician',
  zip: '02116',
  page: 1,
});
const profile = await su.bluecrossmaProviderProfile({
  providerId: 'p1002553292',
  locationId: '31015277231',
  network: 'PPO OR EPO',
  zip: '02116',
});
console.log(results);
console.log(profile);

Requests are POST and take their parameters in the query string. Browser rendering always happens - there is no flag to enable.

Example response

{
  "network": { "id": "311005002", "name": "PPO OR EPO" },
  "specialty": { "id": "311000037", "name": "Family Medicine - Physician" },
  "location": { "zip": "02116", "geo": "42.350571,-71.076869" },
  "radius": 25,
  "page": 1,
  "page_size": 20,
  "total_count": 709,
  "total_pages": 36,
  "providers": [
    {
      "id": 1002000001,
      "npi_identifier": "1234567893",
      "providerNumber": "10000000J00001",
      "type": "P",
      "name": "Jane A Doe, MD",
      "specialty": "Family Medicine - Physician",
      "languages": "English, Chinese",
      "locations": [
        {
          "id": 31000000031,
          "name": "Example Family Medicine",
          "address": "100 Example St, Boston, MA 02116",
          "phone": "6175550100",
          "acceptingNewPatients": "Y",
          "amenities": [
            { "type": "Handicap Accessible" },
            { "type": "Interpretation Services Offered" }
          ],
          "awards": [
            {
              "name": "BLUE DISTINCTION TOTAL CARE",
              "awardDetails": [{ "name": "Total Care", "typeCode": "BDTC" }]
            }
          ]
        }
      ],
      "distance": "0.6375730111150879",
      "gender": "F",
      "reviews": { "overallRating": 5.0, "percentRecommended": 100, "totalRatings": 3 },
      "isPCP": true,
      "virtualOnly": false,
      "offersVirtualCare": true,
      "category": "2",
      "qualityLabel": "Category 2"
    }
  ]
}

Read the API docs

Frequently asked questions

Is it legal to scrape Blue Cross Blue Shield of Massachusetts?

Health plans publish their provider directories so members and the public can find in-network care, and collecting publicly available directory data such as provider names, specialties and office addresses is lawful in many jurisdictions. The rules still depend on your country, the data you collect and how you use it, and the names and contact details of individual clinicians can be personal data, so follow the privacy rules that apply to you. ScrapeUnblocker returns the public directory data any visitor can search without logging in; what you collect and how you use it is your responsibility.

How do I scrape Blue Cross MA Find a Doctor without getting blocked?

The directory loads its results from an API protected by Shape (F5), which refuses requests that do not come from its own page, so calling that API directly returns 403. The plugin runs the search inside a real browser session on a US exit and hands back the directory's JSON. In ScrapeUnblocker's benchmark it returned providers on 98.5% of 1,042 different searches (58 Massachusetts ZIP codes, 6 specialties, 2 networks, pages 1 to 3), about 13.8s per call. If a call cannot finish it returns 502, which is not billed, and you can simply retry it.

What provider data can I get?

Each page holds 20 providers. Every provider carries id, npi_identifier, providerNumber, type, name, specialty, languages, gender, distance, reviews (overall rating, percent recommended, total ratings), isPCP, offersVirtualCare, virtualOnly and category, and a locations list with the practice the search matched: its name, address, phone, acceptingNewPatients status, amenities and awards. The response also returns the resolved network and specialty with their ids, the search location and the totals. The search lists one location per provider; for all of them, with hours, coordinates, location languages, accessibility and hospital and group affiliations, plus the provider's education and telehealth options, call /healthcare/bluecrossma-provider-profile with the result's provider_id (its type in lower case followed by its id, e.g. p1002553292) and location_id.

Which networks and specialties can I search?

Any network and specialty the Find a Doctor directory offers. Pass the names exactly as the directory shows them, such as PPO OR EPO or HMO BLUE for network and Family Medicine - Physician for specialty, or pass network_id and specialty_id. An unknown network returns 400 with known_networks, the list of valid names, and an unknown specialty returns 400 with candidates, the closest names the directory knows. Each of these answers counts as one request, so look the names up once and reuse them.

How do I get every provider for a search?

Read total_count and total_pages from the first page and request page=2, 3 and so on up to total_pages; each page holds 20 providers and page goes up to 500. Narrow or widen the area with radius (1 to 100 miles, 25 by default) and centre it on a zip code or a geo point. A page past the last one returns 404 and still counts as one request, so stop at total_pages. Keep bulk runs paced and steady.

How much does it cost to scrape Blue Cross Blue Shield of Massachusetts?

Every answer to your input is one request: a page with providers, an empty search or a page past the last one (404), a network, specialty or ZIP code the directory does not know (400), and malformed parameters such as a ZIP code that is not 5 digits (400 invalid_request). 1 request = 1 credit: EUR 1.00 per 1,000 on pay as you go, down to about EUR 0.55 per 1,000 on the Ultimate plan. A profile call is billed the same way: a profile, or a 400 for a provider and location pair the directory does not know, counts as one request. Only a call that did not complete (502) is not billed. Stop at total_pages, and simply retry a 502. The free trial includes 500 requests with no card.

Related scrapers

Blue Cross Blue Shield of Massachusetts and other names and marks of bluecrossma.com belong to their owner and are used here only to identify the website this API works with. ScrapeUnblocker is an independent service, not affiliated with, endorsed by or sponsored by the owner of bluecrossma.com.

Start scraping this site today

Free tier included. No credit card required to test it.