Skip to main content
GET
/
api
/
feeds
/
{feed}
/
fetchOracleHistory
import pmxt

# API key optional — enables faster catalog-backed lookups
exchange = pmxt.Polymarket(
    pmxt_api_key="YOUR_PMXT_API_KEY",
)
result = exchange.feed_fetch_oracle_history(feed="value", limit=10)
{
  "success": true,
  "data": [
    {
      "feed": "<string>",
      "roundId": "<string>",
      "answer": 123,
      "startedAt": 123,
      "updatedAt": 123,
      "answeredInRound": "<string>",
      "decimals": 123,
      "description": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Required when calling the hosted API directly (curl, requests, fetch). SDK users pass credentials via constructor params instead.

Path Parameters

feed
enum<string>
required

The data feed provider.

Available options:
binance,
chainlink

Query Parameters

feed
string
required

Price feed pair (e.g. BTC/USD)

limit
integer

Max rounds to return (default 500)

Response

200 - application/json

Successful response

success
boolean
Example:

true

data
object[]