The x402 Register independently checks API Acre's unpaid challenge, price, protocol version, and availability. It does not purchase or validate paid results.
Open the current report ↗Run US weather forecast.
API Acre verifies the exact x402 price, Base network, recipient, and request before any wallet opens. One successful call costs $0.003 USDC.
API Acre never receives your private key; signing stays inside your wallet.
Connecting opens Coinbase Wallet. It does not sign or pay.
1 · Choose how to run one call
Both routes use this exact verified request and one-call price. Nothing is connected, signed, installed, or paid until you continue.
Pay with a wallet
Use an installed EVM wallet, or open Coinbase Wallet through a desktop QR code or mobile handoff.
Use Coinbase Agentic Wallet
Copy a command locked to this endpoint, request, and exact USDC cap. Copying is inert; running it may install the official CLI and pay after its authentication and policy checks.
The wallet did not connect, so nothing was signed or paid. Copy this same request and exact USDC cap for Coinbase Agentic Wallet; copying does not install or run it.
- Network
- Recipient
- USDC contract
No ETH gas needed. Connecting does not sign or pay. This EIP-3009 payment needs only the displayed USDC on Base because the facilitator submits settlement. Reject any later prompt that differs from the verified amount or recipient.
Review exact-cap Coinbase command
Running this command may automatically spend up to $0.003 USDC. npx --yes approves package installation. Use a separate low-value wallet and review the verified request first.
npx --yes awal@latest x402 pay https://apiacre.com/v1/data/us-weather-forecast \
-X POST \
-d '{"latitude":38.8977,"longitude":-77.0365,"forecast_type":"day_night","units":"us","periods":2,"include_current_conditions":true,"include_active_alerts":true}' \
--max-amount 3000 \
--jsonAlternative third-party AgentCash command
The first command checks without paying; running fetch may pay up to the same exact cap.
npx --yes agentcash@latest check https://apiacre.com/v1/data/us-weather-forecast
npx --yes agentcash@latest fetch https://apiacre.com/v1/data/us-weather-forecast \
--method POST \
--header 'content-type: application/json' \
--body '{"latitude":38.8977,"longitude":-77.0365,"forecast_type":"day_night","units":"us","periods":2,"include_current_conditions":true,"include_active_alerts":true}' \
--payment-protocol x402 \
--payment-network base \
--max-amount 0.003See the result before connecting · Curated static example
US weather forecast returns structured JSON. This example is static; the paid call returns a fresh result and settlement receipt.
{
"request_id": "018f1f54-7f38-7ba2-8dc3-5f90272d9f1a",
"service": "data.us-weather-forecast",
"version": "1",
"data": {
"location": {
"latitude": 38.8977,
"longitude": -77.0365,
"city": "Washington",
"state": "DC",
"timezone": "America/New_York",
"grid": {
"office": "LWX",
"x": 97,
"y": 71
}
},
"forecastType": "day_night",
"units": "us",
"generatedAt": "2026-08-12T03:09:21+00:00",
"updatedAt": null,
"periodCount": 2,
"periodsTruncated": true,
"periods": [
{
"number": 1,
"name": "Tonight",
"startTime": "2026-08-11T23:00:00-04:00",
"endTime": "2026-08-12T06:00:00-04:00",
"isDaytime": false,
"temperature": 72,
"temperatureUnit": "F",
"temperatureTrend": null,
"probabilityOfPrecipitationPercent": 23,
"relativeHumidityPercent": 87,
"dewpoint": {
"value": 22.2,
"unitCode": "wmoUnit:degC"
},
"windSpeed": "5 mph",
"windDirection": "W",
"shortForecast": "Slight Chance Showers And Thunderstorms",
"detailedForecast": "A slight chance of showers and thunderstorms. Mostly cloudy, with a low around 72. West wind around 5 mph."
},
{
"number": 2,
"name": "Wednesday",
"startTime": "2026-08-12T06:00:00-04:00",
"endTime": "2026-08-12T18:00:00-04:00",
"isDaytime": true,
"temperature": 88,
"temperatureUnit": "F",
"temperatureTrend": null,
"probabilityOfPrecipitationPercent": 12,
"relativeHumidityPercent": 62,
"dewpoint": {
"value": 20.6,
"unitCode": "wmoUnit:degC"
},
"windSpeed": "6 mph",
"windDirection": "NW",
"shortForecast": "Partly Sunny",
"detailedForecast": "Partly sunny, with a high near 88. Northwest wind around 6 mph."
}
],
"currentConditions": {
"requested": true,
"available": true,
"stationId": "KDCA",
"stationName": "Washington/Reagan National Airport, DC",
"observedAt": "2026-08-12T03:52:00+00:00",
"description": "Mostly Cloudy",
"temperature": {
"value": 24.4,
"unitCode": "wmoUnit:degC"
},
"dewpoint": {
"value": 21.1,
"unitCode": "wmoUnit:degC"
},
"relativeHumidityPercent": 81,
"heatIndex": {
"value": 25.1,
"unitCode": "wmoUnit:degC"
},
"windChill": null,
"windDirection": {
"value": 250,
"unitCode": "wmoUnit:degree_(angle)"
},
"windSpeed": {
"value": 9.3,
"unitCode": "wmoUnit:km_h-1"
},
"windGust": null,
"visibility": {
"value": 16090,
"unitCode": "wmoUnit:m"
},
"sourceUrl": "https://api.weather.gov/stations/KDCA/observations/latest",
"warning": null
},
"activeAlerts": {
"requested": true,
"available": true,
"updatedAt": "2026-08-12T04:09:00+00:00",
"alertCount": 0,
"alertsTruncated": false,
"alerts": [],
"sourceUrl": "https://api.weather.gov/alerts/active?point=38.8977%2C-77.0365&status=actual&limit=10",
"warning": null
},
"source": {
"provider": "NOAA/National Weather Service",
"dataset": "NWS API forecast with optional observations and active alerts",
"pointsUrl": "https://api.weather.gov/points/38.8977,-77.0365",
"forecastUrl": "https://api.weather.gov/gridpoints/LWX/97,71/forecast?units=us",
"documentationUrl": "https://www.weather.gov/documentation/services-web-api",
"disclaimerUrl": "https://www.weather.gov/disclaimer",
"upstreamAccess": "free open data",
"attribution": "Weather data: NOAA/National Weather Service.",
"transformation": "API Acre normalized selected NWS fields; this response is not an official government product and does not imply NOAA/NWS endorsement."
},
"retrievedAt": "2026-08-12T04:10:00+00:00",
"limitations": [
"Coverage is limited to locations supported by the United States National Weather Service, including supported U.S. territories.",
"Current conditions, when requested, come from the nearest available reporting station and observations may be delayed.",
"Internet delivery and timeliness are not guaranteed. For life-safety decisions, check current official alerts and NWS dissemination channels.",
"Active alerts are a bounded point-in-time subset; radar and historical weather are not included."
]
},
"meta": {
"duration_ms": 42,
"cached": false,
"sources": [],
"warnings": [],
"next_actions": []
}
}Review exact request JSON
2 · Authorize one call
- Connected wallet
- Available on Base
- Checking USDC…
- Required
- $0.003 USDC
Checking the connected wallet's Base USDC balance without signing or paying.
Signing authorizes only the verified amount and recipient for this request. Reject the wallet prompt if anything differs. The displayed balance is read locally through your wallet provider and is never sent to API Acre.
Result
Settlement receipt
Change the request (optional)
The default request is verified automatically. Editing it invalidates the quote and requires this no-payment verification again.
Prefer your own client? Use the official x402 SDK examples. Browser checkout requires an EVM wallet with USDC on Base; command-line buyers require their own separately configured wallet and spending policy.