{"uid":"cap_7bSs_qkRQPw1j35u9vjn1","slug":"x402-apis-gold-price-lookup-529883ff","name":"x402 APIs - Gold Price Lookup","description":"AI-agent-friendly APIs with instant micropayments via x402 protocol. No API keys, no accounts - just pay and access.","url":"https://x402-apis-eta.vercel.app/api/gold-price","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"karat":{"type":"string","description":"Karat: 24K, 22K, 21K, 18K, or all"},"currency":{"type":"string","description":"Currency: USD, AED, EUR, GBP, INR, SAR, PKR, PHP, BDT, EGP"}}},"responseSchema":null,"example":{"request":{"karat":"24K","currency":"USD"},"response":{"unit":"gram","prices":{"24K":{"per_gram":85.2,"per_ounce":2650}},"currency":"USD","fetched_at":"2026-06-12T04:57:23.994Z","spot_price_per_ounce":2650}},"exampleRequest":{"karat":"24K","currency":"USD"},"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_LwSVC1oi7uDxScJMoKMMT","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns current gold prices by karat purity and currency via pay-per-request micropayment (no API key required)","exampleAgentPrompt":"What's the current price of 24K gold in USD? Also show me 18K and 22K if you can.","exampleUseCases":null,"resultDescription":"Returns the current gold price(s) for the requested karat purity (or all karats) denominated in the specified currency, reflecting live or near-live market rates.","failureModes":["Payment not received — returns HTTP 402 requiring x402 micropayment before serving data","Invalid karat value — returns error if karat not in accepted set (24K, 22K, 21K, 18K, all)","Unsupported currency — returns error if currency code not in supported list","Data source unavailable — upstream gold price feed may be temporarily unreachable","Network/server error — Vercel deployment may return 500 on transient failures"],"whenToPreferThis":"Use this endpoint when an agent needs live or near-live gold commodity prices across multiple karat purities and international currencies, especially when no API key or account signup is desired — just pay $0.005 USDC per call via x402 protocol. Prefer this for quick spot-price checks in markets like UAE, India, Pakistan, Philippines, Saudi Arabia, Egypt, or standard Western currencies.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:51:22.002Z","isFirstParty":false}