Skip to main content
POST
/
v1
/
books
Post Books Batch
curl --request POST \
  --url https://api.polysimulator.com/v1/books \
  --header 'Content-Type: application/json' \
  --data '
{
  "items": [
    {
      "token_id": "<string>"
    }
  ]
}
'
[
  {
    "token_id": "<string>",
    "bids": [],
    "asks": [],
    "timestamp": "<string>",
    "market": "<string>",
    "asset_id": "<string>",
    "hash": "<string>",
    "min_order_size": "<string>",
    "tick_size": "<string>",
    "neg_risk": true,
    "last_trade_price": "<string>",
    "spread": "<string>",
    "mid": "<string>",
    "stale": true
  }
]

Body

application/json
items
TokenIdRequest · object[]
required

Response

Successful Response

token_id
string
required
bids
BookLevel · object[]
asks
BookLevel · object[]
timestamp
string | null
market
string | null
asset_id
string | null
hash
string | null
min_order_size
string | null
tick_size
string | null
neg_risk
boolean | null
last_trade_price
string | null
spread
string | null
mid
string | null
stale
boolean | null