errors and the rest of the batch is still returned.
Endpoint
Headers
string
required
application/jsonstring
required
csrf-token=<value>, the cookie set by GET /api/csrf.string
required
The same token, URL-decoded. The cookie is URL-encoded, so
%3D becomes =.Request body
object[]
required
1 to 50 entries.
Response
object[]
{ marketId, question, twitterUrl, tweetContent, outcomeIndex, outcomeLabel, amount } for each entry that succeeded.object[]
{ marketId, outcomeIndex, error } for each entry that failed. error is Market not found, Market is expired, Market is not active or Outcome is not one of the market's.object
{ requestedAt, totalRequested, totalGenerated, totalErrors }ACTIVE or frozen, and not past their end time, get links. Each tweet mentions the X account that posts the market, or the Kash trading bot if there is none. These links don’t quote the announcement tweet.
Rate limit
Rate-limited per IP (see Rate limits).Example request
Example response
200
403 (no CSRF cookie)