Documentation
Quick Start with Access Token
In this guide, you'll learn how to authenticate your API calls using the AstrologyAPI Access Token (Wallet Token). We will use Postman to demonstrate how to pass the token in custom headers.
Before You Start
Make sure you have your Access Token (also referred to as a Wallet Access Token) from your dashboard. If you don't have one, you can get it from the Credentials page. You will also need a tool like Postman to make the API calls.
Step 1: Initial Setup
Initial Setup
- Open POSTMAN on your computer.
- Select the HTTP method as POST for wallet-specific APIs like /moon_biorhythm or Chat APIs.
- Enter the full URL of the API you wish to call.

Step 2: Add Access Token Authentication
Add Access Token Authentication
- Instead of the Auth tab, Navigate to the Headers tab in Postman.
- Add a new header key named: x-astrologyapi-key.
- In the value field, paste your Access Token.

Step 3: Add Request Parameters
Add Request Parameters
- Go to the Body tab and select raw with JSON format.
- Provide the required input parameters in the JSON body as per the API documentation.

Step 4: Send Request
Send Request
Once you have added the custom header and the request body, click the Send button. You will receive the astrological insights in JSON format.

Authentication via Access Token allows for highly secure, wallet-based interactions across our modern API suite.