{"uid":"cap_HDZhTkApEfNDdm0Qvnaqu","slug":"losbeto-commodity-price-e72516fe","name":"Losbeto Commodity Price","description":"OpenAI-compatible LLM gateway at $0.005/call — change base_url, pay in USDC. Plus pay-per-call market data: multi-oracle price consensus, sentiment, forex, equities, commodities, Brazil macro (BCB/B3) and crypto. No API keys, no accounts. USDC on Base, Solana, Algorand and Polygon via x402.","url":"https://markets.losbeto.xyz/commodity-price?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["symbol"],"properties":{"symbol":{"type":"string","description":"Asset ticker, e.g. AAPL, TSLA, BTC, GOLD"}}}},"additionalProperties":false},"output":{"type":"object","properties":{"example":{"type":"object","properties":{"ts":{"type":"integer"},"name":{"type":"string"},"unit":{"type":"string"},"price":{"type":"number"},"source":{"type":"string"},"symbol":{"type":"string"},"version":{"type":"string"},"provider":{"type":"string"},"change_pct":{"type":"number"},"future_contract":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"ts":1792447853,"name":"Gold","unit":"USD/oz","price":4162,"source":"Yahoo Finance","symbol":"GOLD","version":"48.32.0-ZEROWARN","provider":"Losbeto/Commodities","change_pct":0.05,"future_contract":"GC=F"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.012","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.012/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.012","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.012","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_GeLGgKIGnruYzAY_r77Ov","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.012","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the current market price for a specified commodity, payable via USDC micropayment on Solana or Base.","exampleAgentPrompt":"What is the current market price for gold? I want to use Losbeto's commodity price feed and pay per call via USDC.","exampleUseCases":[{"title":"Real-time commodity price alert","prompt":"Check the current price of crude oil for me — I want to know if it's moved significantly today."},{"title":"Trading bot price feed","prompt":"Fetch the latest spot price for gold so my trading algorithm can decide whether to place an order."},{"title":"Portfolio valuation update","prompt":"Get me the current prices for silver and copper so I can update the value of my commodities portfolio."}],"resultDescription":"A JSON object containing the current market price for the requested commodity, likely including the commodity identifier, price value, currency unit, and timestamp of the price data.","failureModes":["Invalid or unsupported commodity symbol returns an error response","Missing required properties parameter may result in a 400 bad request","Payment failure or insufficient USDC balance returns a 402 Payment Required","Rate limiting or service unavailability returns 5xx errors","Stale or delayed price data during market volatility"],"whenToPreferThis":"Choose this endpoint when you need real-time or near-real-time commodity price data and are comfortable with per-call USDC micropayment billing via the x402 protocol on Solana or Base. It is suitable for AI trading agents that need lightweight, pay-as-you-go market data without a subscription commitment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-18T00:49:08.296Z","isFirstParty":false,"canonicalSlug":"losbeto-commodity-price-e72516fe"}