Skip to main content

Temple Trading API

The Temple API v1 offers programmatic access to Temple's trading engine so teams can automate trading

Updated over 3 weeks ago

The Temple API v1 offers programmatic access to Temple's trading engine so teams can automate trading, plug into existing systems such as wallets, or build custom interfaces across the Temple ecosystem.

To get access, fill out the following form: https://forms.gle/wiAgfh3b6jtk9iQu7

Key Features

  • Market data: Asset specs, market overviews, real‑time prices.

  • Order management: Submit, cancel, and track limit and market orders.

  • Positions: Monitor current exposure and review past executions.

  • Wallet integration: Configure wallets and fetch wallet‑specific data.

  • Price history: Candles with flexible time intervals.

API structure

  • Reference data: Markets, assets, fees.

  • Market data: Live and historical prices, candles, executions.

  • Wallet data: positions, orders.

  • Order entry: Create and cancel orders.

Available Endpoints

Spot Market Data

  • Pairs and Price (e.g. CC/USDC $0.15)

  • Last Trade (price/timestamp/pair)

  • 24h High

  • 24h Low

  • VWAP: Last 24h volume weighted average price

  • 24h Volume

  • Best Bid: Highest Buy Order

  • Best Ask - Lowest Sell Order

  • Orderbook Snapshot

  • Open Interest

Signatures

Private endpoints require wallet signatures to authenticate user actions and data access. You can either integrate Loop's infrastructure or trade using your validator with custom JWT authentication tokens.

Did this answer your question?