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 |
|---|---|---|---|
q | Events in New York | Yes | Specify the search term for which you want to scrape the SERP. |
location | Austin,Texas,United States | No | Google canonical location for the search. |
uule | - | No | The encoded location parameter. |
domain | - | No | Google domain to use. Default is google.com. |
gl | - | No | The two-letter country code for the country you want to limit the search to. |
hl | - | No | The two-letter language code for the language you want to use for the search. |
start | - | No | This parameter specifies the number of search results to skip and is used for implementing pagination. For example, a value of 0 (default) indicates the first page of results, 10 refers to the second page, and 20 to the third page. |
htichips | - | No | Filter parameter for refining event search results. Supports various filters for events. Multiple filters can be passed using a comma. The available filters are: - date:today: Today’s Events- date:tomorrow: Tomorrow’s Events- date:week: This Week’s Events- date:weekend: This Weekend’s Events- date:next_week: Next Week’s Events- date:month: This Month’s Events- date:next_month: Next Month’s Events- event_type:Virtual-Event: Online EventsFor example, to filter for today’s online events, use: event_type:Virtual-Event,date:today. |