How to hit the NOAA Space Weather API

NOAA's Space Weather Prediction Center publishes its data as JSON files at https://services.swpc.noaa.gov. Many are arrays of rows whose first row is the column names.

Authentication

None — no key, no signup. Every example runs as-is.

Full reference: https://www.swpc.noaa.gov/content/data-access

Planetary K-index

Geomagnetic activity, 0–9; 5 and up is a storm.

curl https://services.swpc.noaa.gov/products/noaa-planetary-k-index.json
Run in PostTaco
Example response (trimmed)
[
  {
    "time_tag": "2026-09-16T00:00:00",
    "Kp": 3.67,
    "a_running": 22,
    "station_count": 8
  },
  {
    "time_tag": "2026-09-16T03:00:00",
    "Kp": 3,
    "a_running": 15,
    "station_count": 8
  }
]

Current storm scales

Radio blackout (R), radiation (S), and geomagnetic (G) levels.

curl https://services.swpc.noaa.gov/products/noaa-scales.json
Run in PostTaco
Example response (trimmed)
{
  "0": {
    "DateStamp": "2026-09-23",
    "TimeStamp": "21:41:00",
    "R": {
      "Scale": "0",
      "Text": "none",
      "MinorProb": null,
      "MajorProb": null
    },
    "S": {
      "Scale": "0",
      "Text": "none",
      "Prob": null
    },
    "G": {
      "Scale": "0",
      "Text": "none"
    }
  },
  "1": {
    "DateStamp": "2026-09-23",
    "TimeStamp": "21:41:00",
    "R": {
      "Scale": null,
      "Text": null,
      "MinorProb": "20",
      "MajorProb": "1"
    },
    "S": {
      "Scale": null,
      "Text": null,
      "Prob": "1"
    },
    "G": {
      "Scale": "0",
      "Text": "none"
    }
  },
  "2": {
    "DateStamp": "2026-09-24",
    "TimeStamp": "00:00:00",
    "R": {
      "Scale": null,
      "Text": null,
      "MinorProb": "20",
      "MajorProb": "1"
    },
    "S": {
      "Scale": null,
      "Text": null,
      "Prob": "1"
    },
    "G": {
      "Scale": "1",
      "Text": "minor"
    }
  },
  "3": {
    "DateStamp": "2026-09-25",
    "TimeStamp": "00:00:00",
    "R": {
      "Scale": null,
      "Text": null,
      "MinorProb": "20",
      "MajorProb": "1"
    },
    "S": {
      "Scale": null,
      "Text": null,
      "Prob": "1"
    },
    "G": {
      "Scale": "0",
      "Text": "none"
    }
  },
  "-1": {
    "DateStamp": "2026-09-22",
    "TimeStamp": "21:41:00",
    "R": {
      "Scale": "0",
      "Text": "none",
      "MinorProb": null,
      "MajorProb": null
    },
    "S": {
      "Scale": "0",
      "Text": "none",
      "Prob": null
    },
    "G": {
      "Scale": "0",
      "Text": "none"
    }
  }
}