Get Your API Key
Sign in at hasdata.com, go to your account settings, and copy your API key. All requests must include your key in thex-api-key header.
Make Your First Request
API Parameters
| Parameter | Default Value | Required | Description |
|---|---|---|---|
location | New York | Yes | The location to search for listings. |
checkIn | 2026-01-01 | Yes | The check-in date for the listings. |
checkOut | 2026-01-05 | No | The check-out date for the listings. |
adults | - | No | Number of adults. |
children | - | No | Number of children. |
infants | - | No | Number of infants. |
pets | - | No | Number of pets. |
nextPageToken | - | No | The token used to retrieve the next page of results. |