# Space Weather Solar Flare Now

> Space Weather Solar Flare Now is a paid API for AI agents from space-weather.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-21).

Returns the current solar X-ray class and details of the latest solar flare including begin, peak, and end times.

## Facts

- Endpoint: GET https://space-weather.x402tookit.com/solar-flare-now?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/space-weather-solar-flare-now-d59db80f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_khOisOk-kS0fp8UElJPyj

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 space-weather-solar-flare-now-d59db80f
```

Example prompt: What is the current solar X-ray class and has there been any solar flare recently — give me the begin, peak, and end times plus the peak flare class?

## When to prefer this

Choose this endpoint when you need a concise real-time snapshot of current solar X-ray conditions and the most recent flare event with precise timing. Prefer it over the broader space weather overview endpoint when your use case specifically concerns X-ray flux and flare classification rather than Kp index, geomagnetic storms, or aurora probability.

## Known failure modes

- NOAA data feed temporarily unavailable — degraded flag set to true
- Null values for latestFlare if no recent flare has occurred
- Stale observedAt timestamp if upstream data has not refreshed
- Network timeout to the x402 endpoint requiring retry
- Payment failure if USDC balance is insufficient for the $0.02 call

## How this service works

Current solar X-ray class (A/B/C/M/X) and the latest flare: begin, peak and end times and peak class.

## Output

Returns the current solar X-ray class (A/B/C/M/X scale), observation timestamp, satellite number used, whether data is degraded, a summary and verdict, and a latestFlare object with begin, max, and end times plus class at each phase, along with radio blackout level and source URL.

## 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",
     "required": [],
     "properties": {
      "view": {
       "type": "string",
       "description": "Optional label echoed back; no effect"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "satellite": {
       "type": [
        "null",
        "number"
       ]
      },
      "sourceUrl": {
       "type": [
        "null",
        "string"
       ]
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
      "notChecked": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "observedAt": {
       "type": [
        "null",
        "string"
       ]
      },
      "latestFlare": {
       "type": [
        "null",
        "object"
       ],
       "properties": {
        "endTime": {
         "type": [
          "null",
          "string"
         ]
        },
        "maxTime": {
         "type": [
          "null",
          "string"
         ]
        },
        "endClass": {
         "type": [
          "null",
          "string"
         ]
        },
        "maxClass": {
         "type": [
          "null",
          "string"
         ]
        },
        "beginTime": {
         "type": [
          "null",
          "string"
         ]
        },
    
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/space-weather-solar-flare-now-d59db80f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from space-weather.x402tookit.com](https://www.zero.xyz/host/space-weather.x402tookit.com/llms.txt)
