# Space Weather Sunspot Regions

> Space Weather Sunspot Regions 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 active sunspot regions on the Sun, including region count, complex magnetic types capable of flaring, and recent C/M/X-class flare counts.

## Facts

- Endpoint: GET https://space-weather.x402tookit.com/sunspot-regions?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-sunspot-regions-d46a7cbc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_N4dM9WT10PxSJSlLU00o-

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-sunspot-regions-d46a7cbc
```

Example prompt: What active sunspot regions are on the Sun right now — how many are there, which ones have complex magnetic fields that could flare, and how many C, M, and X flares have happened recently?

## When to prefer this

Choose this endpoint when you need structured, machine-readable sunspot region data with per-region magnetic classification detail and recent flare counts. It is the right choice for assessing solar flare probability, monitoring active region complexity, or feeding a space weather dashboard. Prefer it over the solar X-ray class endpoint when you need the underlying sunspot source data rather than the current X-ray flux reading, and over the general space weather overview endpoint when you specifically need region-level granularity.

## Known failure modes

- Data source unavailable: returns degraded:true with reasons array explaining what could not be fetched
- Stale data: asOf timestamp may lag real-time by minutes to hours depending on NOAA update cadence
- No active regions: top array may be empty or null during solar minimum periods
- Network timeout: upstream NOAA data fetch may fail transiently
- Invalid query parameter: unrecognized view param is echoed but has no functional effect

## How this service works

Active sunspot regions on the Sun now: count, complex magnetic types that can flare, and recent flare counts.

## Output

Returns a JSON object containing: total active sunspot region count, number of complex magnetic regions, counts of recent C/M/X-class flares, a top-regions array with per-region detail (region number, spot count, location, spot class, magnetic class, area in millionths), a plain-language summary and verdict, data timestamp, source attribution URL, and optional degraded-data flags with reasons.

## 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": {
      "top": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "object",
        "properties": {
         "spots": {
          "type": [
           "null",
           "number"
          ]
         },
         "region": {
          "type": [
           "null",
           "number"
          ]
         },
         "cEvents": {
          "type": [
           "null",
           "number"
          ]
         },
         "mEvents": {
          "type": [
           "null",
           "number"
          ]
         },
         "xEvents": {
          "type": [
           "null",
           "number"
          ]
         },
         "location": {
          "type": [
           "null",
           "string"
          ]
         },
         "spotClass": {
          "type": [
           "null",
           "string"
          ]
         },
         "magneticClass": {
          "type": [
           "null",
           "string"
          ]
         },
         "areaMillionths": {
          "type": [
           "null",
           "number"
          ]
         }
        }
       }
      },
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "date": {
       "type": [
        "null",
        "string"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "cFlares": {
       "type": [
        "null",
        "number"
       ]
      },
      "mFlares": {
       "type": [
        "null",
        "number"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
     
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/space-weather-sunspot-regions-d46a7cbc/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)
