Preview Environment
Zodii API Demo
This is a preview environment with mock data. Try the API with these demo tokens!
Try These API Calls
Copy and paste these examples to test the API
Get All Zodiac Signs:
curl "https://zodii.vercel.app/api/zodiac/signs?token=demo_token_abc123def456ghi789jkl012mno345pqr678stu901vwx234yz"
Get Personality Analysis:
curl -X POST "https://zodii.vercel.app/api/personality?token=demo_token_abc123def456ghi789jkl012mno345pqr678stu901vwx234yz" \
-H "Content-Type: application/json" \
-d '{"name":"John Doe","birthdate":"1990-04-15","time_of_birth":"14:30"}'
Get Daily Horoscope:
curl "https://zodii.vercel.app/api/horoscope/aries?token=demo_token_abc123def456ghi789jkl012mno345pqr678stu901vwx234yz"
JavaScript Examples
Use these in your web applications
const token = 'demo_token_abc123def456ghi789jkl012mno345pqr678stu901vwx234yz';
// Get zodiac signs
const signs = await fetch(`/api/zodiac/signs?token=${token}`);
const signsData = await signs.json();
// Get personality
const personality = await fetch(`/api/personality?token=${token}`, {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
name: 'John Doe',
birthdate: '1990-04-15',
time_of_birth: '14:30'
})
});
const personalityData = await personality.json();
Ready to use Zodii in production?