---
title: "Ticker"
description: "Get a full ticker for one instrument (prices, 24-hour statistics, funding, open interest)."
---

Please do not use this to repeatedly poll for data -- a websocket subscription is much more performant, and useful.

Rate limit:

- Perpetuals and spot swaps: the standard rate limit for this endpoint, per IP address.
- Stable perps (`_SFP` instruments): a separate per-IP-address limit, shared across all stable perp instruments (one budget for all of them, not one per instrument). IP addresses on the gateway whitelist are exempt.

A request over the limit is rejected with error `1006` (HTTP `429`). The `X-RateLimit-Limit` and `X-RateLimit-Remaining` response headers show the limit that applied to the request.

| | |
|---|---|
| SDK | `client.ticker(...)` |
| HTTP | `POST https://market-data.<domain>/full/v1/ticker`, or `/lite/v1/ticker` for [lite names](../../guides/environments.md#encoding-full-or-lite) (the SDKs' default) |
| WebSocket | method `v1/ticker` on `wss://market-data.<domain>/ws/full`, or `/ws/lite` for lite names |
| Auth | None (public) |
| Retries | Read: the SDKs retry retryable errors ([rules](../../guides/errors-and-retries.md)) |
| Contract id | `ticker.ticker` (`RPCTickerV1`) |

## Request

Body type `ApiTickerRequest`. Fields the server fills are left out.

- `instrument` · lite `i` · string (instrument name) · required — The instrument name, e.g. `BTC_USDT_Perp` (perpetual), `BTC_USDT_SFP` (stable funding perp) or `BTC_USDT_SpotSwap` (spot swap).

## Response

Body type `ApiTickerResponse` (the same object is the JSON-RPC `result` over WebSocket).

- `result` · lite `r` · object Ticker · required — The mini ticker matching the request asset
- `result.event_time` · lite `et` · string (int64 unix ns) · optional — Time at which the event was emitted in unix nanoseconds
- `result.instrument` · lite `i` · string (instrument name) · optional — The instrument name, e.g. `BTC_USDT_Perp` (perpetual), `BTC_USDT_SFP` (stable funding perp) or `BTC_USDT_SpotSwap` (spot swap).
- `result.mark_price` · lite `mp` · string · optional — The mark price of the instrument. Decimal string, e.g. "65000.5"; up to 9 decimals.
- `result.index_price` · lite `ip` · string · optional — The index price of the instrument. Decimal string, e.g. "65000.5"; up to 9 decimals.
- `result.last_price` · lite `lp` · string · optional — The price of the last trade (the close price). Decimal string, e.g. "65000.5"; up to 9 decimals.
- `result.last_size` · lite `ls` · string · optional — The number of assets traded in the last trade. Decimal string, e.g. "0.01"; up to the instrument's base_decimals.
- `result.mid_price` · lite `mp1` · string · optional — The mid price of the instrument. Decimal string, e.g. "65000.5"; up to 9 decimals.
- `result.best_bid_price` · lite `bb` · string · optional — The best bid price of the instrument. Decimal string, e.g. "65000.5"; up to 9 decimals.
- `result.best_bid_size` · lite `bb1` · string · optional — The number of assets offered on the best bid price of the instrument. Decimal string, e.g. "0.01"; up to the instrument's base_decimals.
- `result.best_ask_price` · lite `ba` · string · optional — The best ask price of the instrument. Decimal string, e.g. "65000.5"; up to 9 decimals.
- `result.best_ask_size` · lite `ba1` · string · optional — The number of assets offered on the best ask price of the instrument. Decimal string, e.g. "0.01"; up to the instrument's base_decimals.
- `result.funding_rate_8h_curr` · lite `fr` · string · optional — Deprecated and will be removed. Use `funding_rate`.
- `result.funding_rate_8h_avg` · lite `fr1` · string · optional — Deprecated and will be removed. Use `funding_rate`.
- `result.interest_rate` · lite `ir` · string · optional — The interest rate of the underlying, in percent (`"0.01"` = 0.01%).
- `result.forward_price` · lite `fp` · string · optional — [Options] The forward price of the option. Decimal string, e.g. "65000.5"; up to 9 decimals.
- `result.buy_volume_24h_b` · lite `bv` · string · optional — Taker buy volume over the last 24 hours, in the base asset. Decimal string, e.g. "0.01"; up to the instrument's base_decimals.
- `result.sell_volume_24h_b` · lite `sv` · string · optional — Taker sell volume over the last 24 hours, in the base asset. Decimal string, e.g. "0.01"; up to the instrument's base_decimals.
- `result.buy_volume_24h_q` · lite `bv1` · string · optional — Taker buy volume over the last 24 hours, in the quote asset. Decimal string, e.g. "12.5".
- `result.sell_volume_24h_q` · lite `sv1` · string · optional — Taker sell volume over the last 24 hours, in the quote asset. Decimal string, e.g. "12.5".
- `result.high_price` · lite `hp` · string · optional — The highest trade price of the last 24 hours. Decimal string, e.g. "65000.5"; up to 9 decimals.
- `result.low_price` · lite `lp1` · string · optional — The lowest trade price of the last 24 hours. Decimal string, e.g. "65000.5"; up to 9 decimals.
- `result.open_price` · lite `op` · string · optional — The first trade price of the last 24 hours. Decimal string, e.g. "65000.5"; up to 9 decimals.
- `result.open_interest` · lite `oi` · string · optional — The open interest in the instrument. Decimal string, e.g. "0.01"; up to the instrument's base_decimals.
- `result.long_short_ratio` · lite `ls1` · string · optional — The ratio of accounts that are net long to accounts that are net short on this instrument.
- `result.funding_rate` · lite `fr2` · string · optional — The indicative funding rate for the current funding interval, in percent (`"0.01"` = 0.01%). Absent for stable funding perps, which have `funding_rate_long_apr_pct` and `funding_rate_short_apr_pct` instead.
- `result.next_funding_time` · lite `nf` · string (int64 unix ns) · optional — When the current funding interval ends, in unix nanoseconds.
- `result.status` · lite `s` · enum InstrumentStatus · optional — The current status of the instrument
  Values: `ACTIVE`, `REDUCE_ONLY`, `MAINTENANCE`, `HALTED`, `CLOSED`, `PENDING`, `DELISTED` ([details](../enums.md#instrumentstatus)).
- `result.session` · lite `s1` · enum TradingSessionType · optional — The current trading session of the instrument's underlying market
  Values: `REGULAR`, `PRE_MARKET`, `AFTER_MARKET`, `OVERNIGHT`, `CLOSE` ([details](../enums.md#tradingsessiontype)).
- `result.long_open_interest` · lite `lo` · string · optional — The long open interest in the instrument. Decimal string, e.g. "0.01"; up to the instrument's base_decimals. Excludes qualified-maker and DMM open interest.
- `result.short_open_interest` · lite `so` · string · optional — The short open interest in the instrument. Decimal string, e.g. "0.01"; up to the instrument's base_decimals. Excludes qualified-maker and DMM open interest.
- `result.funding_rate_long_apr_pct` · lite `fr3` · string · optional — Stable perps only: the indicative annual rate for retail longs at the next charge, in percent a year (`'-5.5'` = retail longs pay 5.5%; positive = retail receives, negative = retail pays). Updated when the rates change. Absent for other kinds.
- `result.funding_rate_short_apr_pct` · lite `fr4` · string · optional — Stable perps only: the indicative annual rate for retail shorts at the next charge, in percent a year (`'-5'` = retail shorts pay 5%; positive = retail receives, negative = retail pays). Updated when the rates change. Absent for other kinds.

## Errors

Errors come back as `{"code", "message", "status"}` (lite `{"c", "m", "s"}`) with the HTTP status. Codes this call can return, as code, name (HTTP status) ([all error codes](../errors.md)):

`1002` InternalServer (500) · `1003` InvalidRequest (400) · `1004` NotFound (404) · `1006` RateLimit (429, retryable)

## Example

```python
from grvt import Grvt

with Grvt(env="testnet") as client:
    resp = client.ticker(
        instrument="BTC_USDT_Perp",
    )
    print(resp)
```

Raw HTTP (set `GRVT_DOMAIN`, see [Environments](../../guides/environments.md)):

With full field names:

```sh
curl -sS "https://market-data.$GRVT_DOMAIN/full/v1/ticker" \
  -H "Content-Type: application/json" \
  --data @- <<EOF
{
  "instrument": "BTC_USDT_Perp"
}
EOF
```

With lite field names:

```sh
curl -sS "https://market-data.$GRVT_DOMAIN/lite/v1/ticker" \
  -H "Content-Type: application/json" \
  --data @- <<EOF
{
  "i": "BTC_USDT_Perp"
}
EOF
```
