{"uid":"cap_52kaV9iVBj4c5RwZ5-xRg","slug":"truthbear-gauge-precipitation-2bfc0a13","name":"TruthBear Gauge Precipitation","description":"Add-on, precipitation for one location: daily rainfall plus 30-day accumulated wet-dry drought context from ERA5. Descriptive only, never a forecast or advice. No data -> 422 no_charge, not billed. Every record carries an offline-recomputable record_hash. $0.0050 per call.","url":"https://api.truthbear.co/gauge/precip","method":"GET","headers":{},"bodySchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["loc"],"properties":{"loc":{"type":"string","examples":["us-stlouis","us-memphis","us-losangeles","us-fresno","us-phoenix","us-denver"],"description":"required - location id; full list at free /gauge/preview","x-accepted-values":{"all":"https://api.truthbear.co/schemas/gauge-precip.input.json","shown":6,"total":12}}},"additionalProperties":false}}},"output":{"type":"object","required":["type"],"properties":{"type":{"const":"json"}}}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.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_Yu4VD0wjwuszG2j8loOo9","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 daily rainfall plus 30-day accumulated wet-dry drought context for a single US location using ERA5 reanalysis data","exampleAgentPrompt":"Can you pull the precipitation data for us-memphis — I want to see today's rainfall and the 30-day wet-dry drought context?","exampleUseCases":[{"title":"Drought risk assessment for agriculture","prompt":"Pull the precipitation and 30-day accumulated wet-dry context for us-fresno so I can assess current drought conditions for the region."},{"title":"Urban flooding baseline check","prompt":"Get me the daily rainfall and 30-day precipitation context for us-stlouis — I need to understand the recent wet conditions before our infrastructure review."},{"title":"Audit-ready climate data retrieval","prompt":"Fetch the precipitation record for us-phoenix including the record hash so I can verify the data integrity in my report."}],"resultDescription":"A JSON object containing daily rainfall figures and 30-day accumulated precipitation with wet-dry drought context derived from ERA5 reanalysis data, plus an offline-recomputable record_hash for data integrity verification. Returns a 422 no_charge error if no data is available for the location, and the call is not billed in that case.","failureModes":["422 no_charge: no data available for the requested location — call is not billed","Invalid location ID: location not in accepted values list — check /gauge/preview for full list","Network timeout or service unavailability","Missing required 'loc' query parameter returns a validation error"],"whenToPreferThis":"Choose this endpoint when you need descriptive historical precipitation data (daily rainfall plus 30-day accumulated context) for a specific US location grounded in ERA5 reanalysis, with built-in audit trails via record_hash. Prefer it over forecast APIs when you want observed actuals with drought context rather than predictions, and over generic weather APIs when data verifiability and non-billing on missing data are important.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:40:04.722Z","isFirstParty":false}