Skip to content

X Ads post previews

Get rendered HTML previews for published or scheduled posts Native X fields and pagination are preserved; monetary fields ending in _micro are millionths. Works on your own X Ads account, connected through Get MCP Ads. Needs account id, tweet ids and tweet type.

Inputs

3 required
Account ID
X Ads account ID selected in SourcesRequired · account_id
Tweet IDs
Comma-separated post IDs (or scheduled post IDs, per tweet_type) to preview (max 200)Required · tweet_ids
Tweet type
Type of the IDs in tweet_ids (PUBLISHED, DRAFT or SCHEDULED)Required · tweet_type
User ID
Promotable user the posts belong to (defaults to the account's own user); needed when previewing ..Optional · user_id
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

X Ads reporting

Connect your agent to 2,400+ tools for free

Sign in with Google or GitHub. No card required.