{"api":{"id":"api_dfb68182ba4722d79362e730","slug":"jpl-horizons-body-lookup","name":"JPL Horizons Body Lookup API","description":"Find the NASA/JPL Horizons id of a planet, moon, asteroid, comet or spacecraft from its name or designation: matching bodies with SPK id, type, designation and aliases.","kind":"ready_made","visibility":"public","domain":"ssd.jpl.nasa.gov","source_url":"https://ssd-api.jpl.nasa.gov/doc/horizons_lookup.html","category":"science","record_type":"generic","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":6,"created_at":"2026-12-06T04:45:48.371Z","updated_at":"2026-12-06T04:45:48.371Z","runnable":true,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","fields":[{"name":"id","type":"string","description":"The Horizons SPK id of the body.","required":true,"coverage":1,"example":"4"},{"name":"name","type":"string","description":"Name of the body.","required":false,"coverage":1,"example":"Mars Barycenter"},{"name":"spkid","type":"string","description":"SPK id to use as the body id in ephemeris requests.","required":false,"coverage":1,"example":"4"},{"name":"type","type":"string","description":"Kind of body, such as asteroid or comet.","required":false,"coverage":1,"example":"barycenter"},{"name":"designation","type":"string","description":"Primary or provisional designation.","required":false,"coverage":0.6,"example":"2013-060A"},{"name":"aliases","type":"array","description":"Other names and ids the body is known by.","required":false,"coverage":0.4,"example":["MOM Mangalyaan"]}],"inputs":[{"name":"name","type":"string","description":"Body name or designation, such as Ceres, Halley or 2020 SW.","example":"Mars","required":true}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"aliases":{"description":"Other names and ids the body is known by.","type":"array"},"designation":{"description":"Primary or provisional designation.","type":"string"},"id":{"description":"The Horizons SPK id of the body.","type":"string"},"name":{"description":"Name of the body.","type":"string"},"spkid":{"description":"SPK id to use as the body id in ephemeris requests.","type":"string"},"type":{"description":"Kind of body, such as asteroid or comet.","type":"string"}},"required":["id"],"title":"JPL Horizons Body Lookup API","type":"object"},"samples":[{"id":"4","name":"Mars Barycenter","spkid":"4","type":"barycenter","designation":null,"aliases":[]},{"id":"499","name":"Mars","spkid":"499","type":"planet","designation":null,"aliases":[]},{"id":"-3","name":"Mars Orbiter Mission (spacecraft)","spkid":"-3","type":"spacecraft","designation":"2013-060A","aliases":["MOM Mangalyaan"]}],"validation":{"checked_at":"2026-12-06T04:45:48.335Z","field_coverage":{"aliases":0.33,"designation":0.33,"id":1,"name":1,"spkid":1,"type":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"links":{"run":"https://pullrow.dev/v1/apis/api_dfb68182ba4722d79362e730/run","openapi":"https://pullrow.dev/v1/apis/api_dfb68182ba4722d79362e730/openapi.json","contract":"https://pullrow.dev/v1/apis/api_dfb68182ba4722d79362e730/contract.json","page":"https://pullrow.dev/catalog/jpl-horizons-body-lookup"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":0.5,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["One name per run. A broad name can match many bodies; a name with no match returns no records.","Matches are what Horizons lists, so the same body can appear twice under different id schemes (for example Ceres as a barycenter and as an asteroid).","Designation and aliases are empty for planets and many moons.","NASA/JPL data is public; credit NASA/JPL Solar System Dynamics. Requests are spaced one second apart."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"id","label":"ID","description":"The Horizons SPK id of the body.","group":"Technical","shown":false,"written":false},{"name":"name","label":"Name","description":"Name of the body.","group":"Basics","shown":true,"written":false},{"name":"spkid","label":"Spkid","description":"SPK id to use as the body id in ephemeris requests.","group":"Basics","shown":true,"written":false},{"name":"type","label":"Type","description":"Kind of body, such as asteroid or comet.","group":"Basics","shown":true,"written":false},{"name":"designation","label":"Designation","description":"Primary or provisional designation.","group":"Basics","shown":true,"written":false},{"name":"aliases","label":"Aliases","description":"Other names and ids the body is known by.","group":"Basics","shown":true,"written":false}],"inputs":[{"name":"name","label":"Name","help":"Body name or designation, such as Ceres, Halley or 2020 SW.","example":"Mars","written":false}]}},"incidents":[]}