NASA
api.nasa.gov
Near-earth objects, imagery and mission data from NASA open APIs.
GET /v1/data/nasa/asteroid1Request
JPL SPK-ID / NEO reference id, as returned in the feed. 3542519 is (2010 PK9).
curl "https://api.fastcrw.com/v1/data/nasa/asteroid?asteroid_id=3542519" \ -H "Authorization: Bearer $FASTCRW_API_KEY"
2Response example
A sample shape. Press Run to see live data from NASA.
{
"absolute_magnitude_h": 21.81,
"close_approach_data": [
{
"close_approach_date": "1900-06-01",
"close_approach_date_full": "1900-Jun-01 16:40",
"epoch_date_close_approach": -2195882400000,
"miss_distance": {
"astronomical": "0.0445495565",
"kilometers": "6664518.761844655",
"lunar": "17.3297774785",
"miles": "4141139.931400039"
},
"orbiting_body": "Merc",
"relative_velocity": {
"kilometers_per_hour": "111367.5582113129",
"kilometers_per_second": "30.9354328365",
"miles_per_hour": "69199.4697119127"
}
},
{
"close_approach_date": "1900-07-07",
"close_approach_date_full": "1900-Jul-07 22:08",
"epoch_date_close_approach": -2192752320000,
"miss_distance": {
"astronomical": "0.1416686321",
"kilometers": "21193325.607973627",
"lunar": "55.1090978869",
"miles": "13168921.8817729726"
},
"orbiting_body": "Venus",
"relative_velocity": {
"kilometers_per_hour": "114402.3918665533",
"kilometers_per_second": "31.7784421852",
"miles_per_hour": "71085.1973239703"
}
},
"… 280 more items"
],
"designation": "2010 PK9",
"estimated_diameter": {
"feet": {
"estimated_diameter_max": 847.2762444114,
"estimated_diameter_min": 378.9134556449
},
"kilometers": {
"estimated_diameter_max": 0.258249791,
"estimated_diameter_min": 0.1154928176
},
"meters": {
"estimated_diameter_max": 258.2497910326,
"estimated_diameter_min": 115.4928175848
},
"miles": {
"estimated_diameter_max": 0.1604689309,
"estimated_diameter_min": 0.0717638876
}
},
"id": "3542519",
"is_potentially_hazardous_asteroid": true,
"is_sentry_object": false,
"links": {
"self": "http://api.nasa.gov/neo/rest/v1/neo/3542519?api_key=REDACTED"
},
"name": "(2010 PK9)",
"nasa_jpl_url": "https://ssd.jpl.nasa.gov/tools/sbdb_lookup.html#/?sstr=3542519",
"neo_reference_id": "3542519",
"orbital_data": {
"aphelion_distance": "1.143085834346917",
"ascending_node_longitude": "306.5059266984936",
"data_arc_in_days": 4783,
"eccentricity": ".6758634748619897",
"epoch_osculation": "2461000.5",
"equinox": "J2000",
"first_observation_date": "2010-07-18",
"inclination": "12.58732502214531",
"jupiter_tisserand_invariant": "8.149",
"last_observation_date": "2023-08-22",
"mean_anomaly": "194.3783853998682",
"mean_motion": "1.749620115757753",
"minimum_orbit_intersection": ".015471",
"observations_used": 123,
"orbit_class": {
"orbit_class_type": "ATE",
"orbit_class_description": "Near-Earth asteroid orbits similar to that of 2062 Aten",
"orbit_class_range": "a (semi-major axis) < 1.0 AU; q (perihelion) > 0.983 AU"
},
"orbit_determination_date": "2023-08-23 05:49:41",
"orbit_id": "30",
"orbit_uncertainty": "0",
"orbital_period": "205.7589511904334",
"perihelion_argument": "195.6472531921637",
"perihelion_distance": ".2210895313594716",
"perihelion_time": "2461095.161471429415",
"semi_major_axis": ".6820876828531942"
}
}Attribution: Source: NASA
Licence: NASA content is generally not protected by copyright in the US and may be reused, including commercially. NASA logos and insignia are excluded, and some imagery is third-party; those carry their own terms.
Ask with this source
A prompt for your agent that names this source and how to call it through the crw MCP.
Asteroid record by SPK-ID
Use NASA (nasa) from fastCRW Pergamon, capability "Asteroid record by SPK-ID" (asteroid). You already have an asteroid's NEO reference id and want its orbit and every close approach it ever makes. Example options: asteroid_id=3542519. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "nasa" and capability "asteroid". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>
Browse the asteroid catalogue
Use NASA (nasa) from fastCRW Pergamon, capability "Browse the asteroid catalogue" (asteroid-browse). You want to walk the whole near-Earth object dataset rather than ask about one date or one asteroid. Example options: page=0, size=20. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "nasa" and capability "asteroid-browse". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>
Near-Earth asteroid feed by date range
Use NASA (nasa) from fastCRW Pergamon, capability "Near-Earth asteroid feed by date range" (asteroids). You want to know which asteroids pass close to Earth during a specific week. Example options: start_date=2026-10-01, end_date=2026-10-07, detailed=false. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "nasa" and capability "asteroids". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>
Near-Earth object dataset statistics
Use NASA (nasa) from fastCRW Pergamon, capability "Near-Earth object dataset statistics" (asteroid-stats). You want the headline size of NASA's near-Earth object catalogue rather than any individual record. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "nasa" and capability "asteroid-stats". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>
