Bulk Keyword Metrics
keyword_metricsBulk keyword analysis: search volume, keyword difficulty, CPC, competition, intent and the 12-month trend of up to 100 keywords you give, in one market and one call, from DataForSEO Labs (Google Ads data). rows answers every keyword in the order given (duplicates and case removed; measured, no_data and unavailable count them): status MEASURED with search_volume (monthly average of the last 12 months), keyword_difficulty (0-100), cpc (USD), competition (0-1) and competition_level, intent, monthly_searches and trend (% change of the newest month: yearly against the same month a year earlier, the change every DataFluxor page shows; quarterly against 2 months before; monthly against the month before), serp_features, source_updated_at and fetched_at; NOT_IN_DATABASE when the source holds no data for it and NO_VOLUME when Google Ads reports too few searches to measure (both free, counted in no_data); NOT_MEASURED when it is not stored and measure is false; UNAVAILABLE with message when the source could not answer (free). A keyword the Labs database lacks may get search_volume, cpc and competition from Google Ads (volume_provider says so) without difficulty or intent. A missing figure is null, never 0. Price: 1 credit per keyword newly measured with data; a keyword any account measured in the last 30 days is free, and so are keywords with no data and failed calls. credits_to_measure is the most the keywords not stored would cost; measure false only reads what is stored and never charges. max_credits caps the call: when the keywords not stored would cost more, nothing is bought (PRICE_ABOVE_LIMIT). allow_older true: a keyword with no answer from its window (30 days; 48 hours for a Google Ads-only answer) is answered with the older answer DataFluxor kept (up to 400 days after it was bought) instead of NOT_MEASURED, free, marked stale true with its fetched_at and age_days and listed in stale_keywords; credits_to_measure still prices today's figures. With measure, today's figures are still bought, and the older answer stands in only when the purchase is refused or the source fails (purchase_refused says why; nothing charged). For ideas around one seed keyword use keyword_research; for everything about one keyword (its Google top 10, questions, related searches) the workspace Keyword overview.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"keywords": "<keywords>"
},
"name": "keyword_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country | No | Two-letter market code, such as US or GB (UK is read as GB). | US |
| measure | No | false: only read stored figures, never charge (credits_to_measure quotes the rest). | |
| keywords | Yes | 1 to 100 keywords, such as ["crm software", "best crm for small business"]. | |
| language | No | Two-letter language code, such as en or de. | en |
| verbosity | No | concise: short summary of the answer; full: the whole answer. Only shapes the output. | |
| allow_older | No | Show an older kept answer (stale, dated) for a keyword with none from its window; free. | |
| max_credits | No | Optional. The most this call may charge; when the keywords not stored would cost more (1 credit each), nothing is bought. | |
| idempotency_key | No | Optional. A repeated identical call is answered again at no charge. |