Skip to main content
GET
/
polymarket
/
market-price
/
{token_id}
Get Market Price
curl --request GET \
  --url https://api.aisa.one/apis/v1/polymarket/market-price/{token_id} \
  --header 'Authorization: Bearer <token>'
{
  "price": 0.999,
  "at_time": 1762164600
}
Market Price fetches the current or historical price for a Polymarket market identified by its token ID. When the at_time parameter is omitted, it returns the most real-time price available. When at_time is provided, it returns the historical market price at that specific timestamp. Best for: Real-time price lookups, historical price snapshots, building price charts, tracking market sentiment over time. Endpoint: GET /polymarket/market-price/{token_id}

Example

curl -X GET "https://api.aisa.one/apis/v1/polymarket/market-price/19701256321759583954581192053894521654935987478209343000964756587964612528044?at_time=1762164600" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"

Response

The response returns a price field (a number between 0 and 1 representing the market probability) and an at_time field (Unix timestamp in seconds) indicating the point in time for which the price was fetched.

Authorizations

Authorization
string
header
required

Your AIsa API key as a Bearer token.

Path Parameters

token_id
string
required

The token ID for the Polymarket market

Example:

"19701256321759583954581192053894521654935987478209343000964756587964612528044"

Query Parameters

at_time
integer

Optional Unix timestamp (in seconds) to fetch a historical market price. If not provided, returns the most real-time price available.

Example:

1762164600

Response

Market price response

price
number
required

The market price (between 0 and 1)

Example:

0.999

at_time
integer
required

The timestamp for which the price was fetched (Unix timestamp in seconds)

Example:

1762164600