Skip to main content
POST
Reference example

Request contract

  • Method and path: POST /apis/v1/polymarket/midpoints
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/polymarket/midpoints
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.

Body

application/json
token_id
string
required

Token ID (asset ID)

Example:

"0xabc123def456..."

side
enum<string>

Order side (optional, not used for midpoint calculation)

Available options:
BUY,
SELL
Example:

"BUY"

Response

Successfully retrieved midpoint prices

Map of token ID to midpoint price

{key}
string