Execute an asynchronous query against the keyword rankings dataset to get highest ranking URL per keyword. This endpoint follows the asynchronous query flow.
executionId.executionId to check status. Returns 200 with results when COMPLETED.executionId and nextPageId from the previous response.nextPageId returned in the previous response. Parallel pagination is not supported.API Key as a query parameter
Request signature computed using API key and secret. Valid for 5 minutes after creation.
API Key as an HTTP header (must match apiKey query parameter)
Submit a new query with filters and parameters. Returns an executionId to track the query.
Required account ID to filter results.
x >= 1101
Start date of the time period (yyyy-MM-dd).
If collection_frequency is WEEKLY or not set, this must be a Sunday.
Maximum date range is 92 days.
"2025-01-01"
End date of the time period (yyyy-MM-dd).
If collection_frequency is WEEKLY or not set, this must be a Saturday.
"2025-03-03"
Frequency of data collection.
DAILY, WEEKLY "DAILY"
(Optional) list of types of search results to include (e.g., STANDARD_LINK).
["STANDARD_LINK"](Optional) list of domains to filter SERP items by.
["conductor.com", "seo.com"](Optional) Whether to include MSV (Monthly Search Volume) data.
true
(Optional) list of keyword group IDs to filter results. If provided, this takes priority over keyword_group_names.
x >= 1[1, 204, 13](Optional) list of keyword group names to filter results. Used only if keyword_group_ids is empty.
["Brand", "Non-Brand", "Category"](Optional) list of web property IDs to filter results.
x >= 1[122556, 987654](Optional) list of rank source IDs to filter results.
x >= 1[101, 205, 333](Optional) list of device types to filter (case-insensitive).
DESKTOP, SMARTPHONE, TABLET ["DESKTOP", "SMARTPHONE"](Optional) list of locodes to filter (case-insensitive). Based on ISO names from a predefined dictionary. A locode can represent a country ("US"), city ("US NYC"), state ("PL-02"), or a specific location (e.g., an airport).
2 - 12["US", "CA", "US NYC", "US-TX"](Optional) list of search engine country codes to filter (case-insensitive).
2["US", "CA"](Optional) list of search engine language codes to filter (case-insensitive; e.g., en, zh-Hans).
2 - 7["en", "zh-Hans"]Query completed successfully (returned when polling with queryExecutionId)
List of query results. Each item is a positional tuple row.
Available only when executionState is COMPLETED.
Positional tuple row for highest ranking URL per keyword results. Column order matches the schema metadata. All values are returned as strings.
26 - 31 elementsCurrent execution state of the query:
IN_PROGRESS: The query is still running. Poll again later.COMPLETED: The query finished successfully. Results are available.FAILED: The query failed. Check the error message if available.IN_PROGRESS, COMPLETED, FAILED Unique identifier for the query execution. Valid for 7 days. Use this for polling and pagination.
Unique identifier for the HTTP request, useful for support and debugging.
Token for retrieving the next page of results. Available as long as the executionId is valid (7 days).
If null, there are no more pages available.
Total number of rows across all pages (if available).
Column metadata providing the name and type for each position in the results tuple.