Sun & Moon
Tonight Eclipses Space weather
Aurora
Forecast How the aurora works
Radio Dark skies Places
Fun Facts
The Sun The Moon Apollo landings Crewed missions since Apollo Uncrewed missions since Apollo Moonlit history

Kids Friendly

The Sun The Moon The Apollo story
More
Aurora forecast How the aurora works Radio Dark skies
Theme
Distance
Temperature

Sun & Moon

Privacy policy

Last updated November 23, 2026

In short

  • No ads, no advertising or tracking cookies, and we do not sell or share your personal information.
  • Visitor statistics use an anonymous number that changes every day. Where the law asks first (the EEA, the UK and Switzerland), your browser sends them only if you allow it. You can change your choice any time under Privacy choices at the bottom of every page.
  • An account needs only your email address. You can delete the account yourself, at once.
  • Your precise location, if you share it, stays in a cookie on your device.

Who we are

sunandmoon.com (“Sun & Moon”, the website and its API) is run by FerBar Investments, LLC, a limited liability company in the United States (“we”, “us”). We decide how and why the data described here is used, so for the EU and UK General Data Protection Regulations we are the controller. Write to privacy@sunandmoon.com about anything in this policy.

What we collect, and why

When you open a page

Like every website, our servers receive your IP address, the page you ask for, the page that linked to it, your browser's User-Agent and language, and the time. We use them to:

  • Show the Sun and Moon for where you are. We look up your approximate location (city or country) from your IP address in a copy of MaxMind's GeoLite2 database on our own servers; your address is not sent to MaxMind or anyone else.
  • Keep the site and API working and fair. Requests per IP address are counted in memory for a minute or a day to apply limits, then forgotten.
  • Count visitors (below).

Legal basis (EEA, UK, Switzerland): our legitimate interest in running, securing and improving the site.

Visitor statistics

We count visits ourselves, with no third-party analytics. Our server turns your IP address and User-Agent into an anonymous number using a secret that is replaced every day and then deleted, so a visitor cannot be followed from one day to the next and the number cannot be turned back into an address. We store that number with the page, the referring site, campaign tags in the link, your browser, operating system and device type, the country, region and city from your IP address (coordinates rounded to about 10 km), whether the site found your place automatically, and the response time. Your IP address and User-Agent themselves are never stored.

The page also asks your browser to report your screen width and how long a page stays visible. Where the law asks first (the EEA, the UK and Switzerland), your browser does this only after you choose Allow statistics; elsewhere it does unless you choose No thanks or your browser sends Global Privacy Control. If you decline, we leave your browser out of the statistics entirely, including our server's own record of your page requests.

Legal basis: your consent for what your browser reports; our legitimate interest for the server's count.

Your location

If you choose Use my precise location or make a place your default, the coordinates, time zone and place name are kept in a cookie on your device (sm_loc) and sent with your requests so pages show that place. We use them to compute the page and do not store them.

Weather

To draw clouds in the sky, our server asks OpenWeather for the forecast of the area around a place (a cell about 28 km wide). OpenWeather receives the cell's coordinates only, never your IP address or anything about you. We keep forecasts and past weather by cell, not by person.

Accounts and sign-in

An account holds your email address, when it was created, when you last signed in and its plan. To sign in we email you a one-time link and code through Amazon Simple Email Service; we keep only scrambled (hashed) copies of them, and they expire after 15 minutes. When you sign in, we create a session for that browser, held in a cookie (sm_session), and keep a scrambled copy of it with a label of the browser and operating system (for example “Chrome on macOS”).

We send email only when you ask for it: sign-in messages now, and later only alerts or newsletters you switch on, each with a one-click way to stop. If a message to your address bounces or is marked as spam, Amazon's suppression list keeps the address so we do not mail it again.

Legal basis: performing our agreement with you (the terms of use).

API keys and API use

For API keys we keep a scrambled copy of each key, its name and first characters, and how many requests each key made per day, to apply limits and show you your usage. Legal basis: performing our agreement with you.

Cookies and browser storage

We use no advertising, analytics or third-party cookies. These are all of them, and each is set by sunandmoon.com itself:

NameWhat it doesHow longKind
sm_sessionKeeps you signed in on this browser.Up to 30 days from last useNecessary, only after you sign in
sm_consentRemembers your Privacy choices.6 monthsNecessary, only after you choose
sm_locThe place you chose or your device's location.1 year, or until you clear itSet only when you ask
sm_statsOpens the owner's statistics page.30 daysNecessary, for the site's owner only

Your browser's local storage also keeps the display settings you pick, on your device only: theme, units, compass or true north, weather in the sky, and the settings of the ham radio, Apollo, space weather and Tonight pages. Session storage remembers, until you close the tab, whether your region asks before statistics. None of it is sent to us.

Who handles data for us

  • Amazon Web Services, Inc. (United States, servers in Virginia): stores accounts, sessions, API keys and usage (DynamoDB), visitor statistics and caches (S3, Athena), and sends sign-in email (SES).
  • Kinesis Network (Seattle, United States): runs the servers the site is served from.

They process the data only to provide their service to us, under their data processing terms. We also fetch public data from NASA, NOAA, GFZ Potsdam, CelesTrak and OpenWeather; they receive no personal data from us.

We disclose personal data to others only if the law requires it, to protect people's safety or our rights, or as part of a sale or merger of the site, in which case this policy continues to apply.

Where data is kept

We and our providers are in the United States, and the data is kept there. For visitors in the EEA, the UK and Switzerland, Amazon Web Services processes data under its Data Processing Addendum, which includes the European Commission's Standard Contractual Clauses and the UK's International Data Transfer Addendum.

How long we keep it

  • Sign-in links and codes: 15 minutes; removed from storage within two days.
  • Sessions: until you sign out, or at most 30 days after you last used the site.
  • Your account, keys and email address: until you delete the account. Deleting it removes them at once; encrypted backups age out within 35 days.
  • API usage counts: 400 days.
  • Visitor statistics: 25 months. The daily secret behind the anonymous number is deleted the next day.
  • Server logs used to fix errors and stop abuse, which can contain an IP address or account number: only as long as needed for that.

Your choices and rights

  • Statistics: change your choice any time under Privacy choices at the bottom of every page. We honor Global Privacy Control as a no.
  • Your account: see it, revoke keys, sign out everywhere or delete it on your account page.
  • Location: go back to your automatic location from the place bar at the top of the page, or delete the cookie in your browser.

In the EEA, the UK and Switzerland you have the right to access your data, have it corrected or deleted, restrict or object to its use, receive it in a portable form, and withdraw consent at any time without affecting what was done before. You can also complain to your data protection authority. Wherever you live, you can ask us for a copy of your data, a correction or deletion by writing to privacy@sunandmoon.com; we answer within one month. We do not sell personal information, share it for targeted advertising, or make decisions about you by automated means that have legal or similar effects.

Children

Some pages are written for children and work without an account. Accounts are for people 16 and older, and we do not knowingly collect personal information from children under 13, or under 16 in the EEA, the UK and Switzerland, beyond the anonymous statistics described above. If you believe a child has created an account, write to us and we will delete it.

Security

The site is served over HTTPS. There are no passwords to steal: sign-in links, codes, sessions and API keys are stored only as one-way hashes, and access to our systems is limited to the people who run the site. No system is perfectly secure; if a breach affects your data, we will tell you and the authorities as the law requires.

Changes and contact

We will update this page when what we collect changes, and change the date at the top. If a change affects how we use data you already gave us, we will tell account holders by email before it applies. Questions and requests: privacy@sunandmoon.com, FerBar Investments, LLC.

Place names from GeoNames (CC BY 4.0). Map from Natural Earth.

Sun & Moon API for developers · Your account · Privacy policy · Terms of use ·

Privacy choices

Sun & Moon has no ads and no tracking cookies. With your permission, your browser also tells us which pages you open, your screen width and how long a page stays open, so we can see what people use. You are counted with an anonymous number that changes every day, and nothing is shared.

What we store and why