Skip to main content
POST
/
v1
/
prices
/
batch
Batch Prices
curl --request POST \
  --url https://staging-api.polysimulator.com/v1/prices/batch \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <x-api-key>' \
  --data '
{
  "market_ids": [
    "<string>"
  ]
}
'
[
  {
    "condition_id": "<string>",
    "buy": "<string>",
    "sell": "<string>",
    "outcomes": [],
    "source": "<string>"
  }
]

Headers

X-API-Key
string
required

Your PolySimulator API key

Body

application/json
market_ids
string[]
required
Required array length: 1 - 50 elements

Response

Successful Response

condition_id
string
required
buy
string | null
sell
string | null
outcomes
OutcomePrice · object[]
source
string | null