REST APICrypto

Pyth Hermes REST API & Benchmarks (Historical Price Updates)

Pyth Hermes REST API & Benchmarks (Historical Price Updates) is a rest api from Pyth Network providing crypto data. Pyth Hermes is the REST service for the Pyth Network decentralized price oracle, serving the latest signed price updates plus a Benchmarks endpoint that returns the exact oracle price for any feed at a past timestamp. A Polymarket bot can pull the precise BTC/ETH/altcoin oracle value at a market's resolution time to grade or front-run "will X close above $Y" hourly/daily markets.

At a glance

ProviderPyth Network
TypeREST API
CategoryCrypto
Real-timeNo — request/response
AuthNone — open endpoint
PricingFree public endpoint (rate-limited); API key required from July 31, 2026 — Public endpoint (hermes.pyth.network / benchmarks.pyth.network): free, 10 requests / 10s per IP (429 for 60s if exceeded), TradingView endpoint: free, higher limit of 90 requests / 10s per IP, From 2026-07-31: every Core user must supply an API key (Authorization: Bearer) following the Pyth Core upgrade, Higher-reliability access available via third-party Hermes RPC providers (e.g. Triton One) — pricing set by provider

What data it provides

  • Latest price + confidence interval per feed (/v2/updates/price/latest)
  • Historical price at a past timestamp via Benchmarks (/v1/updates/price/{timestamp}) for contract settlement / backtesting
  • Windowed historical updates over an interval up to 60s (/v1/updates/price/{timestamp}/{interval})
  • EMA (exponential moving average) price alongside spot price
  • Per-update metadata: exponent (decimal precision), publish time, slot number, and binary + parsed JSON proof payload
  • Crypto (BTC/ETH/altcoins) plus commodities and equities across the full Pyth feed-ID catalogue

Features

  • Rate limit: 10 req/10s per IP on standard endpoints; 90 req/10s on the TradingView endpoint
  • Two live instances: hermes.pyth.network (current) and pyth.dourolabs.app/hermes (upgraded)
  • Benchmarks service for point-in-time historical lookups keyed by feed ID + Unix timestamp
  • Returns on-chain-verifiable update payloads (binary VAA + parsed JSON) usable to settle on-chain
  • Official SDKs: @pythnetwork/hermes-client (JS/TS) plus Rust/Python pull-oracle integrations
  • Swagger/OpenAPI reference at hermes.pyth.network/docs and a published API reference

Links

Use it in a bot

Other crypto data sources

Listed, not endorsed. Pricing and capabilities change without notice — check the provider's own documentation before you depend on anything here. Browse the full data resources directory or the strategy database.
Join Discord