Skip to main content
GET
Reference example

Request contract

  • Method and path: GET /apis/v1/polymarket/book
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/polymarket/book
  • token_id: query; required
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Published reference price: $0.012 USD per successful request. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

token_id
string
required

Token ID (asset ID)

Response

Successfully retrieved order book

asks
object[]
required

List of ask orders (sorted by price ascending)

asset_id
string
required

Token ID (asset ID)

Example:

"0xabc123def456..."

bids
object[]
required

List of bid orders (sorted by price descending)

hash
string
required

Hash of the order book summary

Example:

"a1b2c3d4e5f6..."

last_trade_price
string
required

Last trade price

Example:

"0.45"

market
string
required

Market condition ID

Example:

"0x1234567890123456789012345678901234567890"

min_order_size
string
required

Minimum order size

Example:

"1"

neg_risk
boolean
required

Whether negative risk is enabled for this market

Example:

false

tick_size
string
required

Minimum price increment (tick size)

Example:

"0.01"

timestamp
string
required

Timestamp of the order book snapshot

Example:

"1234567890"