API ReferenceData Feeds
The latest Chainlink oracle round, decoded from the on-chain proxy.
const url = 'https://data.predictefy.com/api/feeds/binance/fetchOracleRound';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://data.predictefy.com/api/feeds/binance/fetchOracleRound \ --header 'Authorization: Bearer <token>'Chainlink only (binance answers NOT_SUPPORTED). Read via eth_call against the Polygon AggregatorV3 proxy — no indexer or custom feed infrastructure. Dark by default — 503 FEEDS_UNAVAILABLE until READS_ENABLE_DATA_FEEDS is set. Pass the oracle pair as symbol; the old feed query name remains a deprecated alias.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”One of the R4 reference data feeds (unknown feeds answer 404 FEED_NOT_FOUND).
Query Parameters
Section titled “Query Parameters”Oracle pair, e.g. BTC/USD. Required unless the deprecated feed alias is supplied.
Deprecated alias for symbol; retained for backward compatibility.
Responses
Section titled “Responses”The decoded round.
object
A decoded Chainlink AggregatorV3 round (startedAt/updatedAt are epoch SECONDS as returned on-chain).
object
The oracle pair, e.g. BTC/USD.
Proxy round id as a decimal string (phase-encoded uint80).
The price
UpdatedAt as ISO — honest on-chain freshness.
object
Binance-rest — served from Binance's public REST market-data mirror. binance-ws — streamed from Binance's public market-data WebSocket. chainlink-onchain — read from Chainlink's on-chain oracle through public RPC.
Example
{ "data": { "provenance": { "source": "binance-rest" } }}VALIDATION_ERROR
object
object
Always present on errors; quote this id when reporting a failed request.
Present only when a venue error is attributed to a specific exchange.
Example
{ "success": false, "error": { "code": "VALIDATION_ERROR" }}The API key is missing, unknown, or revoked. A venue-authenticated read also answers 401 when the venue itself rejects the credential. Not retryable.
object
object
Always present on errors; quote this id when reporting a failed request.
Present only when a venue error is attributed to a specific exchange.
Example
{ "success": false, "error": { "code": "VALIDATION_ERROR" }}The account's credit balance cannot cover this endpoint's weight. Not retryable.
object
object
Always present on errors; quote this id when reporting a failed request.
Present only when a venue error is attributed to a specific exchange.
Example
{ "success": false, "error": { "code": "VALIDATION_ERROR" }}SCOPE_MISSING — API key lacks the route's required scope (RBAC v1)
object
object
Always present on errors; quote this id when reporting a failed request.
Present only when a venue error is attributed to a specific exchange.
Example
{ "success": false, "error": { "code": "VALIDATION_ERROR" }}FEED_NOT_FOUND
object
object
Always present on errors; quote this id when reporting a failed request.
Present only when a venue error is attributed to a specific exchange.
Example
{ "success": false, "error": { "code": "VALIDATION_ERROR" }}Rate limit exceeded. The response carries Retry-After in whole seconds, always rounded up so a sub-second remainder never points back inside the live window.
object
object
Always present on errors; quote this id when reporting a failed request.
Present only when a venue error is attributed to a specific exchange.
Example
{ "success": false, "error": { "code": "VALIDATION_ERROR" }}Unexpected internal error. Retryable; error.requestId identifies the failure.
object
object
Always present on errors; quote this id when reporting a failed request.
Present only when a venue error is attributed to a specific exchange.
Example
{ "success": false, "error": { "code": "VALIDATION_ERROR" }}NOT_SUPPORTED — binance
object
object
Always present on errors; quote this id when reporting a failed request.
Present only when a venue error is attributed to a specific exchange.
Example
{ "success": false, "error": { "code": "VALIDATION_ERROR" }}FEED_UPSTREAM
object
object
Always present on errors; quote this id when reporting a failed request.
Present only when a venue error is attributed to a specific exchange.
Example
{ "success": false, "error": { "code": "VALIDATION_ERROR" }}FEEDS_UNAVAILABLE
object
object
Always present on errors; quote this id when reporting a failed request.
Present only when a venue error is attributed to a specific exchange.
Example
{ "success": false, "error": { "code": "VALIDATION_ERROR" }}