X API to publish posts and threads
Connect X in a minute and publish today, with the same API as the rest of your networks.
Publish posts, threads and media on X, reply to mentions and measure results without managing the API plan yourself.
- Posts
- Threads
- Images and video
- Replies
- Analytics
{
"platforms": [
"x"
],
"thread": [
"Today we launch Marsial 🚀",
"One API to publish on every network.",
"Try it free 👇 marsial.dev"
]
}What Marsial does with X
Marsial publishes and schedules content on your own X accounts, always with your permission through OAuth, and shows you their statistics. It does not automate interactions (likes, follows or bulk messages) and does not read data from other people's accounts. You can disconnect the account at any time.
From zero to X in minutes
- 1
Connect X
You or your clients connect the account with OAuth from a screen with your brand.
- 2
Send a request
POST /v1/posts with the content. We adapt it to the X format.
- 3
Receive the webhooks
Posts, replies, messages and metrics arrive at your endpoint in the same format.
Everything you need for X
All of this comes with your account, no plans: you only pay for what you use.
Posts
Text, links, images, GIFs and video.
Get started →Threads
Send a list of texts and we publish them as a thread, in order.
Get started →Replies and mentions
Receive mentions by webhook and reply from the API.
Get started →Scheduling
Schedule posts and threads for any time.
Get started →Analytics
Impressions, likes, reposts and replies per post.
Get started →And 29 more channels
The same API key, the same format and the same webhooks.
Questions about X
Do I need to pay for the X API?
You do not sign up for anything with X. Its API usage is taken from your Marsial balance at cost.
Can I publish threads?
Yes, send an array of texts and we publish them in order as a thread.
Can posts be scheduled?
Yes, add the date and we publish it at that time.
Connect X today
Create your account in a minute, no card needed. Try it free for 7 days from your first post.