---
title: "Latest trade"
method: GET
path: "/v1/last/trade/{venue}/{symbol}"
tags: ["Live"]
---

# Latest trade

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

## Request

- Base URL: `https://api.sifting.io`
- URL: `https://api.sifting.io/v1/last/trade/{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/trade/: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`

Latest trade snapshot.

- LastTrade
  - `s` string: Symbol.
  - `p` string: Last trade price.
  - `P` string: Last trade size.
  - `t` integer: Unix epoch milliseconds.

## 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)
