Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Order Books

Market depths, trades, and prices

Recent trades

get

Returns recent public trades for a symbol, compatible with Binance's recent-trades response shape. Trade IDs match the IDs published on the public <symbol>@trade WebSocket stream.

Data Source: Database.

Weight: 25

This database-backed route also consumes one request from the shared public-market-data pre-authentication IP bucket: 100 requests/second with a 500 request burst. GET /api/v1/trades and GET /api/v1/avgPrice use the same bucket, so alternating between them does not create additional database-read capacity.

Query parameters
symbolstringRequired

Trading pair symbol

Example: PLEX-USDC
limitinteger · min: 1 · max: 1000Optional

Number of trades to return. Default: 500; Max: 1000. Values above 1000 are clamped to 1000.

Default: 500Example: 500
Responses
200

Recent trades, ordered from oldest to newest

application/json

A public trade from the market's recent trade tape

idinteger · int64Required

Durable trade cursor ID

Example: 987654321
pricestringRequired

Execution price

Example: 0.01234567
qtystringRequired

Executed base-asset quantity

Example: 1.01
quoteQtystringRequired

Executed quote-asset quantity

Example: 0.01246913
timeinteger · int64Required

Execution time in milliseconds since the Unix epoch

Example: 1724952751000
isBuyerMakerbooleanRequired

Whether the buyer was the maker

Example: true
isBestMatchbooleanRequired

Whether the trade was the best price match

Example: true
get/api/v1/trades
GET /api/v1/trades?symbol=text HTTP/1.1
Host: api.lambdaplex.io
Accept: */*
[
  {
    "id": 28457,
    "price": "4.00000100",
    "qty": "12.00000000",
    "quoteQty": "48.00001200",
    "time": 1499865549590,
    "isBuyerMaker": true,
    "isBestMatch": true
  }
]

Latest price for a symbol or symbols

get

Returns the latest price for a single symbol or multiple symbols.

Weight:

Parameter
Symbols Provided
Weight

symbol

1

2

symbol omitted

all

4

Query parameters
symbolstringOptional

A single symbol

symbolsstring[]Optional

Comma-separated symbols

Responses
200

Single ticker if symbol is provided; otherwise array of tickers

application/json
or
get/api/v1/ticker/price
GET /api/v1/ticker/price HTTP/1.1
Host: api.lambdaplex.io
Accept: */*
{
  "symbol": "PLEX-USDC",
  "price": "1.01"
}

Point-in-time limit-order percent-price admission state

get

Evaluates the same policy path used by placement and returns its reference, side-specific bounds, fail behavior, exact market identity, and book evidence. Placement re-evaluates against then-current state; this response is not an admission token. A valid symbol returns 200 when the percent-price check is enforced, explicitly bypassed, or blocked. Every response path is non-cacheable.

Weight: 2

This correctness-critical read also has a dedicated per-IP bucket: 100 requests/second with a 500 request burst. HTTP 429 means the caller must back off.

Query parameters
symbolstringRequired

Canonical trading pair symbol

Example: PLEX-USDC
Responses
200

Current effective limit-price admission state

application/json

A point-in-time evaluation through the same percent-price policy path used by placement; placement re-evaluates then-current state

orand
orand
get/api/v1/ticker/limitPriceAdmissionState
GET /api/v1/ticker/limitPriceAdmissionState?symbol=text HTTP/1.1
Host: api.lambdaplex.io
Accept: */*
{
  "schemaVersion": 2,
  "policyVersion": "limit-price-admission-v2",
  "symbol": "PLEX-USDC",
  "marketId": 123,
  "enforcement": "BYPASSED_FAIL_OPEN",
  "configuredPolicyMode": "EXTERNAL_PRIMARY",
  "effectiveReferenceMode": "EXTERNAL_PRIMARY",
  "configuredFailMode": "OPEN",
  "failMode": "OPEN",
  "playMoneyOverride": false,
  "reason": "external_and_book_unavailable",
  "evaluatedAt": "2026-07-27T12:00:00Z",
  "reference": null,
  "bidBounds": null,
  "askBounds": null,
  "book": {
    "eligible": false,
    "reason": "spread_too_wide",
    "bestBid": 0.001141,
    "bestAsk": 0.002269,
    "midpoint": 0.001705,
    "spreadBps": 6615,
    "bidNotionalQuote": 22.76,
    "askNotionalQuote": 35.85,
    "ready": true,
    "eventId": 456,
    "snapshotGeneratedAt": "2026-07-27T11:59:59Z",
    "lastBookEventAt": "2026-07-27T11:59:58Z"
  }
}

Order book (depth)

get

Returns the current order book (bids & asks) as arrays of [PRICE, QTY] strings.

When the server does not hold a market's book, as after a restart, it loads the book before answering. If it cannot within half a second it answers 503 with Retry-After. It never answers an empty book in place of one it does not hold.

Data Source: Memory, or Database for a book that is not loaded yet.

Weight: Adjusted based on the limit parameter:

Limit
Weight

1-100

5

101-500

25

501-1000

50

1001-5000

250

Query parameters
symbolstringRequired

Trading pair symbol (e.g. PLEX-HBAR).

Example: PLEX-HBAR
limitinteger · min: 1 · max: 5000Optional

Number of price levels to return. Default: 100; Max: 5000. If limit > 5000, only 5000 entries are returned.

Default: 100Example: 100
Responses
200

Order book snapshot

application/json
lastUpdateIdinteger · int64Optional
get/api/v1/depth
GET /api/v1/depth?symbol=text HTTP/1.1
Host: api.lambdaplex.io
Accept: */*
{
  "lastUpdateId": 1027024,
  "bids": [
    [
      "4.00000000",
      "431.00000000"
    ]
  ],
  "asks": [
    [
      "4.00000200",
      "12.00000000"
    ]
  ]
}

Current average price

get

Returns the five-minute quantity-weighted average price for a symbol in Binance-compatible form. If the five-minute window contains no trades, the most recent trade price and time are carried forward. A valid market that has never traded returns price 0 and close time 0.

Data Source: Database.

Weight: 2

This database-backed route also consumes one request from the shared public-market-data pre-authentication IP bucket: 100 requests/second with a 500 request burst. GET /api/v1/trades and GET /api/v1/avgPrice use the same bucket, so alternating between them does not create additional database-read capacity.

Query parameters
symbolstringRequired

Trading pair symbol

Example: PLEX-USDC
Responses
200

Current five-minute average price

application/json

Volume-weighted average price over the current fixed window

minsinteger · int32Required

Window size in minutes

Example: 5
pricestringRequired

Volume-weighted average price

Example: 0.01234567
closeTimeinteger · int64Required

Time of the most recent trade represented by the price, in milliseconds since the Unix epoch

Example: 1724952751000
get/api/v1/avgPrice
GET /api/v1/avgPrice?symbol=text HTTP/1.1
Host: api.lambdaplex.io
Accept: */*
{
  "mins": 5,
  "price": "9.35751834",
  "closeTime": 1694061154503
}

Last updated