# 2024 California Open Payments Scraper

**Use case:** 

Scrape CMS Open Payments records for California by year, payment type, NPI, company, and state with this Apify extractor.

## Input

```json
{
  "years": [
    2024
  ],
  "datasetTypes": [
    "general"
  ],
  "datasetIdentifiers": [],
  "recipientNpi": "",
  "recipientName": "",
  "companyName": "",
  "state": "CA",
  "metadataOnly": false,
  "csvUrlsOnly": false,
  "maxItems": 100
}
```

## Output

```json
{
  "recordType": {
    "label": "Record type"
  },
  "datasetYear": {
    "label": "Year"
  },
  "datasetType": {
    "label": "Dataset type"
  },
  "recipientName": {
    "label": "Recipient"
  },
  "recipientNpi": {
    "label": "NPI"
  },
  "recipientState": {
    "label": "State"
  },
  "companyName": {
    "label": "Company"
  },
  "paymentAmountUsd": {
    "label": "Payment USD"
  },
  "paymentDate": {
    "label": "Payment date"
  },
  "paymentNature": {
    "label": "Nature"
  },
  "datasetTitle": {
    "label": "Dataset"
  },
  "csvDownloadUrl": {
    "label": "CSV URL"
  },
  "sourceUrl": {
    "label": "Source URL"
  },
  "scrapedAt": {
    "label": "Scraped at"
  }
}
```

## About this Actor

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