Learn by building

Developer projects

Six practical ways to build with Cosmic Ephemeris. Start with a real result, download the code, and run it on your server.

Every project uses existing APIs and is available on the Free plan. You need an API key to run every project. Preview charts, download the sample calendar, or inspect the saved MCP response without a key. To generate your own results, create a verified account, make a scoped API key, and save it in a private .env file as shown in each tutorial.

One key can run all six tutorials. When creating it in API Keys, select astro:natal-svg, astro:moon-phases, astro:synastry-svg, astro:transit-svg, astro:varga-svg and astro:birth-chart. Each guide also lists its individual scope. Keep the same key private in each project’s .env file.

From sample to your application

The downloadable examples run on Node.js 22+. Keep your API key and personal input data on your server, then display the returned images or data in your own interface. Each guide explains the request count, output files and settings.

Authentication · SDK reference · Plans and usage