# Open Payments Physician Payments Scraper

**Use case:** 

Scrape CMS Open Payments individual provider records with physician name, NPI, specialty, city, and industry payment details. Export to JSON or CSV.

## Input

```json
{
  "startUrl": "https://openpaymentsdata.cms.gov/search?searchType=Provider&Country=UNITED+STATES",
  "searchType": "individualProvider",
  "maxItems": 50
}
```

## Output

```json
{
  "entityProfileId": {
    "label": "Profile ID",
    "format": "text"
  },
  "entityDetailsUrl": {
    "label": "Details URL",
    "format": "link"
  },
  "entityFirstName": {
    "label": "First Name",
    "format": "text"
  },
  "entityLastName": {
    "label": "Last Name",
    "format": "text"
  },
  "entityNpi": {
    "label": "NPI",
    "format": "text"
  },
  "entityProfileType": {
    "label": "Provider Type",
    "format": "text"
  },
  "entitySpecialty": {
    "label": "Specialty",
    "format": "text"
  },
  "entityCity": {
    "label": "City",
    "format": "text"
  },
  "entityState": {
    "label": "State",
    "format": "text"
  },
  "entityZip": {
    "label": "Zip Code",
    "format": "text"
  },
  "entityCountry": {
    "label": "Country",
    "format": "text"
  },
  "entityAddressLines": {
    "label": "Address",
    "format": "array"
  },
  "recipientAlternateFirstNames": {
    "label": "Alternate First Names",
    "format": "array"
  },
  "recipientAlternateLastNames": {
    "label": "Alternate Last Names",
    "format": "array"
  },
  "recipientLicenseStateCodes": {
    "label": "License State Codes",
    "format": "array"
  },
  "hasMultipleIds": {
    "label": "Has Multiple IDs",
    "format": "text"
  },
  "entitySummaryByAvailableYear": {
    "label": "Summary By Year",
    "format": "array"
  },
  "entityCurrentFilters": {
    "label": "Current Filters",
    "format": "object"
  },
  "entityFilteredSummaryByYear": {
    "label": "Filtered Summary By Year",
    "format": "array"
  },
  "entityFilteredNationalSummaryByYear": {
    "label": "Filtered National Summary By Year",
    "format": "array"
  },
  "entityFilteredNaturesOfPayment": {
    "label": "Natures Of Payment",
    "format": "array"
  },
  "entityTopFilteredAdditionalParties": {
    "label": "Top Additional Parties",
    "format": "array"
  },
  "scrapedAt": {
    "label": "Scraped At",
    "format": "date"
  },
  "error": {
    "label": "Error",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [OpenPayments Scraper](https://apify.com/parseforge/openpayments-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/parseforge/openpayments-scraper) to learn more, explore other use cases, and run it yourself.