# Kalshi Get Kalshi Market OrderBook API

> Get Kalshi Market OrderBook from Kalshi. Returns the official Kalshi API response unchanged.

Source: https://www.sandbase.ai/model/kalshi/markets-orderbook
API reference: https://www.sandbase.ai/model/kalshi/markets-orderbook/docs

## Facts

- Provider: Kalshi
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/kalshi/markets-orderbook`
- Price: $0.03 per call
- Capabilities: api, kalshi, prediction markets
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/kalshi/markets-orderbook` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `ticker` | string | yes |  |
| `depth` | integer | no |  |

## FAQ

### How do I use the Kalshi Get Kalshi Market OrderBook API?

Send a POST request to https://api.sandbase.ai/v1/api/kalshi/markets-orderbook with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

### How much does the Kalshi Get Kalshi Market OrderBook API cost?

$0.03 per call, billed from your SandBase balance. You are only charged for calls you make; there is no subscription.

### What parameters does the Kalshi Get Kalshi Market OrderBook API accept?

Required: ticker (string). Optional: depth (integer). The Parameters table and the Playground on this page list every field.

### What does the Kalshi Get Kalshi Market OrderBook API return?

A JSON response returned in the same HTTP request (synchronous).

### Do I need a Kalshi developer account or API key?

No. Kalshi Get Kalshi Market OrderBook runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Kalshi API access separately.

## README

### Kalshi Get Kalshi Market OrderBook API

Get Kalshi Market OrderBook from Kalshi. Returns the official Kalshi API response unchanged.

The response is the official Kalshi API response, unchanged.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "kalshi/markets-orderbook", "ticker": "<ticker>"}'
```

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `ticker` | string | Yes | Market ticker |
| `depth` | integer | No | Depth of the orderbook to retrieve (0 or negative means all levels, 1-100 for specific depth) |

#### Pricing

Flat price per call. Failed calls are not charged.
