Markets Overview
get_marketsGet the Markets dashboard table for a date range, including real geo ad spend, blended fallback spend, revenue, net profit, margins, ROAS, POAS, CAC, and spend-without-orders markets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of markets to return after sorting (default 50, hard-capped at 100). | |
| sort_by | No | Metric to sort markets by, highest first. 'dashboard' (default) uses the dashboard's own net-profit-based ordering; other values sort directly by that metric: net_profit, revenue, orders, spend, net_margin_pct, roas, poas, cac. | |
| end_date | Yes | End of the date range in YYYY-MM-DD format, resolved in the tenant's timezone (inclusive). | |
| start_date | Yes | Start of the date range in YYYY-MM-DD format, resolved in the tenant's timezone (inclusive); clamped forward to the plan's history window if it reaches further back than allowed. | |
| country_codes | No | Restrict results to these ISO 3166-1 alpha-2 shipping country codes (up to 50); omit to return every market with activity in the period. | |
| include_spend_without_orders | No | Include markets that had ad spend but no orders in the period (default true); set to false to hide spend-without-orders markets. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _meta | No | ||
| period | No | ||
| filters | No | ||
| markets | No | ||
| summary | No | ||
| _message | No | ||
| coverage | No | ||
| currency | No | ||
| metadata | No | ||
| _truncated | No | ||
| _tenant_context | No | ||
| history_clamped | No | Null when the requested range fell inside the plan history window. | |
| total_matching_markets | No | Markets matching the filters before `limit` was applied. |