Get API key
Hermes-compatible API

Get a price feed

gethttps://pyth.dourolabs.app/hermes/v2/price_feeds/{id}

No authentication.

Use these endpoints for existing Hermes integrations. For new integrations, use the Pyth Price Feeds endpoints.

Returns metadata for a price feed identified by its ID. The metadata matches the entry returned by List price feeds. Only feeds available from that endpoint can be retrieved here.

gethermes/v2/price_feeds/{id}
curl "https://pyth.dourolabs.app/hermes/v2/price_feeds/e62df6c8b4a85fe1a67db44dc12de5db330f7ac66b72dc658afedf0f4a415b43"
Response
{
  "attributes": {
    "asset_type": "string",
    "description": "string",
    "display_symbol": "string",
    "min_channel": "real_time",
    "symbol": "string"
  },
  "id": "e62df6c8b4a85fe1a67db44dc12de5db330f7ac66b72dc658afedf0f4a415b43",
  "market_hours": {
    "is_open": true,
    "next_close": 1717632000,
    "next_open": 1717632000
  }
}

Path parameters

Replace the placeholders in the URL path with these values.

idstringRequired

The price feed ID, with or without the 0x prefix. Matching is case-insensitive.

Response

200 · application/json

Returns a JSON object with the following fields.

attributesobject

Metadata that identifies and describes the feed.

asset_typestring

Asset class of the feed.

descriptionstring

Description of the instrument.

display_symbolstring

Symbol formatted for display.

min_channel

Fastest update channel supported by the feed.

  • real_time
  • fixed_rate@50ms
  • fixed_rate@200ms
  • fixed_rate@1000ms
symbolstring

Symbol used to identify the feed.

basestring | null

Base asset of the feed.

cms_symbolstring | null

CMS symbol for the instrument.

countrystring | null

Country associated with the instrument.

Show 6 more
cqs_symbolstring | null

CQS symbol for the instrument.

generic_symbolstring | null

Generic symbol for the instrument.

nasdaq_symbolstring | null

Nasdaq symbol for the instrument.

publish_intervalstring | null

Publication interval recorded in the feed metadata.

quote_currencystring | null

Currency in which the price is quoted.

schedulestring | null

Trading schedule for the feed.

idstring

Hexadecimal ID of the price feed.

market_hoursobject | null

Market opening and closing information. null when unavailable.

is_openboolean

Whether the market is open.

next_closeinteger | null

Next market closing time, in Unix seconds. null when no closing time is available.

next_openinteger | null

Next market opening time, in Unix seconds. null when no opening time is available.

Errors

Status codes returned when a request fails.

404
The requested price feed was not found.
422
The price feed ID is invalid.