-
Notifications
You must be signed in to change notification settings - Fork 346
docs(developer-hub): present-tense pro auth docs, document price range endpoint #3948
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -26,7 +26,7 @@ The Pyth MCP server gives AI assistants direct, structured access to Pyth market | |
| Recommended workflow: `get_symbols` → `get_latest_price` / `get_historical_price` → `get_candlestick_data` | ||
|
|
||
| <Callout type="warning"> | ||
| `get_latest_price` requires a Pyth Pro API key passed as `access_token`. `get_historical_price` and `get_candlestick_data` require it as of **July 24, 2026** (optional before then). Get one at [acquire API key guide](./acquire-api-key). `get_symbols` and `convert_date_to_timestamp` work without a key. | ||
| `get_latest_price`, `get_historical_price`, and `get_candlestick_data` require a Pyth Pro API key passed as `access_token`. Get one at [acquire API key guide](./acquire-api-key). `get_symbols` and `convert_date_to_timestamp` work without a key. | ||
| </Callout> | ||
|
|
||
| ## Setup | ||
|
|
@@ -157,7 +157,7 @@ Get prices at a single historical timestamp. | |
|
|
||
| | Parameter | Type | Required | Description | | ||
| | --- | --- | --- | --- | | ||
| | `access_token` | string | From Jul 24, 2026 | Pyth Pro API key | | ||
| | `access_token` | string | **Yes** | Pyth Pro API key | | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🔍 Docs mark MCP access_token as required while tool schemas keep it optional The MCP docs now state Was this helpful? React with 👍 or 👎 to provide feedback. |
||
| | `symbols` | string[] | No\* | Full symbols | | ||
| | `price_feed_ids` | number[] | No\* | Feed IDs | | ||
| | `timestamp` | number | **Yes** | Unix seconds, milliseconds, or microseconds | | ||
|
|
@@ -179,7 +179,7 @@ Fetch OHLC candlestick data for a single feed. | |
|
|
||
| | Parameter | Type | Required | Description | | ||
| | --- | --- | --- | --- | | ||
| | `access_token` | string | From Jul 24, 2026 | Pyth Pro API key | | ||
| | `access_token` | string | **Yes** | Pyth Pro API key | | ||
| | `symbol` | string | **Yes** | Full symbol (e.g. `Crypto.BTC/USD`) | | ||
| | `resolution` | string | **Yes** | `1`, `5`, `15`, `30`, `60`, `120`, `240`, `360`, `720`, `D`, `W`, `M` | | ||
| | `from` | number | **Yes** | Start time (Unix seconds) | | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔍 New range-endpoint section is unverifiable from this repo
The documented parameters, limits (max 100 ids, 60-second window, limit 1–1000 default 100), cursor semantics, and error codes for
GET /{channel}/price/rangecannot be cross-checked here — noprice_rangehandler exists anywhere in this repository. As the PR description itself notes, this section should be validated against the live OpenAPI spec at https://pyth.dourolabs.app/docs/v1/openapi.json before merge, otherwise users may hit undocumented 400s.Was this helpful? React with 👍 or 👎 to provide feedback.