# AgentToll Space Weather API

> AgentToll Space Weather API is a paid API for AI agents from agenttoll.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Retrieves current and historical space weather data including solar activity, geomagnetic storms, and related environmental metrics

## Facts

- Endpoint: POST https://agenttoll.dev/paid/env/space-weather
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agenttoll-space-weather-api-d9460aa4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mEi-T6xxLscJfGiC_3MJg

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 agenttoll-space-weather-api-d9460aa4 -d '<json body>'
```

Example prompt: Pull space weather data for the last 7 days, including geomagnetic storm events, so I can assess conditions for our satellite operations.

## When to prefer this

Choose this endpoint when an AI agent needs structured, pay-per-call space weather data without committing to a subscription. Ideal for agents performing satellite operations planning, aurora prediction, radiation risk assessment, or scientific research that only occasionally needs space weather data. At $0.02 per call via x402/USDC on Base, it suits low-frequency or on-demand lookups.

## Known failure modes

- Invalid days integer causes 400 error
- Unknown or unsupported type string returns empty data or error
- Payment failure (insufficient USDC) blocks access
- Upstream space weather data source unavailable causes 503
- days value too large may be rejected or return partial data

## How this service works

108+ receipt-backed x402 work products for AI agents. Clear prices, spend caps, buyer metadata, and structured results over Base USDC.

## Output

Returns a structured response containing an array or object of space weather data records, along with metadata including the count of records, the data source, and the timestamp of generation. Also includes a boolean indicating whether the result was served from cache and a success flag.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "oneOf": [
    {
     "type": "array"
    },
    {
     "type": "object"
    }
   ]
  },
  "meta": {
   "type": "object",
   "properties": {
    "count": {
     "type": "integer"
    },
    "source": {
     "type": "string"
    },
    "generated_at": {
     "type": "string",
     "format": "date-time"
    }
   }
  },
  "cached": {
   "type": "boolean"
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agenttoll-space-weather-api-d9460aa4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agenttoll.dev](https://www.zero.xyz/host/agenttoll.dev/llms.txt)
