Vybe Network Oracle (Pyth) API
The Oracle (Pyth) API from Vybe Network, for oracle (pyth).
The Oracle (Pyth) API from Vybe Network, for oracle (pyth).
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/vybenetwork-com:vybenetwork-com-oracle-pyth-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
contact:
email: info@vybenetwork.com
name: Vybe Dev Team
description: 'This API provides read access to data from the Solana blockchain.
The API is organized according to related data of interest.
Please consult individual endpoints'' documentation for more.
The API is for authenticated users only.
To gain access, please contact us at support@vybenetwork.com to obtain an API key.'
license:
name: Terms of Service
url: https://alpha.vybenetwork.com/terms
title: Solana API & WebSocket Oracle (Pyth) API
version: 4.0.11
servers:
- description: Vybe Solana API
url: https://api.vybenetwork.xyz/
security:
- apiKey: []
tags:
- name: Oracle (Pyth)
paths:
/v4/oracle/pyth/pricefeeds:
get:
description: Solana API endpoint for fetching available Pyth price product pairs on Solana. Discover all available Pyth price feeds and their associated product accounts.
operationId: get_pyth_price_product_pairs_v4
parameters:
- description: Pyth product address to filter over.
in: query
name: productAddress
required: false
schema:
allOf:
- $ref: '#/components/schemas/SolanaId'
- description: Pyth price feed address to filter over.
in: query
name: priceFeedAddress
required: false
schema:
allOf:
- $ref: '#/components/schemas/SolanaId'
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/PythPriceProductPairsReturn'
description: Pyth product
summary: Pyth Price Feeds
tags:
- Oracle (Pyth)
/v4/oracle/pyth/pricefeeds/{priceFeedAddress}/candles:
get:
description: Solana API endpoint for fetching historical OHLC data from Pyth oracle price feeds. Get open, high, low, close prices for any Pyth price feed account.
operationId: get_pyth_price_ohlc_v4
parameters:
- description: The public key identifying the Pyth price feed account
in: path
name: priceFeedAddress
required: true
schema:
$ref: '#/components/schemas/SolanaId'
- description: 'Resolution of the data. Possible values: 1h, 1d, 1w, 1m, 1y, or a string parseable to seconds'
in: query
name: resolution
required: false
schema:
allOf:
- $ref: '#/components/schemas/ResolutionDeprecated'
- description: Start time of the data to return (unix timestamp)
in: query
name: timeStart
required: false
schema:
format: int64
minimum: 0
type:
- integer
- 'null'
- description: End time of the data to return (unix timestamp)
in: query
name: timeEnd
required: false
schema:
format: int64
minimum: 0
type:
- integer
- 'null'
- description: Limit of the number of records to return
in: query
name: limit
required: false
schema:
format: int32
minimum: 0
type:
- integer
- 'null'
- description: Pagination offset
in: query
name: page
required: false
schema:
format: int32
minimum: 0
type:
- integer
- 'null'
- description: Eliminate gaps between candles by using previous close as next open. Default is true.
in: query
name: eliminateCloseToOpenGaps
required: false
schema:
type: boolean
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/PythPriceOhlcReturn'
description: Pyth ohlc data
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
description: Invalid parameters — verify Pyth address inputs and time range.
'404':
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
description: Product not found
'500':
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
description: Internal server error
summary: Pyth Price Candles
tags:
- Oracle (Pyth)
/v4/oracle/pyth/pricefeeds/{priceFeedAddress}/price:
get:
description: Solana API endpoint for fetching the current Pyth oracle price for any price feed on Solana. Returns price, confidence interval, and EMAP data in real-time.
operationId: get_pyth_price_v4
parameters:
- description: The public key identifying the Pyth price feed account
in: path
name: priceFeedAddress
required: true
schema:
$ref: '#/components/schemas/SolanaId'
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/PythPriceFeed'
description: Pyth price account
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
description: Invalid parameters — verify Pyth address inputs and time range.
'404':
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
description: Product not found
'500':
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
description: Internal server error
summary: Pyth Current Price
tags:
- Oracle (Pyth)
/v4/oracle/pyth/pricefeeds/{priceFeedAddress}/price-ts:
get:
description: Solana API endpoint for fetching Pyth oracle price time series data on Solana. Get historical price snapshots with confidence intervals for any Pyth price feed.
operationId: get_pyth_price_ts_v4
parameters:
- description: The public key identifying the Pyth price feed account
in: path
name: priceFeedAddress
required: true
schema:
$ref: '#/components/schemas/SolanaId'
- description: 'Resolution of the data. Possible values: 1h, 1d, 1w, 1m, 1y, or a string parseable to seconds'
in: query
name: resolution
required: false
schema:
allOf:
- $ref: '#/components/schemas/ResolutionDeprecated'
- description: Start time of the data to return (unix timestamp)
in: query
name: timeStart
required: false
schema:
format: int64
minimum: 0
type:
- integer
- 'null'
- description: End time of the data to return (unix timestamp)
in: query
name: timeEnd
required: false
schema:
format: int64
minimum: 0
type:
- integer
- 'null'
- description: Limit of the number of records to return
in: query
name: limit
required: false
schema:
format: int32
minimum: 0
type:
- integer
- 'null'
- description: Pagination offset
in: query
name: page
required: false
schema:
format: int32
minimum: 0
type:
- integer
- 'null'
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/PythPriceFeedsTimeSeriesReturn'
description: Pyth price account
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
description: Invalid parameters — verify Pyth address inputs and time range.
'404':
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
description: Product not found
'500':
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
description: Internal server error
summary: Pyth Price History
tags:
- Oracle (Pyth)
/v4/oracle/pyth/products/{productAddress}:
get:
description: Solana API endpoint for fetching Pyth product metadata on Solana. Get product account details, asset type, and associated price feed accounts.
operationId: get_pyth_product_v4
parameters:
- description: The pubkey identifying the Pyth Product.
in: path
name: productAddress
required: true
schema:
$ref: '#/components/schemas/SolanaId'
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/PythProduct'
description: Pyth product
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
description: Invalid parameters — verify Pyth address inputs and time range.
'404':
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
description: Product not found
'500':
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
description: Internal server error
summary: Pyth Product
tags:
- Oracle (Pyth)
components:
schemas:
PythPriceOhlcReturn:
description: Response payload model for pyth price ohlc return results returned by this API endpoint.
properties:
data:
description: The main response payload containing endpoint-specific result objects and values.
items:
$ref: '#/components/schemas/PythPriceOhlc'
type: array
required:
- data
type: object
PythPriceOhlc:
description: OHLC/price candle model for pyth price ohlc market data returned by this API.
properties:
avgConf:
description: Average confidence
type: string
avgPrice:
description: Average price
type: string
close:
description: Close price
type: string
high:
description: High price
type: string
low:
description: Low price
type: string
open:
description: Open price
type: string
timeBucketStart:
description: Time bucket start
format: int64
type: integer
required:
- timeBucketStart
- open
- high
- low
- close
- avgPrice
- avgConf
type: object
PythPriceFeed:
description: User-facing Pyth price feed update
properties:
confidence:
description: 'Confidence interval of how close we think the true price is to the average.
It''s influenced by both how sure each person quoting the price is, and how much they agree with each other.'
type: string
emac1H:
description: Exponentially-weighted moving average confidence interval is a time-weighted average of the confidence interval
type: string
emap1H:
description: Exponentially-weighted moving average price is a time-weighted average of the aggregate price
type: string
lastUpdated:
description: The last updated time
format: int64
type: integer
priceFeedAddress:
$ref: '#/components/schemas/SolanaId'
priceUsd:
description: Price of asset expressed in USD
type: string
validSlot:
description: The last valid slot
format: int64
minimum: 0
type: integer
required:
- priceFeedAddress
- lastUpdated
- validSlot
- priceUsd
- confidence
- emac1H
- emap1H
type: object
PythPriceProductPairsReturn:
description: Response payload model for pyth price product pairs return results returned by this API endpoint.
properties:
data:
description: The main response payload containing endpoint-specific result objects and values.
items:
$ref: '#/components/schemas/PythPriceProductPair'
type: array
required:
- data
type: object
PythProductSchedule:
description: Schema model for pyth product schedule fields used in this Solana API.
oneOf:
- properties:
schedule:
description: Weekly schedule
type: string
required:
- schedule
type: object
- properties:
umtf:
description: UMTF
type: string
required:
- umtf
type: object
ResolutionDeprecated:
description: Enumeration of supported resolution deprecated values for time range or aggregation configuration.
format: resolution
type: string
ConstraintViolation:
description: Main structure to represent any kind of validation violation.
properties:
invalidValue:
description: Provided value which leaded to the violation.
type:
- string
- 'null'
message:
description: Message to the end user.
type: string
propertyPath:
description: Property path to the field where violation occurred.
type:
- string
- 'null'
required:
- message
type: object
SolanaId:
description: Typed Solana public key identifier used across request parameters and response fields.
format: pubkey
type: string
PythProduct:
allOf:
- allOf:
- $ref: '#/components/schemas/PythProductSchedule'
- $ref: '#/components/schemas/PythProductSymbols'
- properties:
assetType:
description: 'The asset class: Crypto, Equity, FX, Metal, Rates, Commodities'
type: string
base:
description: Base asset. Can be present for everything except rates and commodities.
type:
- string
- 'null'
country:
description: The country code. Can be present for equity only.
type:
- string
- 'null'
description:
description: Pair name
type: string
productAddress:
description: The pubkey identifying the Pyth Product.
type: string
quote:
description: Quote currency. Can be present for everything except rates and commodities.
type:
- string
- 'null'
symbol:
description: Pyth asset symbol
type: string
tenor:
description: The tenor. Can be present for FX or equity only.
type:
- string
- 'null'
required:
- productAddress
- description
- symbol
- assetType
type: object
description: 'Structure corresponding to what we will fetch in the API
This is saved to a json file'
PythPriceFeedsTimeSeriesReturn:
description: Response payload model for pyth price feeds time series return results returned by this API endpoint.
properties:
data:
description: The main response payload containing endpoint-specific result objects and values.
items:
$ref: '#/components/schemas/PythPriceFeed'
type: array
required:
- data
type: object
PythPriceProductPair:
description: Schema model for pyth price product pair fields used in this Solana API.
properties:
priceFeedAddress:
description: The pubkey identifying the Pyth Price feed account.
type: string
productAddress:
description: The pubkey identifying the Pyth Product account.
type: string
symbol:
description: The Pyth asset symbol
type: string
required:
- productAddress
- priceFeedAddress
- symbol
type: object
PythProductSymbols:
description: Schema model for pyth product symbols fields used in this Solana API.
oneOf:
- properties:
genericSymbol:
description: Ticker symbol
type: string
required:
- genericSymbol
type: object
- properties:
cmsSymbol:
description: CMS market symbol
type: string
cqsSymbol:
description: CQS market symbol
type: string
nasdaqSymbol:
description: Nasdaq market symbol
type: string
required:
- cmsSymbol
- cqsSymbol
- nasdaqSymbol
type: object
ApiError:
description: Standard API error payload describing failed requests, including code, message, and traceable error metadata.
properties:
code:
description: Code ID of the error, uniquely identifying the error type
format: int32
type: integer
id:
description: 'A unique identifier for the error, representing the error ID in Sentry.
This should be submitted as a reference when contacting support.'
type: string
message:
description: A human readable message describing the error that occurred.
type: string
violations:
description: Optional collection of validation violations representations.
items:
$ref: '#/components/schemas/ConstraintViolation'
type:
- array
- 'null'
required:
- code
- message
- id
type: object
securitySchemes:
apiKey:
description: Authorization header with X-API-KEY formatting. The API key value is 48 characters.
in: header
name: X-API-KEY
type: apiKey
x-provenance:
method: searched
source: https://docs.vybenetwork.com/reference
harvested: '2026-11-28'
tool: harvest-readme-openapi.py
note: Assembled verbatim from the OpenAPI definition ReadMe embeds in each operation page of the provider's developer portal; paths and components merged by API title, nothing authored.
assembled_from:
- https://docs.vybenetwork.com/reference/close_token_accounts.md
- https://docs.vybenetwork.com/reference/do_swap_proxy.md
- https://docs.vybenetwork.com/reference/get_defi_accounts_v4_proxy.md
- https://docs.vybenetwork.com/reference/get_dust_accounts_many_v4.md
- https://docs.vybenetwork.com/reference/get_empty_accounts_many_v4.md
- https://docs.vybenetwork.com/reference/get_empty_accounts_v4.md
- https://docs.vybenetwork.com/reference/get_known_accounts_v4.md
- https://docs.vybenetwork.com/reference/get_known_program_accounts_v4.md
- https://docs.vybenetwork.com/reference/get_market_filtered_ohlcv_v4.md
- https://docs.vybenetwork.com/reference/get_market_v4.md
- https://docs.vybenetwork.com/reference/get_markets_v4.md
- https://docs.vybenetwork.com/reference/get_pnl_timeseries_v4.md
- https://docs.vybenetwork.com/reference/get_programs_v4.md
- https://docs.vybenetwork.com/reference/get_pyth_price_ohlc_v4.md
- https://docs.vybenetwork.com/reference/get_pyth_price_product_pairs_v4.md
- https://docs.vybenetwork.com/reference/get_pyth_price_ts_v4.md
- https://docs.vybenetwork.com/reference/get_pyth_price_v4.md
- https://docs.vybenetwork.com/reference/get_pyth_product_v4.md
- https://docs.vybenetwork.com/reference/get_swap_quote_proxy.md
- https://docs.vybenetwork.com/reference/get_token_details_v4.md
- https://docs.vybenetwork.com/reference/get_token_holders_time_series_v4.md
- https://docs.vybenetwork.com/reference/get_token_instruction_names_v4.md
- https://docs.vybenetwork.com/reference/get_token_liquidity.md
- https://docs.vybenetwork.com/reference/get_token_trade_ohlc_v4.md
- https://docs.vybenetwork.com/reference/get_token_transfers_v4.md
- https://docs.vybenetwork.com/reference/get_tokens_summary_v4.md
- https://docs.vybenetwork.com/reference/get_top_holders_v4.md
- https://docs.vybenetwork.com/reference/get_top_pnl_traders_by_token_v4.md
- https://docs.vybenetwork.com/reference/get_top_traders_v4.md
- https://docs.vybenetwork.com/reference/get_trade_aggregated_timeseries_v4.md
- https://docs.vybenetwork.com/reference/get_trade_data_program_v4.md
- https://docs.vybenetwork.com/reference/get_trades_tokens_activity_summary_v4.md
- https://docs.vybenetwork.com/reference/get_transfer_volume_usd_v4.md
- https://docs.vybenetwork.com/reference/get_wallet_counterparties_v4.md
- https://docs.vybenetwork.com/reference/get_wallet_dust_accounts_v4.md
- https://docs.vybenetwork.com/reference/get_wallet_pnl_v4.md
- https://docs.vybenetwork.com/reference/get_wallet_tokens_ts_raw_v4.md
- https://docs.vybenetwork.com/reference/get_wallet_tokens_ts_v4.md
- https://docs.vybenetwork.com/reference/get_wallet_tokens_v4.md
- https://docs.vybenetwork.com/reference/post_wallet_tokens_many_v4.md
- https://docs.vybenetwork.com/reference/post_wallet_tokens_ts_many_v4.md
- https://docs.vybenetwork.com/reference/post_wallet_tokens_ts_raw_many_v4.md
- https://docs.vybenetwork.com/reference/withdraw_mev.md
merge:
pages: 43
deduped: 183
conflicts_kept_first: 0