Cerridwen Solar System Data

FREE
By community
Updated 4 months ago
Data
5.6/10
Popularity Score
191ms
Latency
82%
Success Rate

Cerridwen Solar System Data API Documentation

Accurate solar system data for everyone

Cerridwen provides geocentric planetary data suitable for a broad spectrum of astronomical and astrological applications, with a focus on our solar system. Among its data you will find, for example, the time of the next sunrise or that of the last full moon, or simply the current tropical position of the sun.

View API Details
GETGet data on moon
GETGet data on sun
GETGet data on moon

Like the sun endpoint, but includes a lot more data in the response that only makes sense for the moon.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Code Snippet
unirest.get("https://community-cerridwen-solar-system-data.p.rapidapi.com/moon")
.header("X-RapidAPI-Host", "community-cerridwen-solar-system-data.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://community-cerridwen-solar-system-data.p.rapidapi.com/moon
Request Method: GET
Response Headers
Response Body

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.get("https://community-cerridwen-solar-system-data.p.rapidapi.com/moon")
.header("X-RapidAPI-Host", "community-cerridwen-solar-system-data.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication