API Reference
Technical documentation for integrating with Fatum's API
Coming Soon
API documentation will be available with the beta release
API Overview
The Fatum API will provide developers with programmatic access to our AI astrology assistants, enabling integration of astrological insights into third-party applications and services.
Authentication
Secure API key-based authentication with OAuth 2.0 support for enhanced security.
RESTful API
Clean, intuitive RESTful endpoints with JSON responses for easy integration.
Rate Limiting
Fair usage policies with tiered rate limits based on your subscription plan.
SDKs
Official SDKs for JavaScript, Python, Ruby, and Go to simplify integration.
Planned Endpoints
/api/v1/horoscopeRetrieve daily, weekly, or monthly horoscope for a specific zodiac sign
/api/v1/chatSend a message to the AI assistant and receive a response
/api/v1/birth-chartGenerate a detailed birth chart analysis based on birth data
/api/v1/compatibilityCalculate compatibility between two zodiac signs
/api/v1/transitsGet current planetary transits and their influences
Web3 API Endpoints
Blockchain-integrated endpoints for Web3 functionality, including NFT minting, token operations, and on-chain data management.
/api/v1/web3/nft/mintMint a birth chart as an NFT on the blockchain
/api/v1/web3/walletRetrieve user's Web3 wallet information and token balance
/api/v1/web3/governance/voteSubmit a vote for DAO governance proposals
/api/v1/web3/nft/collectionView user's NFT collection of astrological charts
Example Request
Here's a preview of what API requests will look like:
curl -X GET "https://api.fatumapp.com/v1/horoscope" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"zodiac_sign": "leo",
"period": "daily"
}'Developer Access
API access will be available to registered developers after the beta launch. Both traditional RESTful APIs and Web3-integrated endpoints will be accessible. Sign up for our waiting list to be notified when API keys become available.