feed_idpairfromtobidmidaskisMarketOpenisDayTradingClosedsecondsToToggleIsDayTradingClosedtimestampSecondsschedule
Builder API
GET /v1/prices
Fetch the current Ostium live price snapshot directly from the Builder API.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Fetch the current Ostium live price snapshot directly from the Builder API.
curl https://builder.prod.bedrock.ostium.io/v1/prices
feed_idpairfromtobidmidaskisMarketOpenisDayTradingClosedsecondsToToggleIsDayTradingClosedtimestampSecondsscheduleconst { prices } = await client.getAllPrices();
interface PairSchedule {
id: number;
alwaysOpen?: boolean;
timezone?: string;
openingHours?: string[];
}
interface Response {
prices: Array<{
feed_id: string;
pair: string;
from: string;
to: string;
bid: number;
mid: number;
ask: number;
isMarketOpen: boolean;
isDayTradingClosed: boolean;
secondsToToggleIsDayTradingClosed: number;
timestampSeconds: number;
schedule?: PairSchedule;
}>;
stale: boolean;
generatedAt: number;
}