{"openapi":"3.1.0","info":{"title":"Pyth Network API","version":"1.0.0","description":"Live cross-asset prices from Pyth, the largest decentralised first-party oracle, which aggregates prices contributed by exchanges, market makers and trading firms and serves them across 90+ blockchains. Pyth covers far more than crypto: around 3,000 feeds spanning crypto, US and global equities, FX pairs, commodities and precious metals. The feeds endpoint searches the feed registry by symbol or asset type; the price endpoint returns one feed's latest aggregate price with its confidence interval, exponent, EMA price and publish time; the prices endpoint returns many feeds at once. Each price carries a confidence band — Pyth's signature measure of how tightly publishers agree. Read live from Pyth, nothing stored. This is Pyth's own multi-asset first-party oracle layer — distinct from single-DEX oracles and single-asset-class price feeds.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/pyth-api","description":"oanor gateway"}],"tags":[{"name":"Price"},{"name":"Prices"},{"name":"Feeds"},{"name":"Meta"}],"components":{"securitySchemes":{"oanorKey":{"type":"apiKey","in":"header","name":"x-oanor-key","description":"Get your key at https://www.oanor.com/developer/keys"}}},"security":[{"oanorKey":[]}],"paths":{"/v1/price":{"get":{"operationId":"get_v1_price","tags":["Price"],"summary":"One feed's latest aggregate price","description":"","parameters":[{"name":"symbol","in":"query","required":true,"description":"Feed symbol or id","schema":{"type":"string"},"example":"BTC/USD"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"id":"e62df6c8b4a85fe1a67db44dc12de5db330f7ac66b72dc658afedf0f4a415b43","base":"BTC","expo":-8,"price":61369.9,"quote":"USD","source":"Pyth Network","symbol":"BTC/USD","ema_price":61432.82,"asset_type":"Crypto","confidence":21.27,"publish_time":"2026-06-10T22:57:06.000Z"},"meta":{"timestamp":"2026-06-10T22:57:09.557Z","request_id":"d7d7a561-0e13-49cf-b5a8-9b12573d332d"},"status":"ok","message":"Price retrieved successfully","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/prices":{"get":{"operationId":"get_v1_prices","tags":["Prices"],"summary":"Many feeds at once","description":"","parameters":[{"name":"symbols","in":"query","required":true,"description":"Comma-separated symbols","schema":{"type":"string"},"example":"BTC/USD,ETH/USD,EUR/USD,XAU/USD"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"count":4,"prices":[{"id":"e62df6c8b4a85fe1a67db44dc12de5db330f7ac66b72dc658afedf0f4a415b43","base":"BTC","expo":-8,"price":61364.06,"quote":"USD","symbol":"BTC/USD","ema_price":61432.82,"asset_type":"Crypto","confidence":20.32,"publish_time":"2026-06-10T22:57:06.000Z"},{"id":"ff61491a931112ddf1bd8147cd1b641375f79f5825126d665480874634fd0ace","base":"ETH","expo":-8,"price":1616.79,"quote":"USD","symbol":"ETH/USD","ema_price":1616.52,"asset_type":"Crypto","confidence":0.8,"publish_time":"2026-06-10T22:57:06.000Z"},{"id":"a995d00bb36a63cef7fd2c287dc105fc8f3d93779f062f09551b0af3e81ec30b","base":"EUR","expo":-5,"price":1.1533,"quote":"USD","symbol":"EUR/USD","ema_price":1.1535,"asset_type":"FX","confidence":0.0001,"publish_time":"2026-06-10T22:57:06.000Z"},{"id":"765d2ba906dbc32ca17cc11f5310a89e9ee1f6420508c63861f2f8ba4ee34bb2","base":"XAU","expo":-3,"price":4051.21,"quote":"USD","symbol":"XAU/USD","ema_price":4055.3,"asset_type":"Metal","confidence":0.94,"publish_time":"2026-06-10T22:57:06.000Z"}],"source":"Pyth Network","requested":4},"meta":{"timestamp":"2026-06-10T22:57:09.836Z","request_id":"64c2fef5-19ab-4847-80e4-68a9a9296bde"},"status":"ok","message":"Prices retrieved successfully","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/feeds":{"get":{"operationId":"get_v1_feeds","tags":["Feeds"],"summary":"Search the feed registry","description":"","parameters":[{"name":"query","in":"query","required":false,"description":"Symbol or base search","schema":{"type":"string"},"example":"BTC"},{"name":"asset_type","in":"query","required":false,"description":"Crypto, Equity, FX, Commodities, Metal","schema":{"type":"string"},"example":"Crypto"},{"name":"limit","in":"query","required":false,"description":"Max results (1-500)","schema":{"type":"string"},"example":"50"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"count":13,"feeds":[{"id":"8f257aab6e7698bb92b15511915e593d6f8eae914452f781874754b03d0c612b","base":"LBTC","quote":"USD","symbol":"LBTC/USD","asset_type":"Crypto","full_symbol":"Crypto.LBTC/USD"},{"id":"6665073f5bc307b97e68654ff11f3d8875abd6181855814d23ab01b8085c0906","base":"MBTC","quote":"USD","symbol":"MBTC/USD","asset_type":"Crypto","full_symbol":"Crypto.MBTC/USD"},{"id":"e62df6c8b4a85fe1a67db44dc12de5db330f7ac66b72dc658afedf0f4a415b43","base":"BTC","quote":"USD","symbol":"BTC/USD","asset_type":"Crypto","full_symbol":"Crypto.BTC/USD"},{"id":"be3dd0cf4a168f82e4912952b24420211ad52641b7365d49866d59e20c948288","base":"EBTC","quote":"USD","symbol":"EBTC/USD","asset_type":"Crypto","full_symbol":"Crypto.EBTC/USD"},{"id":"c96458d393fe9deb7a7d63a0ac41e2898a67a7750dbd166673279e06c868df0a","base":"ETH","quote":"BTC","symbol":"ETH/BTC","asset_type":"Crypto","full_symbol":"Crypto.ETH/BTC"},{"id":"2817d7bfe5c64b8ea956e9a26f573ef64e72e4d7891f2d6af9bcc93f7aff9a97","base":"CBBTC","quote":"USD","symbol":"CBBTC/USD","asset_type":"Crypto","full_symbol":"Crypto.CBBTC/USD"},{"id":"c9d8b075a5c69303365ae23633d4e085199bf5c520a3b90fed1322a0342ffc33","base":"WBTC","quote":"USD","symbol":"WBTC/USD","asset_type":"Crypto","full_symbol":"Crypto.WBTC/USD"},{"id":"42bfb26778f3504a9f359a92c731f77d0c24aed9b7745276e3ad0c2d840b74c2","base":"UBTC","quote":"USD","symbol":"UBTC/USD","asset_type":"Crypto","full_symbol":"Crypto.UBTC/USD"},{"id":"56a3121958b01f99fdc4e1fd01e81050602c7ace3a571918bb55c6a96657cca9","base":"TBTC","quote":"USD","symbol":"TBTC/USD","asset_type":"Crypto","full_symbol":"Crypto.TBTC/USD"},{"id":"f253cf87dc7d5ed5aa14cba5a6e79aee8bcfaef885a0e1b807035a0bbecc36fa","base":"SOLVBTC","quote":"USD","symbol":"SOLVBTC/USD","asset_type":"Crypto","full_symbol":"Crypto.SOLVBTC/USD"},{"id":"3d824c7f7c26ed1c85421ecec8c754e6b52d66a4e45de20a9c9ea91de8b396f9","base":"ZBTC","quote":"USD","symbol":"ZBTC/USD","asset_type":"Crypto","full_symbol":"Crypto.ZBTC/USD"},{"id":"ae8f269ed9c4bed616c99a98cf6dfe562bd3202e7f91821a471ff854713851b4","base":"XBTC","quote":"USD","symbol":"XBTC/USD","asset_type":"Crypto","full_symbol":"Crypto.XBTC/USD"},{"id":"b04edaa5eba1fb048c18b727466681894f0ab21dd89643432af0277162dedb6d","base":"KBTC","quote":"USD","symbol":"KBTC/USD","asset_type":"Crypto","full_symbol":"Crypto.KBTC/USD"}],"source":"Pyth Network","total_matched":13},"meta":{"timestamp":"2026-06-10T22:57:09.925Z","request_id":"8ac9e6f8-5b1f-4143-a18a-a33f782b612b"},"status":"ok","message":"Feeds retrieved successfully","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/meta":{"get":{"operationId":"get_v1_meta","tags":["Meta"],"summary":"Service metadata","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"source":"Pyth Hermes API (hermes.pyth.network, live)","service":"pyth-api","endpoints":{"GET /v1/meta":"This document.","GET /v1/feeds":"Search the feed registry by symbol or asset type (query=BTC, asset_type=Crypto, limit=50).","GET /v1/price":"One feed's latest aggregate price with confidence, EMA and publish time (symbol=BTC/USD).","GET /v1/prices":"Many feeds at once (symbols=BTC/USD,ETH/USD,EUR/USD,XAU/USD)."},"feed_count":3055,"asset_types":["Crypto","Equity","FX","Commodities","Metal","Rates"],"description":"Live cross-asset prices from Pyth, the largest decentralised first-party oracle, which aggregates prices contributed by exchanges, market makers and trading firms and serves them across 90+ blockchains. Pyth covers far more than crypto: ~3,000 feeds spanning crypto, US and global equities, FX pairs, commodities and precious metals. The feeds endpoint searches the feed registry by symbol or asset type; the price endpoint returns one feed's latest aggregate price with its confidence interval, exponent, EMA price and publish time; the prices endpoint returns many feeds at once. Each price carries a confidence band — Pyth's signature measure of how tightly publishers agree. Live, no key, nothing stored. Distinct from single-DEX oracles and single-asset-class price feeds — this is Pyth's own multi-asset first-party oracle layer.","upstream_status":"ok"},"meta":{"timestamp":"2026-06-10T22:57:09.998Z","request_id":"8eb45348-aa8b-4b74-8bd1-91e26f4f98b4"},"status":"ok","message":"Meta","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}}},"x-oanor-pricing":[{"slug":"free","name":"Free","price_cents_month":0,"monthly_call_quota":2500,"rps_limit":3,"hard_limit":true},{"slug":"starter","name":"Starter","price_cents_month":1000,"monthly_call_quota":65000,"rps_limit":15,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":2900,"monthly_call_quota":350000,"rps_limit":40,"hard_limit":true},{"slug":"scale","name":"Scale","price_cents_month":6600,"monthly_call_quota":2100000,"rps_limit":120,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/pyth-api"}