Skip to main content
Generate a Twitter intent URL for a single market prediction. This enables you to build custom UIs that open Twitter with pre-filled prediction tweets.

How It Works

When users click your custom prediction buttons:
  1. Twitter opens with a pre-composed prediction tweet
  2. User posts the tweet
  3. Our Twitter bot (@kash_bot) detects and processes the prediction
  4. User is automatically onboarded if they don’t have an account
No wallet connection or login required! Everything happens via Twitter.

Endpoint

Path Parameters

string
required
The market ID

Query Parameters

string
required
Prediction side: yes or no
number
required
Prediction amount in USD (1-10000)

Response

string
Full Twitter intent URL ready to open
string
The pre-filled tweet content
object
Market information

Rate Limit

100 requests per minute per IP address

Example Request

Example Response

200 - Success
400 - Invalid Parameters
404 - Market Not Found

Custom UI Example

Build your own prediction buttons: