Skip to main content
Base URL:
https://builder.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