# NASA JPL on Onekey > 3 endpoints for NASA JPL (3 stable, 0 beta), 5 credits each. Category: Maps, weather & space. One key, one JSON shape. Base URL: https://api.onekey.dev Auth: header `x-api-key: `. Call shape: `GET /v1/{platform}/{endpoint}?{params}`. Every response is `{success, data, metadata, error}`; check `success` first. Cost is in `metadata.credits_charged`. Free when served from cache (0.2 credit for a cached response over 100 KB). Failed and not-found calls are refunded. Status: stable = verified against the live source; beta = not yet verified, fields may be missing. Page: https://onekey.dev/platforms/jpl Reference (Markdown): https://onekey.dev/docs/api/jpl.md All docs: https://onekey.dev/llms.txt ## Canonical fields returned Unified-schema fields (same names on every platform), with how many of the 3 mapped NASA JPL endpoints return each: - `entity.name` (string): 2 - `entity.date` (ISO 8601 date): 1 - `entity.id` (string): 1 - `place.lat` (number): 1 - `place.lon` (number): 1 - plus 15 platform-specific fields under `ext.` ## Endpoints ### jpl.close_approaches Upcoming asteroid/comet close approaches within a distance (AU). - Price: 5 credits per fresh call. Status: stable. Returns: a list. - Request: `GET https://api.onekey.dev/v1/jpl/close_approaches?limit=5` with header `x-api-key: YOUR_API_KEY` - Parameters: - `dist` (string, optional, default 0.05): Max distance in AU - `limit` (string, optional, default 20): Rows (1-100) - Fields returned: `entity.name`, `ext.closeApproach`, `ext.distanceAu`, `ext.relVelocityKmS`, `ext.absoluteMagnitude`, `ext.timeUncertainty` - Reference: https://onekey.dev/docs/api/jpl/close_approaches.md ### jpl.fireballs Recent fireball (bolide) events reported by US government sensors. - Price: 5 credits per fresh call. Status: stable. Returns: a list. - Request: `GET https://api.onekey.dev/v1/jpl/fireballs?limit=5` with header `x-api-key: YOUR_API_KEY` - Parameters: - `limit` (string, optional, default 20): Rows (1-100) - Fields returned: `entity.date`, `place.lat`, `place.lon`, `ext.energyKt`, `ext.impactEnergyKt`, `ext.altitudeKm`, `ext.velocityKmS` - Reference: https://onekey.dev/docs/api/jpl/fireballs.md ### jpl.sentry Sentry risk table: objects with non-zero Earth impact probability. - Price: 5 credits per fresh call. Status: stable. Returns: a list. - Request: `GET https://api.onekey.dev/v1/jpl/sentry` with header `x-api-key: YOUR_API_KEY` - Parameters: none - Fields returned: `entity.id`, `entity.name`, `ext.impactYears`, `ext.impactProbability`, `ext.palermoCumulative`, `ext.torinoMax`, `ext.diameterKm`, `ext.potentialImpacts` - Reference: https://onekey.dev/docs/api/jpl/sentry.md ## Sample request ```bash curl "https://api.onekey.dev/v1/jpl/close_approaches?limit=5" \ -H "x-api-key: YOUR_API_KEY" ```