# BYTE Library x402 Gateway – Weather Feed

> BYTE Library x402 Gateway – Weather Feed is a paid API for AI agents from x402.payperbyte.io, paid per call via x402, $0.021485/call, status unknown (last checked 2026-09-13).

Returns a cryptographically signed, EIP-712 provenance-stamped weather data payload, paid per call in USDC via x402 on Base with no API key required.

## Facts

- Endpoint: GET https://x402.payperbyte.io/feeds/weather
- Price: $0.021485/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/byte-library-x402-gateway-weather-feed-4dfe7cae
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_F2y-PalQIYYisKiCtNSTR

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability byte-library-x402-gateway-weather-feed-4dfe7cae
```

Example prompt: Get me the latest weather data from the BYTE Library provenance feed — I need a signed, EIP-712 attested payload and I'll pay in USDC via x402 on Base.

## When to prefer this

Choose this endpoint when you need weather data with cryptographic provenance guarantees (EIP-712 attestation) for trust-sensitive AI agent pipelines, or when you want a walletless, keyless micropayment model (USDC on Base via x402) rather than a traditional API key subscription. Prefer over standard weather APIs when tamper-evidence or on-chain auditability of data provenance is required.

## Known failure modes

- Insufficient USDC balance — payment fails and no data is returned
- Invalid x402 payment header — 402 response with payment requirements
- Feed temporarily unavailable — 503 or empty payload
- Malformed request properties — 400 bad request
- Network congestion on Base causing settlement delay

## How this service works

NWS weather forecasts for 5 US cities (NYC, LA, Chicago, Houston, Miami)

## Output

A JSON payload containing weather data for the requested feed, cryptographically signed and stamped with an EIP-712 PayloadAttestation for provenance verification. Includes the feed name ('weather') and structured weather data. Cost is approximately $0.021485 USDC per call, deducted automatically via x402 micropayment on Base.

## Example request

```json
{
 "properties": "temperature,humidity,pressure"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "feed": "weather"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/byte-library-x402-gateway-weather-feed-4dfe7cae/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.payperbyte.io](https://www.zero.xyz/host/x402.payperbyte.io/llms.txt)
