# BYTE Library x402 Gateway – Space Weather Feed

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

Delivers cryptographically signed, provenance-stamped space weather data to AI agents via pay-per-call USDC payment over the x402 protocol

## Facts

- Endpoint: GET https://x402.payperbyte.io/feeds/space-weather
- Price: $0.003/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-space-weather-feed-843ba70a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Cj6rb0fqQJsEcLWuLa5qQ

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-space-weather-feed-843ba70a
```

Example prompt: Can you grab the latest space weather data from BYTE Library's x402 feed — I want the cryptographically signed, provenance-attested payload so I know it's verified — and just pay the per-call USDC fee from my wallet?

## When to prefer this

Choose this endpoint when you need tamper-evident, cryptographically attested space weather data with on-chain payment provenance — especially in agentic workflows where data integrity and auditability matter, and you prefer wallet-based micropayments over API key management. Prefer over traditional weather APIs when verifiability and decentralized access control are requirements.

## Known failure modes

- 402 Payment Required if USDC payment is not provided or insufficient
- Invalid or missing x402 payment header results in rejection
- Wallet misconfiguration or insufficient USDC balance blocks access
- Base chain congestion may delay payment settlement
- Malformed request properties field returns error
- Feed temporarily unavailable if upstream space weather source is down

## How this service works

NOAA SWPC solar activity, geomagnetic storms, Kp index

## Output

A JSON payload containing current space weather data (solar wind conditions, geomagnetic indices, solar flare activity, etc.), cryptographically signed with an EIP-712 PayloadAttestation provenance stamp confirming data integrity and origin. Settlement occurs on Base (eip155:8453) at ~$0.002442 USDC per call.

## Example request

```json
{
 "properties": "solar_wind_speed,magnetic_field_strength,proton_density"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/byte-library-x402-gateway-space-weather-feed-843ba70a/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)
