X Ads account stats
Get synchronous analytics (impressions, engagements, spend) for an ads account Native X fields and pagination are preserved; monetary fields ending in _micro. Works on your own X Ads account, connected through Get MCP Ads. Needs account id, end time, entity and more.
Inputs
- Account ID
- X Ads account ID selected in SourcesRequired · account_id
- End time
- ISO 8601 end of the metrics window (exclusive)Required · end_time
- Entity
- Entity type to fetch metrics forRequired · entity
- Entity IDs
- Comma-separated IDs of the entities to fetch metrics for (max 20)Required · entity_ids
- Granularity
- Granularity of the returned time series (DAY, HOUR or TOTAL)Required · granularity
- Metric groups
- Comma-separated metric groups, e.g. ENGAGEMENT,BILLING,VIDEO (max 10; MOBILE_CONVERSION groups mu..Required · metric_groups
- Placement
- Placement to scope the metrics to (ALL_ON_TWITTER or PUBLISHER_NETWORK)Required · placement
- Start time
- ISO 8601 start of the metrics window, e.g. 2026-07-01T00:00:00ZRequired · start_time
- 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.