Bladeren bron

feat: move 2 pages using agent

Aditya Arora 2 weken geleden
bovenliggende
commit
a2e8e436f2

+ 14 - 0
apps/developer-hub/content/docs/price-feeds/core/api-instances-and-providers.mdx

@@ -0,0 +1,14 @@
+---
+title: API Instances and Providers
+description: Access API instances and providers for Pyth Price Feeds
+slug: /price-feeds/core/api-instances-and-providers
+---
+
+This documentation explains how to get access to API instances and providers for Pyth Price Feeds.
+See the following guides to learn more about how to access each service:
+
+- [Hermes](api-instances-and-providers/hermes.mdx)
+- [Pythnet RPC](api-instances-and-providers/pythnet-rpc.mdx)
+- [Benchmarks/Historical Price](api-instances-and-providers/benchmarks.mdx)
+
+

+ 14 - 0
apps/developer-hub/content/docs/price-feeds/core/api-instances-and-providers/benchmarks.mdx

@@ -0,0 +1,14 @@
+---
+title: Benchmarks API Instances
+description: Access Benchmarks API instances for Pyth Price Feeds
+slug: /price-feeds/core/api-instances-and-providers/benchmarks
+---
+
+The Pyth Data Association hosts a public instance of the Benchmarks API at the following URL:
+
+| Channel | URL                             |
+| ------- | ------------------------------- |
+| Stable  | https://benchmarks.pyth.network |
+
+There is currently no Benchmarks instance for the Beta channel.
+

+ 53 - 0
apps/developer-hub/content/docs/price-feeds/core/api-instances-and-providers/hermes.mdx

@@ -0,0 +1,53 @@
+---
+title: Hermes
+description: Guide to Hermes API endpoints for real-time Pyth price delivery
+slug: /price-feeds/core/api-instances-and-providers/hermes
+---
+
+import { Callout } from "fumadocs-ui/components/callout";
+
+Hermes is an open-source service that listens to the Pythnet and the Wormhole Network for Pyth price updates, and
+serves them via a convenient web API.
+
+Hermes allows users to easily [fetch price updates](../fetch-price-updates.mdx) via a REST API, or subscribe to server-side streaming
+updates.
+
+## Public Endpoints
+
+The Pyth Data Association operates a public endpoint for Hermes, which can be used to test integrations with Pyth
+Network:
+
+URL: https://hermes.pyth.network
+
+<Callout type="warning" title="Hermes Beta">
+For developers building on **Aptos testnet**, **Sui testnet** or **Near testnet**, please use the Hermes Beta endpoint:
+URL: https://hermes-beta.pyth.network
+
+</Callout>
+
+### Rate limits
+
+In order to maximize the reliability of the Public Hermes API, a request rate limit is enforced.
+All endpoints limits are set at 30 requests every 10 seconds per IP address.
+Clients issuing request above the limit will receive a 429 (Too Many Requests) response for the subsequent 60-second period.
+
+For production deployments, developers integrating with Pyth Network are **strongly encouraged** to use Node Providers
+for maximum resilience and decentralization. Moreover, Hermes is designed to be self-hosted, so developers can run their own
+instance of Hermes to fetch Pyth price updates.
+
+## Node Providers
+
+The following node providers offer Hermes:
+
+- [Triton](https://triton.one)
+- [P2P](https://p2p.org)
+- [extrnode](https://extrnode.com/)
+- [Liquify](https://www.liquify.io/)
+
+## Self-Hosting
+
+The Pyth Data Association provides a Helm chart for running Hermes in
+[charts](https://github.com/pyth-network/charts/tree/main/charts/hermes) repository. Please refer to the chart's readme
+for the configuration values.
+You will need a Pythnet RPC to run Hermes; see the [guide for accessing a Pythnet RPC](pythnet-rpc.mdx).
+

+ 14 - 0
apps/developer-hub/content/docs/price-feeds/core/api-instances-and-providers/index.mdx

@@ -0,0 +1,14 @@
+---
+title: API Instances and Providers
+description: Access API instances and providers for Pyth Price Feeds
+slug: /price-feeds/core/api-instances-and-providers
+---
+
+This documentation explains how to get access to API instances and providers for Pyth Price Feeds.
+See the following guides to learn more about how to access each service:
+
+- [Hermes](api-instances-and-providers/hermes.mdx)
+- [Pythnet RPC](api-instances-and-providers/pythnet-rpc.mdx)
+- [Benchmarks/Historical Price](api-instances-and-providers/benchmarks.mdx)
+
+