SiftingIO icon

SiftingIO

Consume the SiftingIO financial-data API

Live → Get Last Trade

AI-generated

Summary

Retrieves the most recent trade price and size for a specific instrument symbol.

Inputs

  • venue — Asset class / venue. Defaults to 'crypto'. Options include commodities, crypto, dex, forex, and stocks.
  • symbol (required) — Instrument symbol without separators (e.g., BTCUSD, EURUSD, AAPL).

Output shape

A single item containing the most recent trade data for the specified symbol.

The exact field names in the returned JSON depend on the API response for the specific venue and symbol.

Examples

Example 1: Fetch the latest trade for Bitcoin against the US Dollar.

Venue: Crypto, Symbol: BTCUSD

Example 2: Get the most recent trade for Apple stock.

Venue: Stocks, Symbol: AAPL

Links

Discussion