---
title: "Top-of-book quote"
method: GET
path: "/v1/last/quote/{venue}/{symbol}"
tags: ["Live"]
---

# Top-of-book quote

`GET /v1/last/quote/{venue}/{symbol}`

## Request

- Base URL: `https://api.sifting.io`
- URL: `https://api.sifting.io/v1/last/quote/{venue}/{symbol}`
- Auth: one of:
  - API key in header `X-API-Key`
  - API key in query parameter `api_key`
- TypeScript: <https://skmtc.dev/sifting/apis/siftingio-market-data-api/docs/v1/last/quote/:venue/:symbol/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `venue` 'stocks' | 'crypto' | 'forex' | 'dex', required
- `symbol` string, required

## Response `200`

Top-of-book quote.

- LastQuote
  - `b` string: Bid price.
  - `B` string: Bid size.
  - `a` string: Ask price.
  - `A` string: Ask size.
  - `t` integer

## Other responses

- `401`: Missing or invalid API key.
- `404`: Resource not found.
- `429`: Rate limit exceeded.
- `503`: Upstream or snapshot temporarily unavailable.

---

[API](https://skmtc.dev/sifting/apis/siftingio-market-data-api.md) - [All operations](https://skmtc.dev/sifting/apis/siftingio-market-data-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sifting/apis/siftingio-market-data-api/revisions/c570068c2359?raw)
