Triton One Docs
WebsiteCustomer Portal
  • Introduction
  • RPC Pool
    • Introduction
    • GeoDNS
    • Abuse prevention
    • Rate Limits
    • Proxying
    • Support FAQs
    • Privacy & Security
  • Chains
    • Solana
      • Streaming
      • BigTable Archive
      • Improved Priority Fees API
        • For RPC Providers
      • Cascade
        • Transaction sending advice
        • Buying Transaction Bandwidth
        • Providing Transaction Bandwidth
      • Web3JS Socket/Connection Issues
      • Deprecated calls Solana 2.0
    • Pythnet
    • SUI
    • Others
  • Digital Assets API
    • Introduction
    • Fungible Assets
    • API Methods
      • Get Asset
      • Get Asset Proof
      • Get Assets By Authority
      • Get Assets By Owner
      • Get Assets By Group
      • Get Assets By Creator
      • Search Assets
      • Get Token Accounts
      • Get Signatures For Asset
      • Get NFT Editions
      • Get Asset Proofs
  • Project Yellowstone
    • Introduction
    • Dragon's Mouth gRPC Subscriptions
    • Old Faithful Historical Archive
      • Old Faithful Public Report
    • Steamboat Custom Indexes
    • Whirligig WebSockets
    • Fumarole Reliable Streams
    • Vixen Data Pipelines
      • Generate a Yellowstone Vixen Parser with Codama
  • Shield Transaction Policies
  • Account Management
    • Payments
    • Account management API
      • Introduction
      • Auth & Headers
      • Accounts
      • Address Watch Lists
      • Subscriptions
      • Subscription Types
      • Endpoints
      • Tokens
      • Rate Tiers
  • Trading APIs
    • Introduction
    • Jupiter swap
    • Pyth Hermes
    • Bundle simulation by Jito
  • Validators
    • Introduction
    • Vote account setup
    • Node identity protection
  • Pyth Publishers
    • NGINX proxy
    • Testnet, Devnet and Pythnet
Powered by GitBook
On this page

Was this helpful?

  1. Trading APIs

Pyth Hermes

PreviousJupiter swapNextBundle simulation by Jito

Last updated 10 months ago

Was this helpful?

is a web service that listens to the Pythnet and the Wormhole Network for Pyth price updates and serves them via a convenient web API. It provides Pyth's latest price update data format that is more cost-effective to verify and use on-chain.

To access the Hermes API you will need a Pythnet endpoint from us.

Hermes allows users to easily query for recent price updates via a REST API or subscribe to a web socket for streaming updates. The Pyth Network's Javascript SDKs connect to a Hermes instance to fetch price updates.

To use the Hermes REST endpoint from a frontend, use the following path:

https://<unique-subdomain>.mainnet.pythnet.rpcpool.com/hermes/<hermes method> 

To use your Hermes endpoint from a backend, insert your RPC token in the right place; before /hermes. Use the following path:

https://<unique-subdomain>.mainnet.pythnet.rpcpool.com/<secret-token>/hermes/<hermes method>

To use websockets add /hermes/ws to your endpoints whether for frontend or backend.

Please note that your other Pythnet RPC services with us will be at https://<unique-subdomain>.mainnet.pythnet.rpcpool.com/<secret-token> without the /hermes extension.

See Hermes documentation here:

Hermes
https://docs.pyth.network/documentation/pythnet-price-feeds/hermes