# Space Weather Geomagnetic Kp Index

> Space Weather Geomagnetic Kp Index 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 planetary Kp index readings over the last 3–168 hours, including latest value, peak, trend, and the corresponding NOAA G storm level.

## Facts

- Endpoint: GET https://space-weather.x402tookit.com/geomagnetic-kp?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-geomagnetic-kp-index-a52a7403
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__RXZ4OWwxnV75yYXywAG5

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-geomagnetic-kp-index-a52a7403
```

Example prompt: What's the current Kp index and has there been any geomagnetic storm activity in the last 48 hours? Tell me the peak Kp, the trend, and the NOAA G storm level.

## When to prefer this

Use this endpoint when you need historical or recent Kp index time-series data with NOAA G-level mapping — especially for trend analysis, peak detection over a custom time window, or when you want structured readings rather than a current-moment snapshot. For a real-time single-value check or 3-day outlook, consider the current space weather overview endpoint instead.

## Known failure modes

- NOAA upstream data unavailable — degraded flag set to true with partial or stale data
- Invalid hours parameter outside 3–168 range returns validation error
- Network timeout to upstream NOAA feed results in error response
- If no storm activity, peakGLevel and latestGLevel may be 0 with quiet verdict

## How this service works

Planetary Kp index over the last 3-168 hours: latest, peak, trend and the NOAA G storm level it maps to.

## Output

Returns a JSON object with the latest Kp value and timestamp, peak Kp and its timestamp, geomagnetic trend (rising/falling/quiet), NOAA G storm level for both latest and peak readings, a time-series array of Kp readings, a human-readable summary and verdict, storm threshold reference, data source URL, and optional degraded/disclaimer flags.

## 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": {
      "hours": {
       "type": "integer",
       "description": "Lookback hours, 3 to 168, default 24"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "trend": {
       "type": [
        "null",
        "string"
       ]
      },
      "peakAt": {
       "type": [
        "null",
        "string"
       ]
      },
      "peakKp": {
       "type": [
        "null",
        "number"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "latestAt": {
       "type": [
        "null",
        "string"
       ]
      },
      "latestKp": {
       "type": [
        "null",
        "number"
       ]
      },
      "readings": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "object",
        "properties": {
         "kp": {
          "type": [
           "null",
           "number"
          ]
         },
         "time": {
          "type": [
           "null",
           "string"
          ]
         }
        }
       }
      },
      "sourceUrl": {
       "type": [
        "null",
        "string"
       ]
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
      "notChecked": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "stri
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/space-weather-geomagnetic-kp-index-a52a7403/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)
