Prices labelled by Basic, Plus and Premium. Illustrated by a paper plane, airplane and rocket respectively.

Astronomy API:
Pricing & Packages

Astronomy API delivers astronomical positions like altitude, distance, and azimuth as well as astronomical events like sunrise, sunset, and moon phases for any place on Earth—including 5,800 locations in 230 countries.

Start free trial

Which Option Is the Best For You?

Do you need the times for sunrise and sunset or the Moon phases for a small number of locations? Try our Basic Package and access times for events like sunrise and sunset. Pick 5 locations and issue up to 50,000 requests.

Our Plus Package lets you query astronomical positions, astronomical events, and tide information: Select 20 locations and get 100,000 credits.

Choose our Premium Package and profit from our most comprehensive offer: Query any place on earth, download your data as CSV and XML, and use up to 200,000 requests.

Astronomy API Pricing

Illustration for the basic package - Pin with a moon, calendar, calculator or clock depending on service.Basic
Illustration for the plus package - Pin with a moon, calendar, calculator or clock depending on service, with a plus in the top right corner.Plus
Illustration for the premium package - Pin with a moon, calendar, calculator or clock depending on service, with a star in the top right corner.Premium
Number of credits50,000100,000200,000
Number of locations to query5 locations20 locationsAll locations
Query Sun & Moon
Astro Event Service
Astro Position Service
Tide Service
Data download

What's it going to be?

Illustration of a data-hungry monster

Moooooore Credits!

Ran out of requests? No problem. You can easily top up – by purchasing additional credits.

Purchase additional credits

High Volume and Custom Requests

You need a tailored solution for your business? One million requests and more? No problem: We provide High Traffic Volume Packages which include solutions for a large number of API requests.

Request a custom package

Car with a Time and Date flag

Before You Buy – Test Our API

Take our APIs for a drive: With our free three-month trial. No credit card required, no fees. Just sign up and test all our APIs at once. For three months, for free. Is that great or what?

Start free trial
A superhero wearing a cape with the Time and Date logo flying in front of the earth.

Data Trusted by the World

Time and Date algorithms are based on work and data developed by the U.S. Naval Observatory and NASA's Jet Propulsion Laboratory. In other words: We are using data that has been used to send probes to other planets.

Thousands of people use our services each day—and with good reason: Time and Date has become a reliable and trusted source used by enterprises and developers around the world.

Frequently Asked Questions

According to our Terms and Conditions, you must not resell, sub-license, lease or rent the obtained data to any other party.

If you want to compile our data into databases or create derivative works that are available to third parties, you must consult us first. We can then draft a separate agreement.

We are a small company and we depend on revenue to keep our APIs running and updated. Much of what we offer is available on our website for free. Our APIs are only available as paid plans.

You might be interested in our 3 month free trial to test out our API services.

We only need your contact information and we will never receive any sensitive information from our customers that would warrant a non-disclosure agreement. Our APIs are entirely self-serviced—except for bank transfers and quotes.

We generally do not accept other companies' purchase terms, NDAs, or other legal documents for the purchase of our standard packages. None of these are required to purchase access to our services. We reserve the right to make exceptions—for example for custom contracts that exceed our normal offering.

See all FAQs

Meet Our Other APIs