DataForSEO
SEO, search-engine results, keyword research, backlinks and AI visibility data.
List of Google Events Locations for SERP API
Returns the events Google surfaces for a query on Google. Returns keyword, type, se_domain, location_code, language_code, check_url, datetime, spell, refinement_chips, item_types, items_count and items. Wrapped in DataForSEO's envelope: data in tasks[0].result, outcome in tasks[0].status_code - a rejected request still returns HTTP 200.
- 类型: object200
Successful response
- 类型: numbercost
Total tasks cost, USD
- 类型: integerstatus
_code General status code
- 类型: stringstatus
_message General informational message
- 类型: array string[]tasks
Array of tasks
- 类型: integertasks
_count The number of tasks in the tasks array
- 类型: integertasks
_error The number of tasks in the tasks array returned with an error
- 类型: array string[]tasks[]
.result Array of available locations
- 类型: stringtasks[]
.result[] .country _iso _code Country ISO code
- 类型: integertasks[]
.result[] .location _code Location code
- 类型: integertasks[]
.result[] .location _code _parent Parent location code
- 类型: stringtasks[]
.result[] .location _name Location name
- 类型: stringtime
Execution time, seconds
- 类型: stringversion
The current version of the API
application/json - 400
Bad request
- 401
Unauthorized
- 402
The request cannot proceed because a billing requirement is not met.
- 403
The account is not permitted to perform this operation.
- 429
Rate limit exceeded
- 500
Internal server error
- 502
The service could not complete the request.
- 503
The API or billing service is temporarily unavailable.
- 504
The service timed out while processing the request.
- default
The operation failed. Keep the response request ID when contacting Felo support.
curl https://openapi.felo.ai/v1/beta/dataforseo/serp/google/events/locations \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"version": "string",
"status_code": 1,
"status_message": "string",
"time": "string",
"cost": 1,
"tasks_count": 1,
"tasks_error": 1,
"tasks": [
"string"
],
"tasks[].result": [
"string"
],
"tasks[].result[].location_code": 1,
"tasks[].result[].location_name": "string",
"tasks[].result[].location_code_parent": 1,
"tasks[].result[].country_iso_code": "string"
}