Space Weather API

NOAA Space Weather Prediction Center data in one typed feed: the planetary Kp geomagnetic index, the R/S/G storm scales (observed and forecast) and recent watches, warnings and alerts.

$0.50 per 1,000 records

You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.

Try it
Ready-made, maintained by usRecords, 12 fieldsv1.0

Data from services.swpc.noaa.gov/products/

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Productoptional
Which feed: kp_index, scales, alerts or all.

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/space-weather-noaa/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/space-weather-noaa/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"product":"all"},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

producttext
Which feed: kp_index, scales, alerts or all.
default: allexample: allone of: all, kp_index, scales, alerts

What's in each record

12 fields: 10 here, 2 technical ones under Technical details.

Basics

  • Product

    Feed the record comes from: kp_index, scales or alerts.

    Example kp_index

  • Kp

    Planetary K-index, 0 to 9.

    Example 3

  • Running A-index

    Example 15

  • Station count

    Magnetometer stations used for the Kp value.

    Example 8

  • Radio blackout scale

    NOAA R scale, 0 to 5.

    Example 0

  • Solar radiation scale

    NOAA S scale, 0 to 5.

    Example 0

  • Geomagnetic storm scale

    NOAA G scale, 0 to 5.

    Example 0

  • Message

    Full alert text.

    Example Space Weather Message Code: WARK04 Serial Number: 5462 Issue Time: 2026 Dec 05 2211 UTC WARNING: Geomagnetic K-index of…

Dates

  • Time

    Time of the reading (UTC).

    Example Dec 6, 2026

  • Issue time

    When the alert was issued (UTC).

    Example Dec 5, 2026

Technical detailsField names and types for developers, and the 2 fields hidden above

Hidden by default

These 2 fields come with each record too. They are internal codes, notes about how the record was read or a copy of what was searched for, so the lists above leave them out.

  • ID idProduct and time, unique per record.
  • Alert ID alert_idNOAA product code of the alert, such as K04W.

Field names and types

The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.

Field nameTypeShown on this page asFilled
idtextID (hidden)3 of 3
producttextProduct3 of 3
timedate and timeTime3 of 3
kpnumberKp1 of 3
a_runningnumberRunning A-index1 of 3
station_countnumberStation count1 of 3
radio_blackout_scalenumberRadio blackout scale1 of 3
solar_radiation_scalenumberSolar radiation scale1 of 3
geomagnetic_storm_scalenumberGeomagnetic storm scale1 of 3
alert_idtextAlert ID (hidden)1 of 3
issue_timedate and timeIssue time1 of 3
messagetextMessage1 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordProductKpRunning A-indexStation countRadio blackout scaleSolar radiation scaleGeomagnetic storm scaleMessageTimeIssue time
1kp_index3158————Dec 6, 2026—
2scales———000—Dec 6, 2026—
3alerts——————Space Weather Message Code: WARK04 Serial Number: 5462 Issue Time: 2026 Dec 05 2211 UTC WARNING: Geomagnetic K-index of 4 expected Valid From: 2026 Dec 05 2210 UTC Valid To: 2026 Dec 06 1200 UTC Warning Conditions: Onset Comment: NOAA Space Weather Scale descriptions can be…Dec 5, 2026Dec 5, 2026

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.
Known limits
  • Only the current window the source publishes: about 7 days of 3-hourly Kp values, the scales for yesterday, today and the next three days, and the most recent alerts.
  • Each record fills only the fields of its own product: Kp records have kp, a_running and station_count; scale records have the three scales; alert records have alert_id, issue_time and message.
  • Forecast days carry only the geomagnetic scale; radio blackout and solar radiation scales are empty for them.
  • Kp values are estimated and can be revised by NOAA; the source updates every few minutes to every 3 hours depending on the product.
  • Public NOAA data; credit NOAA Space Weather Prediction Center.

Version history

A run uses the live version unless the request names another one with version.