ads
X Ads integration
Promote tweets and run campaigns on the X Ads API.
Overview
Boost any tweet you published through Blazto, or build campaigns with custom audiences. Pull spend and engagement through the unified insights endpoint.
Quick start
blazto.tsTypeScript
import { Blazto } from "@blazto/node";
const blazto = new Blazto(process.env.BLAZTO_API_KEY);
// Promote any organic post to a paid X campaign
await blazto.ads.boost({
platform: "x",
postId: "post_01H...",
budget: { daily: 50, currency: "USD" },
duration: 7,
});What you can do
- ✓Promote organic tweets
- ✓Create campaigns with custom audiences
- ✓Read spend and engagement
Key endpoints
POST
Promote a tweet./ads/boostBuilt for
Launch days
Auto-boost the tweet that's already taking off.
Related integrations
Ship the X Ads integration today
One API key, one SDK, every platform you need.
Start for free