Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.ostium.com/llms.txt

Use this file to discover all available pages before exploring further.

const { prices } = await client.getAllPrices();
The response is keyed by pairId:
console.log(prices['0']);
Use this when you need quotes without the full getPairs() payload.

Response schema

interface Response {
  prices: Record<string, {
    ask: string;
    bid: string;
    mid: string;
  }>;
}