Skip to main content
POST
/
api
/
kalshi
/
markets
/
trades
/kalshi/markets/trades
curl --request POST \
  --url https://api.anysite.io/api/kalshi/markets/trades \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "ticker": "<string>",
  "count": 2,
  "timeout": 300,
  "min_ts": 123,
  "max_ts": 123
}
'
[
  {
    "trade_id": "<string>",
    "@type": "@kalshi_trade",
    "ticker": "<string>",
    "count": 123,
    "yes_price": 123,
    "no_price": 123,
    "taker_side": "<string>",
    "taker_book_side": "<string>",
    "taker_outcome_side": "<string>",
    "is_block_trade": true,
    "created_at": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
ticker
string
required

Market ticker of the tradeable Yes/No contract

Minimum string length: 1
Examples:

"KXBTCD-26JUN1604-T74799.99"

"KXCS2MAP-26JUN161000TDKHOTU-2-TDK"

count
integer
required

Max result count

Required range: x >= 1
Example:

20

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
min_ts
integer | null

Earliest trade time as a Unix timestamp in seconds

max_ts
integer | null

Latest trade time as a Unix timestamp in seconds

Response

Successful Response

trade_id
string
required
@type
string
default:@kalshi_trade
ticker
string | null
count
number | null
yes_price
number | null
no_price
number | null
taker_side
string | null
taker_book_side
string | null
taker_outcome_side
string | null
is_block_trade
boolean | null
created_at
string | null