Search X Ads targeting locations
Search targetable locations by name. Works on your own X Ads account, connected through Get MCP Ads. Takes count, country code, cursor and more, all optional.
Inputs
- Count
- Number of records to return per page (1-1000)Optional · count
- Country code
- Two-letter ISO country code to scope results to, e.g. USOptional · country_code
- Cursor
- Pagination cursor from a previous responseOptional · cursor
- Location type
- Scope results to one location granularity (COUNTRIES, REGIONS, METROS, CITIES or POSTAL_CODES)Optional · location_type
- Q
- Free-text location name to search for, e.g. "united states" or "london"Optional · q
- Workspace ID
- Authorized workspace ID from list_accounts/list_workspacesOptional · workspace_id
Pricing
- Price
- $0.005 per call
- Billing
- The provider’s price, with no markup. Billed for measured usage.
Call
Your agent reads the schema and the price with inspect_tool before it runs the tool.
- MCP call
- cURL command
- TypeScript
- Tool ID
Alternatives
Connect your agent to 2,400+ tools for free
Sign in with Google or GitHub. No card required.