Skip to main content
POST
/
api
/
cms_medicare
/
datasets
/
rows
/cms_medicare/datasets/rows
curl --request POST \
  --url https://api.anysite.io/api/cms_medicare/datasets/rows \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "dataset": "<string>",
  "count": 2,
  "timeout": 300,
  "conditions": [
    {
      "column": "<string>",
      "value": "<string>",
      "timeout": 300,
      "operator": "="
    }
  ],
  "sorts": [
    {
      "column": "<string>",
      "timeout": 300,
      "order": "asc"
    }
  ],
  "properties": [
    "facility_id",
    "facility_name"
  ]
}
'
[
  {
    "@type": "@cms_medicare_provider_row"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
dataset
string
required

Dataset slug or distribution id

Minimum string length: 1
Example:

"dgck-syfz"

count
integer
required

Number of provider rows to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
conditions
CmsMedicareQueryCondition · object[] | null

Column filters applied to the rows (combined with AND)

sorts
CmsMedicareQuerySort · object[] | null

Sorting applied to the rows

properties
string[] | null

Restrict the returned columns to this subset

Example:
["facility_id", "facility_name"]

Response

Successful Response

@type
string
default:@cms_medicare_provider_row