> ## Documentation Index
> Fetch the complete documentation index at: https://docs.polyhistorical.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Latest Spot Depth

> Get the latest Binance Spot price and order book depth

# Latest Spot Depth

Returns the latest Binance Spot coin price with order book bids and asks.

<Note>
  Requires a **Pro** or **Enterprise** plan.
</Note>

## Request

```
https://api.polyhistorical.com/v1/{coin}/spot/latest
```

### Headers

<ParamField header="X-API-Key" type="string" required>
  Your API key. See [Authentication](/authentication).
</ParamField>

### Path parameters

<ParamField path="coin" type="string" required>
  Coin symbol. Supported values: `btc`, `eth`, `sol`.
</ParamField>

## Response

<ResponseField name="data.coin_price" type="number">
  Current spot coin price rounded to 2 decimal places.
</ResponseField>

<ResponseField name="data.bids" type="array">
  Bid levels. Each item contains `price` rounded to 2 decimal places and `quantity` rounded to 5 decimal places.
</ResponseField>

<ResponseField name="data.asks" type="array">
  Ask levels. Each item contains `price` rounded to 2 decimal places and `quantity` rounded to 5 decimal places.
</ResponseField>

## Example

```bash cURL theme={null}
curl -H "X-API-Key: YOUR_API_KEY" \
  "https://api.polyhistorical.com/v1/btc/spot/latest"
```

### Response

```json theme={null}
{
  "data": {
    "coin_price": 77593.69,
    "bids": [
      { "price": 77593.68, "quantity": 0.64379 }
    ],
    "asks": [
      { "price": 77593.70, "quantity": 0.20000 }
    ]
  }
}
```
