Skip to content

Quickstart

Sign up at pxie.ai and create an API key from the dashboard. Keys start with pxie_live_.

The free Xplorer tier gives you 500 credits once, at sign-up (valid 90 days) — enough to explore the API.

All requests require an X-API-Key header.

Terminal window
curl -H "X-API-Key: pxie_live_YOUR_KEY" \
https://api.pxie.ai/v1/space-weather/kp
import httpx
r = httpx.get(
"https://api.pxie.ai/v1/space-weather/kp",
headers={"X-API-Key": "pxie_live_YOUR_KEY"},
)
print(r.json())
const res = await fetch("https://api.pxie.ai/v1/space-weather/kp", {
headers: { "X-API-Key": "pxie_live_YOUR_KEY" },
});
const data = await res.json();
console.log(data);
{
"time_utc": "2026-03-11T18:00:00",
"kp": 3.33,
"status": "observed"
}

Every response includes normalized field names (snake_case) and UTC timestamps. time_utc is passed through as the source publishes it.

Every successful response carries an X-Pxie-Credits-Remaining header with your balance. Your full balance and expiry dates are on the dashboard.

Each endpoint costs a specific number of credits per call. See Credits & Billing for details.