x402.twit.sh
POST https://x402.twit.sh/tweets/mediaUpload
Listed in Coinbase x402 Bazaar
Uploads an image to Twitter/X for the authenticated user and returns a media_id to attach to a tweet. Send the file as multipart/form-data field "file" (e.g. -F "file=@photo.jpeg"); pass auth_token and ct0 as query params. Returns media_id, media_id_string, media_key, size, expires_after_secs, and image metadata.
Other endpoints from x402.twit.sh
The same service's other paid functions that Hagglyai tracks, each with its own price. Functions outside Hagglyai's categories are not listed.
| Endpoint | Category | Price per call |
|---|---|---|
| GET /articles/by/id | Social media data | $0.01 |
| GET /communities/posts | Social media data | $0.01 |
| GET /lists/tweets | Social media data | $0.01 |
| GET /tweets | Social media data | $0.01 |
| GET /tweets/by/id | Social media data | $0.0025 |
| GET /tweets/mediaUpload | Social media data | $0.006 |
| GET /tweets/quote_tweets | Social media data | $0.01 |
| GET /tweets/replies | Social media data | $0.01 |
| GET /tweets/retweeted_by | Social media data | $0.01 |
| GET /tweets/user | Social media data | $0.01 |
| GET /users | Social media data | $0.01 |
| GET /users/by/id | Social media data | $0.005 |
| GET /users/by/username | Social media data | $0.005 |
| GET /workflows/userInsights | Social media data | $0.5 |
How to buy
This endpoint takes pay-per-call payments over x402. Call it once without paying to see its live price; any x402 client then pays and retries automatically.
curl -i -X POST 'https://x402.twit.sh/tweets/mediaUpload'
# HTTP/1.1 402 Payment Required: price, asset and payTo are in the responseEstimated calls per day
Paid calls to x402.twit.sh's tracked endpoints each day, estimated from the 30-day totals the x402 catalogues report. Each bar is the change in that 30-day total since the day before, plus the calls that left the 30-day window (taken as an average day). It is an estimate: Hagglyai does not measure or pay for these calls.
Usage available for 9 of 15 tracked endpoints, 3,315 paid calls in the last 30 days. Last updated 4 hours ago. Unknown usage is left out, not counted as zero.
Compared with other providers
x402.twit.sh ranks 7th of 132 in Social media data by its latest reported 30-day paid calls. Coverage matters: a provider whose endpoints report more of their usage can rank higher.
| # | Provider | Reported 30-day calls | Coverage |
|---|---|---|---|
| 1 | win.oneshotagent.com | 51,417 | 14 of 34 endpoints |
| 2 | stableenrich.dev | 48,887 | 15 of 39 endpoints |
| 3 | x402.apidirect.io | 10,704 | 17 of 80 endpoints |
| 4 | api.strale.io | 4,289 | 33 of 57 endpoints |
| 5 | x402.orthogonal.com | 4,271 | 167 of 395 endpoints |
| 6 | api.sitecheck-api.workers.dev | 3,373 | 60 of 74 endpoints |
| 7 | x402.twit.sh (this one) | 3,315 | 9 of 15 endpoints |
| 8 | agent402.tools | 2,937 | 156 of 281 endpoints |
Run this API? Show its rating
Add the badge to your README or website. It shows the live Hagglyai rating and links to this page.
Markdown (README)
[](https://hagglyai.com/endpoint/4b38f7771a9084e8)HTML
<a href="https://hagglyai.com/endpoint/4b38f7771a9084e8"><img src="https://hagglyai.com/badge/4b38f7771a9084e8.svg" alt="Rated on Hagglyai"></a>