Skip to main content

Forkast Dev Docs

Welcome to the Forkast developer hub. Here you will find everything required to integrate with our Central Limit Order Book (CLOB) services—order book depth, real-time pricing, historical data, and aggregated spreads.
All endpoints documented here are powered by our OpenAPI specification. Use the playground on each page to send test requests against https://clob.forka.st (CLOB), https://relayer.forka.st (Relayer), or https://data-api.forka.st (Data API).

Quick navigation

Jump straight into the resources you need. Every link below opens the corresponding API reference page, so you have an easy index even on mobile devices.

Platform

  • Introduction — overview of the Forkast CLOB ecosystem and documentation structure.
  • API Rate Limits — current throttling caps for live Forkast endpoints.

Authentication

CLOB

Health

Orderbook

Orders

  • Create order — submit new orders to the Forkast CLOB with configurable execution policies.
  • Place multiple orders (batch) — queue up to 15 placements in a single call.
  • Get order — inspect status, fills, and trade associations for a previously submitted order.
  • Get orders by IDs — batch retrieval (HTTP 207 Multi-Status) of up to 500 order details in one call.
  • List open orders — stream the live orders owned by your authenticated L2 credentials.
  • Cancel order — remove resting orders by ULID and see which cancellations succeeded.

Pricing

Trades

  • Trades overview — recap of how authenticated trade feeds work.
  • List trades — filter fills where your credentials acted as maker or taker.
  • Get trade volumes — fetch aggregate and 24h volumes for up to 100 conditions.

Relayer

Wallet

  • Proxy wallet call — batched RelayHub calls routed through the managed relayer host.
  • Deploy Safe wallet — SafeProxyFactory deployment identical to the former CLOB endpoint, now hosted on the relayer domain.

Relayer core

Auxiliary operations

Data API

  • Data API overview — explains the analytics-focused surface powered by Forkast subgraphs.
  • Health check — confirms https://data-api.forka.st is running.

Portfolio

Activity & markets

Builders

Working with the playground

1
Open an endpoint and ensure the required parameters are filled in. Defaults are provided where possible.
2
Click Send request to hit the live environment. Responses include headers, body, and timing information.
3
Use the Copy button above the generated cURL snippet to bring requests into your tooling or scripts.

Glossary

TermDefinition
TokenRepresents exposure to a specific yes/no outcome within a market. Prices float between 0 and 1 to reflect sentiment, and the token tied to the resolved outcome redeems for 1 USDC. Tokens are sometimes referred to as asset IDs.
MarketA single outcome pairing on the CLOB. Each market references two token IDs (yes/no), plus a market address, question ID, and condition ID.
EventA collection of closely related markets grouped under a shared topic so traders can find the entire set at once.
SlugA human-readable identifier embedded in the URL for a market or event, designed to be easy to reference and share.
Central Limit Order BookThe off-chain matching engine that processes resting and market orders before any settlement is posted on-chain.
Polygon NetworkThe layer-2 blockchain that Forkast uses for on-chain lifecycle actions such as contract deployment and token transfers.
ForkA copy and adaptation of an open-source project. In Forkast, it refers to creating your own prediction market connected to global liquidity.

Need assistance?

If you need an endpoint that is not yet published or run into issues, contact the Forkast engineering team. We continuously expand these docs as new capabilities become available.