## `market_snapshot`

2 credits · 0.01 USDC

`GET /market_snapshot`

Funding, open interest, liquidations and order book depth for a ticker across Binance, Bybit, OKX, Hyperliquid and Drift, price and funding divergence, and the all-in cost of an order of the given size on each venue and on Jupiter with the cheapest venue.

| Parameter | Type | Description |
| --- | --- | --- |
| `size_usd` | `number` | Default 10000. |
| `symbol`required | `string` | Ticker such as SOL |

**curl**

```sh
curl "https://api.dexra.dev/market_snapshot?size_usd=10000&symbol=SOL" \
  -H "Authorization: Bearer dxr_…"
```

**TypeScript**

```ts
import { Dexra } from '@dexra/client'

const dexra = new Dexra({ apiKey: process.env.DEXRA_API_KEY })
const result = await dexra.marketSnapshot({ size_usd: 10000, symbol: "SOL" })
console.log(result.summary)
```

**Python**

```python
import os
from dexra import Dexra

dexra = Dexra(api_key=os.environ["DEXRA_API_KEY"])
result = dexra.market_snapshot(size_usd=10000, symbol="SOL")
print(result["summary"])
```

**MCP**

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "market_snapshot",
    "arguments": {
      "size_usd": 10000,
      "symbol": "SOL"
    }
  }
}
```

[Try it in the Playground](https://dexra.dev/app/playground?tool=market_snapshot)

Source: https://dexra.dev/docs/tools/market_snapshot
