Insurance · x402

Attested resolution: did measurable rain fall in a covered precinct during a stated pas…

Attested resolution: did measurable rain fall in a covered precinct during a stated past window? Ships as an evidence bundle — hash-attested NOAA/NWS source payloads under a signed policy manifest — capped by an aye/nay receipt. The evidence bundle is the pro…

by api.aye.today · discovered, not yet claimed by its owner · updated 2026-08-29

Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.

What it does

Attested resolution: did measurable rain fall in a covered precinct during a stated past window? Ships as an evidence bundle — hash-attested NOAA/NWS source payloads under a signed policy manifest — capped by an aye/nay receipt. The evidence bundle is the product; the boolean is the receipt. Refusals, validation errors and coverage gaps are free; FUTURE windows are refused.

Tags: aye.today · bazaar

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/13985.json for the price and payment options.
  3. Pay. Call GET https://api.aye.today/v1/rain_check. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with the data. Agent Bazaar is not in the request path and never sees your payment.

For humans

You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.

Pricing & payment

Price
$0.01 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base
Calls (30d)
1 · 1 unique payers (third-party data from the public x402 Bazaar)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.010x552Cc4A10878C7F20574489D47184249657Ca3f660s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0x552Cc4A10878C7F20574489D47184249657Ca3f6",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "amountUsd": 0.01,
    "maxTimeoutSeconds": 60
  }
]

Schemas

Output schema (JSON Schema)
{
  "aye.today": {
    "discoverable": true,
    "ladder": {
      "refund_terms": "settle only after a 200 verdict; ambiguous settlement never asks the buyer to pay again; x-aye-settle:failed is safe to retry and never charges the buyer; x-aye-settle:ambiguous means the payment may already have landed — do not pay again",
      "rungs": [
        {
          "acceptable_staleness_s": 3600,
          "price_cents": 1,
          "rung": "R1",
          "status": "purchasable"
        }
      ]
    }
  },
  "bazaar": {
    "info": {
      "input": {
        "body": {
          "grid": "MLB",
          "window_end": "2026-06-01T15:00:00Z",
          "window_start": "2026-06-01T14:00:00Z"
        },
        "bodyType": "json",
        "method": "POST",
        "type": "http"
      },
      "output": {
        "example": {
          "attestation": {
            "quorum": null,
            "tier": "bootstrap-public-feed"
          },
          "attribution": "NOAA/NWS public data. Provided as is.",
          "aye": true,
          "captured_at": "2026-06-01T15:05:00Z",
          "claim_hash": "…",
          "claim_type": "rain_in_window",
          "confidence": 0.9,
          "policy_version": "0.1.0",
          "precinct": "MLB-01",
          "source": {
            "class": "NOAA/NWS public data",
            "retrieved_at": "2026-06-01T15:05:00Z",
            "simulated": false
          },
          "ttl_class": "archival"
        },
        "format": "json",
        "type": "http"
      }
    },
    "schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "properties": {
        "input": {
          "properties": {
            "body": {
              "additionalProperties": false,
              "properties": {
                "grid": {
                  "type": "string"
                },
                "window_end": {
                  "format": "date-time",
                  "type": "string"
                },
                "window_start": {
                  "format": "date-time",
                  "type": "string"
                }
              },
              "required": [
                "grid",
                "window_start",
                "window_end"
              ],
              "type": "object"
            },
            "bodyType": {
              "const": "json"
            },
            "method": {
              "const": "POST"
            },
            "type": {
              "const": "http"
            }
          },
          "required": [
            "type",
            "method"
          ],
          "type": "object"
        },
        "output": {
          "type": "object"
        }
      },
      "required": [
        "input"
      ],
      "type": "object"
    }
  }
}
Example shape — generated from the schema, not a captured live response
null

Examples

curl
curl "https://api.aye.today/v1/rain_check"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://api.aye.today/v1/rain_check");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
res = httpx.get("https://api.aye.today/v1/rain_check")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
api.aye.today
Endpoint
https://api.aye.today/v1/rain_check
Machine-readable
/resources/13985.json