The Google Events API allows users to retrieve information about events based on specified search terms, locations, and various filter options.Documentation Index
Fetch the complete documentation index at: https://docs.hasdata.com/llms.txt
Use this file to discover all available pages before exploring further.
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.
Request Cost and API Credits
Each request to the Google Events API consumes API Credits from your account balance.- Cost per request: 5 API Credits
- Credits are deducted only for successful requests.
- Your total available credits depend on your active plan.
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. |