API Reference
Welcome to the AstroAPI Reference documentation. This section provides detailed information about all available endpoints.
OpenAPI Specification
The complete API is documented using the OpenAPI 3.1 specification. Use the sidebar to browse available endpoints organized by category.
Base URL
https://api.astroapi.cloudAuthentication
All API requests require authentication via:
- API Key:
X-Api-Keyheader
See the Authentication Guide for details.
Response Format
All responses follow the JSON:API specification:
{
"data": {
"type": "resource-type",
"id": "resource-id",
"attributes": { ... }
}
}Error Responses
Errors follow JSON:API error format:
{
"errors": [{
"status": "400",
"title": "Bad Request",
"detail": "Detailed error message"
}]
}Common HTTP Status Codes
| Code | Description |
|---|---|
| 200 | Success |
| 201 | Created |
| 400 | Bad Request - Invalid parameters |
| 401 | Unauthorized - Missing or invalid authentication |
| 403 | Forbidden - Insufficient permissions or module access |
| 404 | Not Found |
| 429 | Too Many Requests - Rate limit exceeded |
| 500 | Internal Server Error |
Professional astrology API for natal charts, transits, synastry, and interpretations
Servers
Create Custom Copy
Create an organization-specific copy of system content for customization.
Authorizations
API key for authentication. Get your API key from the dashboard.
Parameters
Path Parameters
Responses
Create a custom copy of system content
Restore Content
Restore custom content to match the original system content.
Authorizations
API key for authentication. Get your API key from the dashboard.
Parameters
Path Parameters
Responses
Restore custom content to match system content
Delete Content by ID
Delete a content item by its ID.
Authorizations
API key for authentication. Get your API key from the dashboard.
Parameters
Path Parameters
Responses
Delete one content item
List Content
Retrieve a paginated list of content items filtered by horoscope and content type.
Authorizations
API key for authentication. Get your API key from the dashboard.
Parameters
Path Parameters
Responses
Retrieve content items
Create Content
Create a new content item for a specific horoscope and content type.
Authorizations
API key for authentication. Get your API key from the dashboard.
Parameters
Path Parameters
Responses
Create content item
Get Content
Retrieve a single content item by its ID.
Authorizations
API key for authentication. Get your API key from the dashboard.
Parameters
Path Parameters
Responses
Retrieve one content item
Delete Content
Delete a content item by horoscope type, content type, and ID.
Authorizations
API key for authentication. Get your API key from the dashboard.
Parameters
Path Parameters
Responses
Delete one content item
Calculations
Astrological calculations including natal charts, transits, synastry, and more
Natal Chart
Calculate a natal (birth) chart with planetary positions, house cusps, and aspects.
Authorizations
API key for authentication. Get your API key from the dashboard.
Request Body
Responses
Calculate natal chart
Synastry Chart
Calculate synastry aspects between two birth charts for relationship analysis.
Authorizations
API key for authentication. Get your API key from the dashboard.
Request Body
Responses
Calculate synastry chart
Composite Chart
Calculate a composite chart by combining midpoints of two birth charts.
Authorizations
API key for authentication. Get your API key from the dashboard.
Request Body
Responses
Calculate composite chart
Transit Chart
Calculate planetary transits over a natal chart for a specified time period.
Authorizations
API key for authentication. Get your API key from the dashboard.
Request Body
Responses
Calculate transits chart
Compatibility Analysis
Calculate sun sign compatibility between two people with interpretation text.
Authorizations
API key for authentication. Get your API key from the dashboard.
Request Body
Responses
Calculate compatibility between two birth charts
Solar Return
Calculate the solar return chart for a specific year (birthday chart).
Authorizations
API key for authentication. Get your API key from the dashboard.
Request Body
Responses
Calculate solar return chart
Lunar Return
Calculate the lunar return chart when the Moon returns to its natal position.
Authorizations
API key for authentication. Get your API key from the dashboard.
Request Body
Responses
Calculate lunar return chart
Secondary Progressions
Calculate secondary progressions chart using the day-for-a-year method. Returns progressed planet positions and aspects to both progressed and natal planets.
Authorizations
API key for authentication. Get your API key from the dashboard.
Request Body
Responses
Calculate secondary progressions chart
Moon & Sun Info
Get Moon and Sun information for a specific place and time. Includes moon phase, illumination, distance, and sun rise/set/twilight times.
Authorizations
API key for authentication. Get your API key from the dashboard.
Request Body
Responses
Moon and Sun information
Chinese Zodiac Sign
Calculate the Chinese zodiac sign and element based on birth year.
Authorizations
API key for authentication. Get your API key from the dashboard.
Request Body
Responses
Calculate Chinese horoscope sign
Chinese Zodiac Forecast
Get Chinese zodiac forecast for a specific year with category breakdowns.
Authorizations
API key for authentication. Get your API key from the dashboard.
Request Body
Responses
Calculate Chinese horoscope forecast
Create Organization
List Members
Get a paginated list of organization members.
Authorizations
API key for authentication. Get your API key from the dashboard.
Responses
List organization users
Add Member
Add or invite a new member to the organization.
Authorizations
API key for authentication. Get your API key from the dashboard.
Request Body
Responses
Member toegevoegd/uitgenodigd
Remove Member
Update Member
Update an organization member's role.
Authorizations
API key for authentication. Get your API key from the dashboard.
Parameters
Path Parameters
1Request Body
Responses
Member geüpdatet
List Modules
Get all available modules with pricing information.
Authorizations
API key for authentication. Get your API key from the dashboard.
Responses
List all available modules
Organization Modules
Get the list of modules the current organization has access to.
Authorizations
API key for authentication. Get your API key from the dashboard.
Responses
List modules for current organization
Subscription Plans
Get all available subscription plans with included modules and pricing.
Authorizations
API key for authentication. Get your API key from the dashboard.
Responses
List all subscription plans
Check Module Access
Check if the current organization has access to a specific module.
Authorizations
API key for authentication. Get your API key from the dashboard.
Parameters
Path Parameters
Responses
Check module access
List API Keys
Get all API keys owned by the current user.
Authorizations
API key for authentication. Get your API key from the dashboard.
Responses
List of API keys
Create API Key
Create a new API key with optional permission and module restrictions.
Authorizations
API key for authentication. Get your API key from the dashboard.
Request Body
Responses
API key created
Available Options
Get available permissions and modules for configuring API keys.
Authorizations
API key for authentication. Get your API key from the dashboard.
Responses
Available options
Get API Key
Get details of a specific API key.
Authorizations
API key for authentication. Get your API key from the dashboard.
Parameters
Path Parameters
Responses
API key details
Delete API Key
Update API Key
Update an API key's name, status, permissions, or modules.
Authorizations
API key for authentication. Get your API key from the dashboard.
Parameters
Path Parameters
Request Body
Responses
API key updated
Get Daily Horoscopes
Retrieve daily horoscopes for all zodiac signs for a specific date.
Authorizations
API key for authentication. Get your API key from the dashboard.
Parameters
Path Parameters
"^\\d{4}-\\d{2}-\\d{2}$"Responses
Daily horoscopes for all zodiac signs
Get Weekly Horoscope Report
Retrieve weekly horoscope report for a specific zodiac sign and week.
Authorizations
API key for authentication. Get your API key from the dashboard.
Parameters
Path Parameters
"^\\d{4}$""^(0[1-9]|[1-4]\\d|5[0-3])$"Responses
Weekly horoscope report
Get Yearly Horoscope Report
Retrieve yearly horoscope report for a specific zodiac sign and year.
Authorizations
API key for authentication. Get your API key from the dashboard.
Parameters
Path Parameters
"^\\d{4}$"Responses
Yearly horoscope report
Get Yearly Ascendant Horoscope Report
Retrieve yearly horoscope report for a specific ascendant sign and year.
Authorizations
API key for authentication. Get your API key from the dashboard.
Parameters
Path Parameters
"^\\d{4}$"Responses
Yearly ascendant horoscope report
Full Numerology Profile
Calculate a complete numerology profile including Life Path, Expression, Soul Urge, Personality, Birthday numbers, Personal Cycles, and identify Master/Karmic numbers.
Authorizations
API key for authentication. Get your API key from the dashboard.
Request Body
Responses
Complete numerology profile
Life Path Number
Calculate the Life Path Number from birth date. This is the most important number in numerology, representing your life's purpose.
Authorizations
API key for authentication. Get your API key from the dashboard.
Request Body
Responses
Life Path number calculation
Expression Number
Calculate the Expression (Destiny) Number from full name. This number reveals your natural talents and abilities.
Authorizations
API key for authentication. Get your API key from the dashboard.
Request Body
Responses
Expression number calculation
Soul Urge Number
Calculate the Soul Urge (Heart's Desire) Number from vowels in the name. This number reveals your inner motivations.
Authorizations
API key for authentication. Get your API key from the dashboard.
Request Body
Responses
Soul Urge number calculation
Personality Number
Calculate the Personality Number from consonants in the name. This number reveals how others perceive you.
Authorizations
API key for authentication. Get your API key from the dashboard.
Request Body
Responses
Personality number calculation
Birthday Number
Calculate the Birthday Number from the day of birth. This number represents a special talent you possess.
Authorizations
API key for authentication. Get your API key from the dashboard.
Request Body
Responses
Birthday number calculation
Personal Cycles
Calculate Personal Year, Month, and Day numbers. These reveal the current energetic influences in your life.
Authorizations
API key for authentication. Get your API key from the dashboard.
Request Body
Responses
Personal cycles calculation
Numerology Compatibility
Calculate compatibility between two people based on their Life Path numbers.
Authorizations
API key for authentication. Get your API key from the dashboard.
Request Body
Responses
Compatibility calculation
List Chatbots
Create Chatbot
Create a new chatbot for the organization
Authorizations
API key for authentication. Get your API key from the dashboard.
Request Body
Responses
Created chatbot
Get Chatbot
Delete Chatbot
Update Chatbot
Update an existing chatbot
Authorizations
API key for authentication. Get your API key from the dashboard.
Parameters
Path Parameters
Request Body
Responses
Updated chatbot
List Chat Profiles
List all chat profiles for a chatbot
Authorizations
API key for authentication. Get your API key from the dashboard.
Parameters
Path Parameters
Responses
List of profiles
Create Chat Profile
Create a pre-configured chat profile with birth data
Authorizations
API key for authentication. Get your API key from the dashboard.
Parameters
Path Parameters
Request Body
Responses
Created profile
Delete Chat Profile
List Available Plugins
Get Chatbot Usage
Chat with Chatbot
Send a message to a chatbot and receive a streaming response via SSE
Authorizations
API key for authentication. Get your API key from the dashboard.
Parameters
Path Parameters
Request Body
Responses
SSE stream with chat response
Chat with Profile
Send a message using a pre-configured user profile
Authorizations
API key for authentication. Get your API key from the dashboard.
Parameters
Path Parameters
Request Body
Responses
SSE stream with chat response
Chat with Birth Data
Send a message with inline birth data (no profile needed)
Authorizations
API key for authentication. Get your API key from the dashboard.
Parameters
Path Parameters
Request Body
Responses
SSE stream with chat response
Get Conversation
Retrieve conversation history
Authorizations
API key for authentication. Get your API key from the dashboard.
Parameters
Path Parameters
Responses
Conversation data
Delete Conversation
Delete a conversation and its history
Authorizations
API key for authentication. Get your API key from the dashboard.
Parameters
Path Parameters
Responses
Conversation deleted
Get Widget Configuration
Widget Chat
Send a message via widget (SSE streaming response)
Authorizations
API key for authentication. Get your API key from the dashboard.
Parameters
Path Parameters
Request Body
Responses
SSE stream with chat response
Widget Chat with User Profile
Chat using an external user ID (creates profile on first use)
Authorizations
API key for authentication. Get your API key from the dashboard.
Parameters
Path Parameters
Request Body
Responses
SSE stream with chat response