X's advertising API: create and manage ad campaigns, audiences, creatives and lead forms, track conversions and pull performance stats, with a remote MCP server for agents.
SaaSMCP
The X Ads API connects developers to X's advertising platform: create, schedule and manage campaigns and line items, build custom audiences from X, web or mobile data, draft and publish creatives with cards and media, run lead generation forms, measure conversions through the web and app Conversion APIs, and pull ad analytics through synchronous and asynchronous endpoints. Access is by application through X's Ads API access form. Ads MCP is a remote MCP server at ads-api.x.com/mcp with 74 tools, authenticated with the user's own OAuth 2 token; campaigns and line items it creates start paused. It's separate from the X API for posts and users.
Problems it solves
- create and manage my ad campaigns on X from code
- let my AI agent pull ad performance stats and adjust campaigns on X
- send website conversions to X for ad measurement
Features
- campaign, line item and targeting management
- custom audiences and do-not-reach lists
- creatives, cards and media library
- lead generation forms
- web and app Conversion APIs
- ad analytics endpoints
- remote MCP server with 74 tools; new campaigns start paused
Capabilities
| Has an API | plan not known |
|---|---|
| Has an MCP server | plan not known |
Alternatives
The same job
These do what X Ads API does.
- Meta Ads Meta's advertising platform for Facebook and Instagram, with a hosted MCP server, in beta, for managing campaigns, audiences and catalogs and pulling performance insights.
- Google Ads API Programmatic interface to Google Ads for managing large or complex accounts and campaigns
- TikTok for Business TikTok's advertising platform: Ads Manager, Business Center, creative tools, measurement and its Marketing API
