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

# getAllPrices

> Fetch current mid, bid, and ask prices for all Ostium pairs.

```ts theme={null}
const { prices } = await client.getAllPrices();
```

The response is keyed by `pairId`:

```ts theme={null}
console.log(prices['0']);
```

Use this when you need quotes without the full `getPairs()` payload.

## Response schema

```ts theme={null}
interface Response {
  prices: Record<string, {
    ask: string;
    bid: string;
    mid: string;
  }>;
}
```
