{"uid":"cap_oBq3C6vRI-MVWT5pDxfpJ","slug":"tokenguard-pyth-price-feed-endpoint-e7a3f27f","name":"TokenGuard Pyth Price Feed Endpoint","description":"pyth data for AI agents.","url":"https://eltociear-tokenguard.hf.space/pyth","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":[],"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_jBtatefygbKvn4xFxBK-D","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches real-time cryptocurrency price data from the Pyth Network oracle via the TokenGuard DeFi data API","exampleAgentPrompt":"What is the current Pyth oracle price for ETH/USD, including the confidence interval and when it was last published?","exampleUseCases":[{"title":"Real-time oracle price for DeFi strategy","prompt":"I need the current Pyth oracle price and confidence interval for BTC/USD so I can decide whether to rebalance my DeFi position — can you pull that right now?"},{"title":"On-chain price verification for token trade","prompt":"Before I execute this swap, can you check the Pyth Network oracle price for SOL/USD and tell me how fresh the data is?"},{"title":"Oracle price feed for smart contract input","prompt":"Pull the latest Pyth price feed data for LINK/USD for me — I need the price, confidence, and publish timestamp to validate a contract condition."}],"resultDescription":"Returns a JSON object containing the real-time price from the Pyth Network oracle for the requested asset, typically including the current price value, confidence interval (price uncertainty range), the price exponent, and the publish timestamp indicating data freshness.","failureModes":["Invalid or unsupported price feed ID returns an error or empty result","Network latency to Pyth Network may cause stale price data","Micropayment failure via x402 protocol prevents access to the endpoint","Unknown token symbol returns no matching feed","Rate limiting or service unavailability on HuggingFace Spaces hosting"],"whenToPreferThis":"Choose this endpoint when you need verified on-chain oracle price data sourced specifically from the Pyth Network, particularly for DeFi applications requiring confidence intervals and publish timestamps alongside the price. Prefer this over generic market data APIs when oracle-grade, manipulation-resistant price feeds with confidence scores are required for smart contract inputs or DeFi strategy execution.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:50:46.285Z","isFirstParty":false}