Astrometry.ch developers api
Usage example: curl https://astroapi.pythonanywhere.com/1
Entry URL : https://astroapi.pythonanywhere.com/-
What are the past and next perihelions for the Moon ?
Overview
This API returns the past and next perihelions for all the space object monitored by Astrometry.ch The possiblities are :
- Moon
- Mercury
- Venus
- Mars
- Jupiter
- Saturn
- Uranus
- Neptune
- Pluto
- Halley
- Tesla
- Ceres
- Haumea
- Makemake
- Eris
- Earth
- Encke
- Faye
- Hale-Bopp
- 2015 TG387 The Gobelin
- C/2019 Y4 ATLAS
- C/2020 F3 NEOWISE
- 99942 Apophis
- 2018 VP1
- 2020 SO
- 101955 Bennu
- 16 Psyche
- (89959) 2002 NT7
- (NEO) 2020 TY1
- (162173) Ryugu
- C/2020 M3 Atlas
- 3200 Phaeton
- 1862 Apollo
- VT4 2020
- C/2020 S3 Erasmus
Just add the number after http://astrometry.pythonanywhere.com/perihelion/
Example
Here is an example using curl:
curl http://astrometry.pythonanywhere.com/perihelion/5
answer : {"id": 5, "Jupiter": ["2011,03,17", "2023,01,20", "2034,12,05"]}