Skip to content

Bolt

Use Bolt (StackBlitz) to prototype astrology apps with Occult API in seconds.

Quick Start

Open bolt.new and describe your app in the prompt. Mention Occult API endpoints so Bolt knows which API to call.

Example Prompt

Paste something like this into the Bolt prompt:

prompt
Create a single-page app that takes a birth date and time, calls the Occult API natal chart endpoint, and displays the planets in a list.

API Integration

Bolt generates fetch calls automatically. Ensure it uses POST with the X-API-Key header.

fetch
fetch('https://api.occultapi.com/api/astro/chart/', {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.OCCULT_API_KEY,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({ date_time: "1990-05-15T14:30:00+05:30", latitude: 28.6139, longitude: 77.209, timezone_as_float: 5.5 }),
})

Deploy

Use Bolt's deploy button to push the generated code directly to GitHub or deploy to Netlify.