cursorstring
Pagination cursor. Use the cursor value returned from the previous response to get the next page of results. Leave empty for the first page.
https://api.sandbase.ai/v1/api/kalshi/marketsGet Kalshi Markets from Kalshi. Returns the official Kalshi API response unchanged.
출력이 여기에 표시됩니다
입력을 완료한 다음 Run을 클릭하세요.
Returns a page of Kalshi prediction markets with their ticker, title, status, open and close times, and current bid, ask and last prices in dollars. All parameters are optional. With no input it returns the first page of markets of any status.
open markets for one event_ticker to see every contract in that event.min_close_ts and max_close_ts to build a calendar of upcoming resolutions.mve_filter set to exclude to skip combo markets and keep only single-outcome markets.tickers list.curl -X POST "https://api.sandbase.ai/v1/api/kalshi/markets" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
cursor | string | No | Pagination cursor. Use the cursor value returned from the previous response to get the next page of results. Leave empty for the first page. |
event_ticker | string | No | Event ticker to filter by. Only a single event ticker is supported. |
limit | integer | No | Number of results per page. Defaults to 100. Maximum value is 1000. |
max_close_ts | integer | No | Filter items that close before this Unix timestamp |
max_created_ts | integer | No | Filter items that created before this Unix timestamp |
max_settled_ts | integer | No | Filter items that settled before this Unix timestamp |
max_updated_ts | integer | No | Return markets with metadata updated at or before this Unix timestamp (in seconds). Tracks non-trading changes only. May be combined with min_updated_ts and mve_filter=exclude. May also be combined with series_ticker, wh |
min_close_ts | integer | No | Filter items that close after this Unix timestamp |
min_created_ts | integer | No | Filter items that created after this Unix timestamp |
min_settled_ts | integer | No | Filter items that settled after this Unix timestamp |
min_updated_ts | integer | No | Return markets with metadata updated later than this Unix timestamp (in seconds). Tracks non-trading changes only. May be combined with max_updated_ts and mve_filter=exclude. May also be combined with series_ticker, whic |
mve_filter | string | No | Filter by multivariate events (combos). 'only' returns only multivariate events, 'exclude' excludes multivariate events. |
series_ticker | string | No | Filter by series ticker |
status | string | No | Filter by market status. Leave empty to return markets with any status. |
tickers | string | No | Filter by specific market tickers. Comma-separated list of market tickers to retrieve. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"cursor": "CgwIwJ2m1wYQwJOY2wESMktYTVZFQ1JPU1NDQVRFR09SWS1TMjAyNkNUMkxZV0xYVVhIQVJBT0YtS0RG…",
"markets": [
{
"can_close_early": true,
"close_time": "2026-11-10T20:00:00Z",
"created_time": "2026-11-03T07:35:29.872509Z",
"custom_strike": {
"Associated Events": "KXALLSVENSKANGAME-26NOV03SIRHAL,KXBUNDESLIGAGAME-26NOV07BVBSVE,KXBUNDESLIGAGAME-…",
"Associated Market Sides": "yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,yes,…",
"Associated Markets": "KXALLSVENSKANGAME-26NOV03SIRHAL-SIR,KXBUNDESLIGAGAME-26NOV07BVBSVE-BVB,KXBUNDESL…",
"Multivariate Event Ticker": "KXMVECROSSCATEGORY-S2026JL77JHDP6ANNFK7D"
},
"event_ticker": "KXMVECROSSCATEGORY-S2026JL77JHDP6ANNFK7D",
"exchange_index": 1,
"expected_expiration_time": "2026-11-09T02:00:00Z",
"expiration_time": "2026-11-10T20:00:00Z",
"expiration_value": "",
"is_provisional": true,
"last_price_dollars": "0.0000",
"latest_expiration_time": "2026-11-10T20:00:00Z"
}
]
}
| Field | Meaning |
|---|---|
cursor | Pagination token for the next page of markets. Send it back as cursor in the next request. |
markets[].ticker | Unique ticker of the market. Use it to look up a single market, its order book, or its trades. |
markets[].event_ticker | Ticker of the event the market belongs to. Use it as the event_ticker filter. |
markets[].title / markets[].no_sub_title | Text describing the market and its outcome. For combo markets these list each leg, such as yes Sirius,yes Dortmund. |
markets[].status | Current state of the market, for example active. |
markets[].market_type | Kind of market. The sample shows binary. |
markets[].open_time / markets[].close_time / markets[].expiration_time | ISO 8601 UTC timestamps for when trading opens, when it closes, and when the market expires. |
markets[].yes_ask_dollars / markets[].no_ask_dollars / markets[].no_bid_dollars / markets[].last_price_dollars | Prices in dollars, given as strings with four decimals. They cover the yes ask, no ask, no bid, and the last traded price. |
markets[].volume_fp / markets[].volume_24h_fp / markets[].open_interest_fp | Trading volume, 24-hour volume, and open interest, given as decimal strings. |
markets[].mve_selected_legs[] | For combo markets, the legs that make up the market. Each leg has event_ticker, market_ticker and side. |
markets[].result | Settlement result of the market. It is an empty string in the sample, where the markets have not settled. |
cursor value as cursor. Set limit up to 1000 (default 100).*_ts filters take Unix timestamps in seconds. Response times are ISO 8601 strings.min_updated_ts and max_updated_ts cannot be combined with most other filters. See the parameter descriptions for the allowed combinations.$0.02 per successful call. Failed calls are not charged.
빌드를 시작하세요
통합 인증 및 사용량 추적이 있는 플랫폼 API 엔드포인트입니다.
curl -X POST "https://api.sandbase.ai/v1/api/kalshi/markets" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"limit": 100
}'서버 환경에 SandBase API 키를 설정하세요. 요청에는 Bearer 인증이 사용됩니다.
export SANDBASE_API_KEY="YOUR_API_KEY"키는 서버에 보관하세요. 브라우저 코드에 노출하지 마세요.
cursorstringPagination cursor. Use the cursor value returned from the previous response to get the next page of results. Leave empty for the first page.
event_tickerstringEvent ticker to filter by. Only a single event ticker is supported.
limitintegerNumber of results per page. Defaults to 100. Maximum value is 1000.
기본값: 100
max_close_tsintegerFilter items that close before this Unix timestamp
max_created_tsintegerFilter items that created before this Unix timestamp
max_settled_tsintegerFilter items that settled before this Unix timestamp
max_updated_tsintegerReturn markets with metadata updated at or before this Unix timestamp (in seconds). Tracks non-trading changes only. May be combined with min_updated_ts and mve_filter=exclude. May also be combined with series_ticker, which requires mve_filter=exclude. Incompatible with other filters.
min_close_tsintegerFilter items that close after this Unix timestamp
min_created_tsintegerFilter items that created after this Unix timestamp
min_settled_tsintegerFilter items that settled after this Unix timestamp
min_updated_tsintegerReturn markets with metadata updated later than this Unix timestamp (in seconds). Tracks non-trading changes only. May be combined with max_updated_ts and mve_filter=exclude. May also be combined with series_ticker, which requires mve_filter=exclude. Incompatible with other filters.
mve_filterstringFilter by multivariate events (combos). 'only' returns only multivariate events, 'exclude' excludes multivariate events.
가능한 값: only, exclude
series_tickerstringFilter by series ticker
statusstringFilter by market status. Leave empty to return markets with any status.
가능한 값: unopened, open, paused, closed, settled
tickersstringFilter by specific market tickers. Comma-separated list of market tickers to retrieve.
이 API의 저장된 예시 응답입니다. 확인할 때 라이브 요청은 실행되지 않습니다.
저장된 응답이 게시되지 않았습니다. Playground에서 API를 실행해 응답을 확인하세요.
더 살펴보기
| API | 가격 | 응답 |
|---|---|---|
Kalshi | $0.02 / 호출 | JSON |
Kalshi | $0.02 / 호출 | JSON |
Kalshi | $0.02 / 호출 | JSON |
Kalshi | $0.02 / 호출 | JSON |
질문
Authorization 헤더(Bearer)에 SandBase API 키를 넣고, 매개변수를 JSON 본문으로 담아 https://api.sandbase.ai/v1/api/kalshi/markets에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.
호출당 $0.02, SandBase 잔액에서 청구됩니다. 사용한 호출에 대해서만 요금이 부과되며, 구독은 없습니다.
필수 매개변수는 없습니다. 선택: cursor (string), event_ticker (string), limit (integer), max_close_ts (integer), max_created_ts (integer) 및 max_settled_ts (integer) 외 9개. 이 페이지의 Parameters 표와 Playground에 모든 필드가 나와 있습니다.
같은 HTTP 요청에서 반환되는 JSON 응답입니다(동기식). 이 페이지의 README에 샘플 응답이 포함되어 있습니다.
아니요. Kalshi Get Kalshi Markets은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. Kalshi API 액세스를 별도로 신청할 필요는 없습니다.