Install
openclaw skills install api3-data-feed-explorerExplore and analyze Api3 data feeds using public data. Lists which providers support which feeds, shows aggregation composition, fetches latest prices, compares providers (spread/outliers), checks on-chain vs off-chain staleness, and cross-checks feed values against exchange spot prices. Use when asked about Api3 dAPI health, provider coverage, price verification, feed deviation, or staleness.
openclaw skills install api3-data-feed-explorerAnalyze Api3 data feeds using only public data sources: Signed API endpoints, on-chain dAPI reads, and public exchange APIs.
All scripts live in {baseDir}/scripts/.
Fetches per-provider off-chain data for a feed from Signed API:
ts-node {baseDir}/scripts/explore-data-feeds.ts <FEED_NAME>
Example: ts-node {baseDir}/scripts/explore-data-feeds.ts BTC/USD
Output starts with a config freshness note, then two summary lists, then one block per provider:
Note that this dAPI configuration is updated at 2026-06-11T12:00:00.000Z and may not reflect the latest changes.
Providers that support this feed:
[ '- blocksize', '- coingecko' ]
Providers that are used in the aggregation of this feed:
[ '- blocksize', '- coingecko' ]
**************************************************
- API Alias: blocksize
- Data Feed ID: 0x3502633779071a82a8a6a17e9ade05e97aa45dfc390b934cd360bef2e983edd7
- Signed API URL: https://signed-api.api3.org/public/0xBA910Eb2867977A0a651FE3D2607237ff4116B1C
- Homepage: https://www.blocksize.info
- Value: 62883.522017606105
- Timestamp: 2026-06-11T14:10:03.000Z
**************************************************
...
The config freshness timestamp is the last-modified date of the feed configuration, not the data itself.
Lists all chains supported by Api3, with their name, alias, and numeric id:
ts-node {baseDir}/scripts/get-chains.ts
Use this to discover valid chain aliases before calling read-data-feed.ts.
Lists all currently active dAPI names:
ts-node {baseDir}/scripts/get-dapis.ts
Use this to enumerate available feeds or verify a feed name before passing it to other scripts.
Reads the on-chain value and timestamp for a feed on a specific chain:
ts-node {baseDir}/scripts/read-data-feed.ts <FEED_NAME> <CHAIN_ALIAS>
Example: ts-node {baseDir}/scripts/read-data-feed.ts BTC/USD ethereum
Output:
Proxy address: 0x...
value : 62901.234567890123
timestamp : 2026-06-11T14:08:00.000Z
The script derives the Api3ReaderProxyV1 proxy address from the feed name and chain, then reads it via the chain's default public RPC. Use get-chains.ts to find valid chain aliases.
Run explore-data-feeds.ts for the requested feed(s). The "Providers that support this feed" list in the output are the ones supporting that feed. To answer "which feeds does provider X support", run the script across the relevant feeds and collect where the provider's alias appears.
Run explore-data-feeds.ts for the feed. The "Providers that are used in the aggregation" list shows the aggregation participants. Report the provider aliases and count. Note feeds with few providers (≤3) as concentration risk.
Run explore-data-feeds.ts and report:
From the explore-data-feeds.ts output, compute:
Present results as a table: provider | value | deviation % | timestamp age. Call out outliers and stale providers explicitly.
get-chains.ts to list valid aliases).read-data-feed.ts <FEED_NAME> <CHAIN_ALIAS>.Interpretation: on-chain data is updated on a 24h heartbeat or whenever the off-chain median deviates from the current on-chain value beyond the feed's deviation threshold. A gap within that threshold with an on-chain timestamp under 24h is healthy. A gap exceeding the threshold, or an on-chain timestamp older than 24h, indicates the update mechanism may be stalled.
Run get-chains.ts and report the chain names, aliases, and ids. Use this to answer "what chains does Api3 support?" or to look up a chain alias before calling read-data-feed.ts.
Run get-dapis.ts and report the names. Use this to answer "what feeds are available?" or to confirm a feed name exists before running other scripts.
https://api.binance.com/api/v3/ticker/price?symbol=BTCUSDThttps://api.coinbase.com/v2/prices/BTC-USD/spothttps://api.kraken.com/0/public/Ticker?pair=XBTUSDNote: stablecoin-quoted pairs (USDT) vs USD pairs can legitimately differ slightly; mention this when comparing.