{"uid":"cap_ecZS_uoYwBXi5gOJQYVuT","slug":"x402-bazaar-weather-demo-3780d058","name":"x402 Bazaar Weather (Demo)","description":"DEMO/synthetic endpoint mirroring the canonical x402 `/weather` example for wire-format testing. Output is deterministic from the city name — NOT real weather. Paid via x402: $0.001 in USDC on Base (eip155:8453) to 0x973a31858f4d2125f48c880542da11a2796f12d6. Returns 402 with payment requirements; pay and retry.","url":"https://api.relai.fi/relay/1782567677091/api/x402/weather?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-ZPYPawa_njcVyK1p4bCt","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns deterministic synthetic weather data for a given city name, used for testing x402 wire-format payment flows with USDC on Base.","exampleAgentPrompt":"Run a test x402 weather lookup for 'San Francisco' using the x402 Bazaar demo endpoint — pay with USDC on Base and show me the synthetic weather response we get back.","exampleUseCases":[{"title":"Validate x402 payment retry loop","prompt":"Can you hit the x402 Bazaar weather endpoint for 'New York', handle the 402 response, pay the USDC micropayment on Base, and then show me the full retry flow so I can confirm our x402 client is handling it correctly?"},{"title":"Demo x402 micropayment wire format","prompt":"I need to demo the x402 HTTP payment protocol to my team — can you run a synthetic weather lookup for 'Tokyo' through the x402 Bazaar endpoint, pay with USDC on Base, and walk me through exactly what the 402 response and payment headers look like?"},{"title":"Prototype x402-enabled API integration","prompt":"I'm building an x402-compatible client and want to make sure my payment header formatting is right — can you call the x402 Bazaar weather endpoint for 'London', complete the USDC micropayment on Base, and show me the raw request and response so I can compare against what my code produces?"}],"resultDescription":"A deterministic (non-real) weather response for the submitted city name, returned after completing an x402 micropayment of $0.001 USDC on Base (eip155:8453). Initially returns HTTP 402 with payment requirements; after payment, retries and returns the synthetic weather payload.","failureModes":["HTTP 402 returned on first call — expected; must complete x402 payment and retry","Invalid or missing city name may return an error or empty response","Payment to wrong address or wrong chain (must be eip155:8453) will fail verification","Insufficient USDC balance on Base will block payment completion","Network issues with Base RPC may delay payment confirmation"],"whenToPreferThis":"Use this endpoint when you need to test or demonstrate the x402 HTTP payment protocol wire format, specifically the 402-then-retry flow with USDC micropayments on Base. Not for real weather data — output is fully synthetic and deterministic. Ideal for developers building x402-compatible clients or validating payment header formats.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T04:27:37.547Z","isFirstParty":false,"canonicalSlug":"x402-bazaar-weather-demo-3780d058"}