How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Pyth rest API

The rest API from Pyth — 11 operation(s) for rest.

Pyth rest API is one of 5 APIs that Pyth publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include REST. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 11 operations across 11 paths, and defines 18 schemas. It is described by OpenAPI 3.2.0, at version 0.3.6.

Requests are made against a single base URL, https://hermes.pyth.network.

11 operations 11 paths 18 schemas 11 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
0.3.6
Base URL
https://hermes.pyth.network
Resource Areas
1

Paths & Operations 11

Across 11 paths, the API surfaces 11 operations — 11 GET. Each is listed below with its method, path, parameters, and response codes.

rest 11
GET
/api/get_price_feeddeprecated
Deprecated: use /v2/updates/price/{publishtime} instead
get_price_feed 4 params → 200
GET
/api/get_vaadeprecated
Deprecated: use /v2/updates/price/{publishtime} instead
get_vaa 2 params → 200404
GET
/api/get_vaa_ccipdeprecated
Deprecated: use /v2/updates/price/{publishtime} instead
get_vaa_ccip 1 param → 200
GET
/api/latest_price_feedsdeprecated
Deprecated: use /v2/updates/price/latest instead
latest_price_feeds 3 params → 200
GET
/api/latest_vaasdeprecated
Deprecated: use /v2/updates/price/latest instead
latest_vaas 1 param → 200
GET
/api/price_feed_idsdeprecated
Deprecated: use /v2/pricefeeds instead
price_feed_ids → 200
GET
/v2/price_feeds
Get the set of price feeds.
price_feeds_metadata 2 params → 200
GET
/v2/updates/price/latest
Get the latest price updates by price feed id.
latest_price_updates 4 params → 200404
GET
/v2/updates/price/stream
SSE route handler for streaming price updates.
price_stream_sse_handler 6 params → 200404
GET
/v2/updates/price/{publish_time}
Get the latest price updates by price feed id.
timestamp_price_updates 5 params → 200404
GET
/v2/updates/publisher_stake_caps/latest
Get the most recent publisher stake caps update data.
latest_publisher_stake_caps 2 params → 200

Schemas 18

The contract defines 18 schemas that model the data the API accepts and returns. The most detailed are RpcPriceFeed (5 properties), RpcPrice (4 properties), ParsedPriceUpdate (4 properties), RpcPriceFeedMetadata (4 properties). Each schema is shown below with its type and property counts.

RpcPriceFeedMetadata
object
4 properties 1 required
PriceIdInput
string
A price id is a 32-byte hex string, optionally prefixed with "0x". Price ids are case insensitive. Examples: 0xe62df6c8b4a85fe1a67db44dc12de5db330f7ac66b72dc65…
RpcPriceIdentifier
string
ParsedPriceUpdate
object
4 properties 4 required
RpcPriceFeedMetadataV2
object
3 properties
ParsedPublisherStakeCap
object
2 properties 2 required
GetVaaResponse
object
2 properties 2 required
PriceFeedMetadata
object
2 properties 2 required
LatestPublisherStakeCapsUpdateDataResponse
object
2 properties 1 required
EncodingType
string
GetVaaCcipResponse
object
1 property 1 required
AssetType
string
RpcPrice
object
A price with a degree of uncertainty at a certain time, represented as a price +- a confidence interval. The confidence interval roughly corresponds to the sta…
4 properties 4 required
ParsedPublisherStakeCapsUpdate
object
1 property 1 required
GetVaaCcipInput
string
BinaryUpdate
object
2 properties 2 required
PriceUpdate
object
2 properties 1 required
RpcPriceFeed
object
5 properties 3 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

pyth-rest-api-openapi.yml Raw ↑

Other APIs Pyth publishes across the network.

Pyth Price Differences API
Pyth Price Feeds API
Pyth TradingView API
Pyth Updates API
Where this information came from

This is an independent, third-party profile of Pyth rest API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.