Перейти до вмісту
AstroWay/api v2.19.0 · docs
усі системи в нормі
UA EN

Crystals — Full Directory

GET
/esoteric/crystals

Reference list of crystals with chakra, zodiac, planet, element, hardness, and purpose tags. Returns chakra and purpose taxonomies for filtering.

curl -X GET https://api.astroway.info/v1/esoteric/crystals \
-H "X-Api-Key: aw_live_..." \
-H "Content-Type: application/json"

Successful calculation

object
ok
boolean
Example
true
data
object
items
Array<object>
object
name
string
color
string
chakra
Array<string>
zodiacSigns
Array<string>
purposes
Array<string>
count
number
chakras
Array<string>

Validation error

Example
{
"ok": false,
"error": {
"code": "INVALID_INPUT",
"message": "Validation failed: date: Date must be YYYY-MM-DD",
"details": [
{
"path": "date",
"message": "Date must be YYYY-MM-DD"
}
]
}
}

Missing or invalid API key

Example
{
"ok": false,
"error": {
"code": "INVALID_API_KEY",
"message": "Invalid API key"
}
}
Корисно?