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 :

  1. Moon
  2. Mercury
  3. Venus
  4. Mars
  5. Jupiter
  6. Saturn
  7. Uranus
  8. Neptune
  9. Pluto
  10. Halley
  11. Tesla
  12. Ceres
  13. Haumea
  14. Makemake
  15. Eris
  16. Earth
  17. Encke
  18. Faye
  19. Hale-Bopp
  20. 2015 TG387 The Gobelin
  21. C/2019 Y4 ATLAS
  22. C/2020 F3 NEOWISE
  23. 99942 Apophis
  24. 2018 VP1
  25. 2020 SO
  26. 101955 Bennu
  27. 16 Psyche
  28. (89959) 2002 NT7
  29. (NEO) 2020 TY1
  30. (162173) Ryugu
  31. C/2020 M3 Atlas
  32. 3200 Phaeton
  33. 1862 Apollo
  34. VT4 2020
  35. 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"]}

Developer - Senior Linux System Engineer :

Hamdy Abou El Anein
hamdy.aea@protonmail.com