Keyword suggestions
dataforseo/labs_google_keyword_suggestions_liveExpand one seed keyword into longer phrases that contain it.
- call
- Price: $0.0288
- DataForSEO
- 3 min
Overview
Takes a single seed phrase and returns longer keywords that include it, drawn from a keyword database rather than generated. Each suggestion arrives with its own demand and monetisation metrics: average monthly volume, a twelve-month history, advertiser competition as both a score and a level, average cost per click, and the bid range for top-of-page placement. Metrics for the seed itself can be included for comparison, and near-duplicate synonyms collapsed to core terms.
The seed phrase and one row per suggestion with its volume, competition, cost per click, and bid range.
Input
These go in the input object of the run request.
| Field | Type | Required | Description |
|---|---|---|---|
| keyword | string | Yes | The seed phrase to expand. |
| location_code | integer | No | Which market to report on; omit for every market on record. |
| language_code | string | No | Which language to report on; omit to use the market's dominant language. |
| limit | integer | No | How many rows to return. Default: 100Maximum: 1000 |
| include_seed_keyword | boolean | No | Also return metrics for the seed phrase itself. Default: false |
| include_serp_info | boolean | No | Attach a summary of each keyword's results page. Default: false |
Requests up to 1 MB.
Example
Use your own API key and a saved idempotency key for each new job. Replace image or media placeholders with your own publicly reachable HTTPS URLs. Keep the same key and request body when recovering a timeout.
# Set once per job; reuse this key and the identical body after a timeout.
: "${AGENTSKY_IDEMPOTENCY_KEY:?Set a unique, saved key for this job}"
curl --fail-with-body https://gateway.agentsky.dev/v1/run \
-H "authorization: Bearer $AGENTSKY_API_KEY" \
-H "content-type: application/json" \
-H "Idempotency-Key: $AGENTSKY_IDEMPOTENCY_KEY" \
-d '{"provider":"dataforseo","endpoint":"labs_google_keyword_suggestions_live","input":{"keyword":"phone case","location_code":2840,"language_code":"en","limit":100}}'
# If status is READY/RUNNING, poll GET /v1/runs/{runId} with the same API key.Pricing
$0.0288 per call using your plan when signed in. Reported usage is billed under your account plan. Read the final customer charge from price.amount.value after the run finishes. A RUNNING response is not the final bill.
