Sun Sign
Look up the tropical zodiac sun sign for a given date of birth. Costs 1 credit.
GET /v1/sun-sign
Parameters
| Name | Type | Required | Description |
|---|
date | string | Yes | Date of birth, YYYY-MM-DD. |
Example request
curl "https://api.gitstrology.dev/v1/sun-sign?date=1990-03-15" \
-H "X-API-Key: $GITSTROLOGY_API_KEY"
Example response
{
"data": {
"date": "1990-03-15",
"sign": "pisces"
},
"credits": { "used": 1, "remaining": 99 }
}Response fields
| Field | Type | Description |
|---|
data.date | string | Date queried. |
data.sign | string | Tropical sun sign. |