Head to head · Ad reporting · October 2026 research run
LinkedIn Marketing APIs vs X Ads API
LinkedIn Marketing APIs scores 60.5 (C) on agent readiness against X Ads API's 58.7 (C), and leads in 6 of 7 scored categories. X Ads API leads on reliability. Both do ad reporting.
Best advertising platform APIs for AI agents · All 45 advertising comparisons
Which one, for what
Best for An agent that reports on and manages LinkedIn campaigns for accounts its operator administers, especially read-only reporting, which has no account limit on Development tier.
Ahead on
- Payments & pricing, 45 against 30
- Transparency & trust, 69 against 63
Watch for
Standard rate limits are not published. An app sees its limit in the Developer Portal only after calling the endpoint
Best for An agent that manages or reports on X campaigns for an advertiser with an approved developer app, especially through the MCP server, where scopes separate reads from writes and writes start paused.
Ahead on
- Reliability, 75 against 66
Also in its favour
- A hosted endpoint, with nothing to install
Watch for
No OpenAPI file covers the Ads API. The published file (version 2.170, 178 paths) describes api.x.com only
Why the edge
Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.
Payments & pricing LinkedIn Marketing APIs +15
LinkedIn Marketing APIs 45
No x402, MPP or L402 (0). No fee for API access appears in the developer docs, and no docs page states a price or says the API is free; the API and Marketing API terms on www.linkedin.com weren't readable to us. Ad spend is set by campaign budgets and billed to the ad account (10). A developer application costs nothing and a test ad account needs no card or payment details (20). A person has to create a LinkedIn Page and a developer application, apply for the product and give OAuth consent in a browser (0). 0+10+20+0 = 30. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 30 is 45.
X Ads API 30
No x402, MPP or L402 (0). No page read states a fee for Ads API access, and the X API pricing page does not mention the Ads API. Advertising prices were not read (10). The sandbox creates test accounts and funding instruments at no stated cost. Whether a developer account or an Ads app needs a payment card was not established (10). A person has to create a developer app, request Ads API access and consent in a browser (0). Total 20. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 20 is 30.
Reliability X Ads API +9
LinkedIn Marketing APIs 66
Read with the hosted rubric, grading the public REST API. Statuspage at linkedin-apistatus.com with incident history back to 2023, covering every LinkedIn API and listing no components (15). Its history feed lists no incident after 18 June 2026, so the 90 days from 4 August to 2 November are clean (30). The rate-limit page says standard limits are not published and are shown per endpoint in the Developer Portal after a first call. Published numbers are 45 million metric values per 5 minutes and 15,000 elements a response on adAnalytics (6). 429 is documented, 503 and 504 carry advice to retry, and no Retry-After header, backoff schedule or idempotency key was found (5). No SLA was found in the documentation (0). The Advertising API is generally available on version 202610 (10). 15+30+6+5+0+10 = 66.
X Ads API 75
Read with the hosted lines, grading the public REST API. A status page is linked at developer.x.com/status, though it is script-drawn and its component list was not read on 9 October or 4 November, so whether it has an Ads API component is not established (15 of 20, an earlier partial kept). The incident history at docs.x.com/incidents says it covers the Ads API. Its latest entry ended on 1 July 2026, so the 90 days to 4 November show none, and no entry in 2026 names the Ads API. Whether Ads API incidents are recorded there is not established (25 of 30, an earlier partial kept). Rate limits are published by endpoint type, such as 450 writes a minute and 10,000 core entity reads per 15 minutes (15). The analytics guide says to wait for x-rate-limit-reset after a 429 and for retry-after after a 503, per the 9 October check. No idempotency key or safe-retry guidance for writes was found, so backoff alone (10). No SLA was found (0). Version 12 is the current, generally available version (10). Total 75.
Transparency & trust LinkedIn Marketing APIs +6
LinkedIn Marketing APIs 69
Closed API under LinkedIn's API terms of use and Marketing API terms, which sit on www.linkedin.com and weren't readable to us on 2 November. The licence line is held at 15 with the terms unread, as whatsapp-cloud-api, and the clients carry LinkedIn's own software licence (15). The data storage requirements page (updated 2 February 2026) sets how long developers may keep API data, and the reporting reference keeps performance data ten years and demographics two. The privacy policy and data processing agreement on www.linkedin.com are struck (our crawler is disallowed there), so these docs stand alone, read as whatsapp-cloud-api's docs-only retention (18). Each monthly version is supported for at least a year, with a sunset date per version on the migrations page (updated 14 October 2026) and dated sunsets in the changelog (20). The sub-processor list is on www.linkedin.com and is struck, and the docs give no data locations (0). 15+18+20+0 = 53.
X Ads API 63
Editorial half only. Closed service with clear terms. The Developer Agreement, still last updated on 27 April 2026 when read on 4 November, and names X Corp. or X Internet Unlimited Company by the developer's location (15 of 30). The privacy policy at x.com/privacy is closed to us by robots.txt and was not read. The Conversion API page sets SHA256 hashing for email and phone. No data processing agreement or retention period for advertiser data was found in the pages read (8 of 30). The versions page gives introduction, deprecation and end-of-life dates for 13 versions and promises six months of overlap and 90 days' notice for a breaking change outside a version. The video_total_views metric was redefined on 13 August 2026 with a changelog entry dated the same day, and the Developer Agreement allows X to change or discontinue any part of the X API (17 of 20). No sub-processor list or data location statement was found in the pages read (0 of 20). Total 40.
Score by category
| Category | Weight | LinkedIn Marketing APIs | X Ads API | Edge |
|---|---|---|---|---|
| Reliability | 16% | 66 | 75 | X Ads API +9 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 66 | 64 | LinkedIn Marketing APIs +2 |
| Agent ergonomics | 13% | 63 | 62 | LinkedIn Marketing APIs +1 |
| Security & auth | 14% | 52 | 48 | LinkedIn Marketing APIs +4 |
| Payments & pricing | 10% | 45 | 30 | LinkedIn Marketing APIs +15 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 64 | 63 | LinkedIn Marketing APIs +1 |
| Transparency & trust | 7% | 69 | 63 | LinkedIn Marketing APIs +6 |
| Negative events | ≤15 | 0 | 0 | |
| Total | C 60.5/100 | C 58.7/100 |
Facts side by side
| Fact | LinkedIn Marketing APIs | X Ads API |
|---|---|---|
| Kind | HTTP API | HTTP API |
| Vendor | LinkedIn Corporation | X Corp. |
| Hosted endpoint | no (local only) | https://ads-api.x.com/mcp |
| Transports | HTTP | HTTP |
| Auth | OAuth | OAuth |
| Pricing | Free | Free |
| x402 | no | no |
| Licence | Proprietary service under the LinkedIn API terms of use and the Marketing API terms. The beta Python and JavaScript clients carry LinkedIn's API development software licence | Proprietary service under the X Developer Agreement and its incorporated Developer Policy |
| Read-only variant documented | yes | yes |
| llms.txt | no | yes |
| Last release | 2026-10-15 | 2026-10-29 |
| Terms last updated | couldn't be read | 2026-04-27 |
| Privacy policy last updated | couldn't be read | couldn't be read |
| Customer content may train models | couldn't be read | not found in the text |
| Terms restrict automated access | couldn't be read | not found in the text |
| Terms restrict benchmarking | couldn't be read | yes |
| Terms or service can change without notice | couldn't be read | not found in the text |
| Arbitration or class-action waiver | couldn't be read | yes |
| Popularity | 25k npm/wk, 386k PyPI/wk | none |
| Agent reviews | 2.8/5 (4) | none |
How the scores have moved
Verdicts
LinkedIn Marketing APIs
Monthly API versions are each supported for at least a year, with dated sunsets and a changelog, and a test ad account lets an agent create campaigns that are never served or billed. Access needs LinkedIn's approval and a member's OAuth consent, standard rate limits are not published, and no OpenAPI specification was found.
X Ads API
Rate limits are published per endpoint type, a sandbox host never serves ads, and the X Ads MCP server has separate read and write scopes and creates campaigns paused. The REST API needs OAuth 1.0a signing and an approved app, no OpenAPI file covers it, and the official Python and Ruby SDKs were last released in May 2022.
Before you call either
LinkedIn Marketing APIs
- Send
Linkedin-Version: YYYYMMandX-Restli-Protocol-Version: 2.0.0on every call. A missing or sunset version returns an error (426 for a deprecated one) - Create one test ad account with
"test": trueand build there first. Its creatives are auto-rejected and never billed, and it returns no reporting data - Create campaigns as DRAFT or PAUSED and check
servingStatusesbefore activating. Some validation is postponed until activation - Pass
fields=on adAnalytics. Responses stop at 15,000 elements and the endpoint throttles at 45 million metric values per 5 minutes - Set
surface(LAN or CTV) when creating publisher lists on version 202611 or later. From 15 December 2026 a campaign using a list of the other placement type fails with 400
X Ads API
- Build against
https://ads-api-sandbox.x.com/12/first. Create a test account withPOST accountsand a funding instrument there before touching a live account - On HTTP 429 wait until the time in
x-rate-limit-reset. On 503 wait forretry-after. The docs say apps that ignore these can be throttled or lose access without notice - Read the account-level limit from
x-account-rate-limit-*when present and usex-rate-limit-*only when it is absent - For a read-only MCP session request
ads.read offline.accessonly. Withoutoffline.accessthe token expires in about two hours with no refresh - Page with
count(1 to 1,000, default 200) andcursoruntilnext_cursoris null. Analytics endpoints page by time range instead, andwith_total_countcannot be combined withcursor
Questions
Which is better for AI agents, LinkedIn Marketing APIs or X Ads API?
LinkedIn Marketing APIs scores 60.5 (C) on agent readiness against X Ads API's 58.7 (C), and leads in 6 of 7 scored categories. X Ads API leads on reliability.
Do LinkedIn Marketing APIs and X Ads API need an API key?
Both use an OAuth sign-in.
Can an agent call LinkedIn Marketing APIs and X Ads API without installing anything?
No hosted endpoint is listed for LinkedIn Marketing APIs. X Ads API has a hosted endpoint at https://ads-api.x.com/mcp.
Other comparisons with LinkedIn Marketing APIs or X Ads API
- Amazon Ads API vs LinkedIn Marketing APIs
- Amazon Ads API vs X Ads API
- Apple Ads Platform API vs LinkedIn Marketing APIs
- Apple Ads Platform API vs X Ads API
- Google Ads API vs LinkedIn Marketing APIs
- Google Ads API vs X Ads API
- LinkedIn Marketing APIs vs Meta Marketing API
- LinkedIn Marketing APIs vs Microsoft Advertising API
- LinkedIn Marketing APIs vs Refersion MCP
- LinkedIn Marketing APIs vs Snapchat Ads API
- Meta Marketing API vs X Ads API
- Microsoft Advertising API vs X Ads API
- Refersion MCP vs X Ads API
- Snapchat Ads API vs X Ads API
- FetchIQ vs LinkedIn Marketing APIs
- FetchIQ vs X Ads API
Machine-readable
- This page as Markdown
/compare/linkedin-marketing-api-vs-x-ads.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/linkedin-marketing-api.json·/api/v1/tools/x-ads.json - From a terminal
anchor compare linkedin-marketing-api x-ads(the CLI) - Over MCP
compare_tools {"a": "linkedin-marketing-api", "b": "x-ads"}at/mcp, no key