# X Ads API

> 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.

Source: https://talira.ai/catalog/x-ads-api-sq1jrkyh
Every listing: https://talira.ai/catalog.md

- Kind: SaaS
- Types: API, MCP server
- Categories: [marketing / advertising / apis](https://talira.ai/categories/marketing/advertising/apis), [marketing / advertising / agent access](https://talira.ai/categories/marketing/advertising/agent-access)
- Licence: proprietary[^1]
- Self-hostable: no[^1]
- Cloud hosted: yes[^1]
- API: yes[^1][^2]
- MCP server: yes[^1][^2]
- Supports: [MCP](https://talira.ai/standards/mcp.md)[^2]
- Made by: [X](https://talira.ai/orgs/x-corp.md)
- Extends: [Cursor](https://talira.ai/ecosystems/cursor.md#ext-zxc6yk9b)

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](https://talira.ai/catalog/x-api-8ygnp9sf.md) for posts and users.

## Links

- Website: https://docs.x.com/x-ads-api/introduction
- Docs: https://docs.x.com/x-ads-api/introduction

## 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

## Trust

Overall: 0.34 out of 1.
Signals: backing 0.30, extensibility 0.40.

- made by X
- has an MCP server for agents

## Alternatives

- [Meta Ads](https://talira.ai/catalog/meta-ads-bmj213r2.md): 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](https://talira.ai/catalog/google-ads-api-4r237h6h.md): Programmatic interface to Google Ads for managing large or complex accounts and campaigns
- [TikTok for Business](https://talira.ai/catalog/tiktok-for-business-gcr8fjbq.md): TikTok's advertising platform: Ads Manager, Business Center, creative tools, measurement and its Marketing API

## Sources

[^1]: https://docs.x.com/x-ads-api/introduction (checked 29 Nov 2026)
[^2]: https://docs.x.com/x-ads-api/mcp (checked 29 Nov 2026)
