Skip to content

Orderbook API

The Orderbook API provides comprehensive endpoints for trading, authentication, and data access.

Base URL: https://api.probable.markets

API Version: 1.0.0

Overview

This API allows you to:

  • Authenticate users with multi-level authentication (L1, L2)
  • Manage API keys
  • Place and manage orders
  • Access orderbook data (prices, order books, historical data)
  • Retrieve trade history and user data

Authentication

The API uses a multi-level authentication system:

  • L1 Authentication: EIP-712 signature verification (for initial auth and API key generation)
  • L2 Authentication: HMAC signature with API key (for orderbook write operations)
All orderbook write operations require L2 authentication.

Documentation Structure

Getting Started

API Reference

1. Authentication

Endpoints for user authentication and API key management.

2. Orderbook

Endpoints for order management and orderbook data access.

3. Data

Endpoints for retrieving trade history and user data.

  • Trades API - Trade history endpoints reference
  • User Data API - User activity, positions, and P&L endpoints reference

Quick Start

  1. Start here: Getting Started Guide - Learn how to authenticate and submit orders
  2. Then explore: API Reference - Detailed endpoint documentation