Inputs
SelectableOption
Output
Type:Dict
Returns keyword volume data points and related keyword suggestions.
Fields: dynamic (depend on the inputs)Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Returns X post volume for a set of keywords plus 30 related keyword suggestions, for planning keyword targeting
| App | X Ads |
| Operation ID | x_ads_get_keyword_insights |
| Type | Action |
| Connection | x_ads (required) |
| Credits per run | 1 |
| Agent / MCP tool | Yes |
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
keywords | string or array of string | Yes | - | Keywords to look up post volume for (list or comma-separated). All keywords are OR’ed together. X also returns 30 related keyword suggestions. |
granularity | enum (DAY, HOUR) | No | DAY | Data point granularity: DAY (default) or HOUR. |
time_range | string or SelectableOption | No | {'value': 'last_7_days', 'label': 'Last 7 days'} | Period to measure: ‘last_7_days’ (default, X’s maximum window), ‘last_3_days’, ‘today’, or ‘yesterday’. |
negative_keywords | string or array of string | No | - | Keywords to exclude from the search (list or comma-separated). |
location | string | No | - | A location targeting value from x_ads_search_targeting (LOCATION) to scope results to one country. |
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
value | string | Yes | - | |
label | string | Yes | - |
Dict
Returns keyword volume data points and related keyword suggestions.
Fields: dynamic (depend on the inputs)