blockchain
Token Price Oracles
Chainlink price feed reads for three pairs: ETH/USD and BTC/USD on Ethereum (chain 1) and MATIC/USD on Polygon (chain 137). POST /v1/price with {pair, chain_id} and get the latest answer, feed address and update time. Any other pair answers 400. Pay per request in USDC; no account, no API key.
post/v1/token-price-oracles
Request
- Base URL: https://agent.pocket.network
- URL: https://agent.pocket.network/v1/token-price-oracles
- Auth: none required
Request body
Response
The upstream response, served after payment settles.
object required
For POST /v1/price, a JSON object with pair, chain_id, price, feed, updated_at and source. The exact shape is the service's own and is not pinned here; errors return a JSON object with an error field.
Changes
No recorded changes to this operation across all 1 revision of this API.