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

# Builder API Overview

> Use the Builder API directly for live prices, candles, and streaming, or consume the same data through the Builder SDK.

Base URL:

```text theme={null}
https://builder.prod.bedrock.ostium.io
```

Market-data endpoints:

* `GET /v1/prices`
* `POST /v1/ohlc`
* `WS /v1/prices/stream`

SDK-managed endpoints:

* `POST /v1/trade` for fire-and-forget trade attribution
* `/v1/subgraph/gn` as the default mainnet GraphQL subgraph endpoint
* `POST /v1/pimlico/sponsor?chainId=42161` for mainnet gasless UserOperation sponsorship
* `POST /v1/pimlico/sponsor?chainId=421614` for testnet gasless UserOperation sponsorship

SDK wrappers:

* `getAllPrices()`
* `getCandles()`
* `streamPrices()`
* `getPairs()`, `getOrders()`, `getBuilderOrders()`, and other read methods through the default subgraph
* `openTrade()`, `closeTrade()`, and other Trading-contract submissions report to `POST /v1/trade` in the background
