Copy page
Copy page as Markdown for LLMs
The Fixed Stars List API returns the catalog of fixed stars available for use in subsequent western astrology computations. This endpoint is useful when you want to know which fixed star identifiers the system supports so you can query them or map them into your own UI.
POST https://astroapi-8.divineapi.com/western-api/v1/fixed-stars-list
Returns Fixed Stars List in response.
| Name | Type | Description |
|---|---|---|
| Authorization* | String | Your API Access Token, e.g. Bearer {token} |
| Name | Type | Description |
|---|---|---|
| api_key* | String | Your API key |
{
"status": "success",
"code": 200,
"message": "Request successful",
"data": [
"Antares",
"Betelgeuse",
"Polaris",
"Sirius",
"Vega",
....
]
}The data array contains the identifiers/names of fixed stars supported by this API. You can store or display these in your application for selection.
Below are example implementations in various programming environments.
curl --location 'https://astroapi-8.divineapi.com/western-api/v1/fixed-stars-list' \
--header 'Authorization: Bearer your API Access Token' \
--form 'api_key="your API Key"'var request = require('request');
var options = {
'method': 'POST',
'url': 'https://astroapi-8.divineapi.com/western-api/v1/fixed-stars-list',
'headers': {
'Authorization': 'Bearer your API Access Token'
},
formData: {
'api_key': 'your API Key'
}
};
request(options, function (error, response) {
if (error) throw new Error(error);
console.log(response.body);
});
var form = new FormData();
form.append("api_key", "your API Key");
var settings = {
"url": "https://astroapi-8.divineapi.com/western-api/v1/fixed-stars-list",
"method": "POST",
"timeout": 0,
"headers": {
"Authorization": "Bearer your API Access Token"
},
"processData": false,
"mimeType": "multipart/form-data",
"contentType": false,
"data": form
};
$.ajax(settings).done(function (response) {
console.log(response);
});import requests
url = "https://astroapi-8.divineapi.com/western-api/v1/fixed-stars-list"
payload = {'api_key': 'your API Key'}
files=[
]
headers = {
'Authorization': 'Bearer your API Access Token'
}
response = requests.request("POST", url, headers=headers, data=payload, files=files)
print(response.text)