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

Chinese zodiac sign texts (public, no key)

GET
/public/chinese/zodiac/texts
Code sample: cURL
request.sh
curl 'https://api.astroway.info/v1/public/chinese/zodiac/texts?lang=en'

Short reading for each of the 12 animals (character, strengths, caution) and one paragraph per element on how it colours the sign, in 21 languages. Join animals[animal] and elements[element.cycling] from POST /chinese/zodiac/animal. Names are the same forms the Chinese endpoints return. lang is the language served; unknown codes resolve to uk like everywhere. Static data, Cache-Control: public, max-age=604800: fetch once per language.

lang
string
Example
en

Language for this call, overriding Accept-Language. The canonical per-call form: a page that renders in one language passes it here rather than reconfiguring its client. Unknown or inactive codes fall back to uk.

fields
string

Comma-separated dotted paths, relative to data, to keep in the response. A path is applied to every element of an array, so planets.name means the name of each planet. Paths that match nothing come back in _fields_unmatched; a list where nothing matches at all is a 400, because an empty object would be a confident wrong answer.

Example
planets.name,planets.longitude
precision
integer
<= 15

Round every non-integer number in the response to this many decimal places. Integers are left alone, because an id is not a measurement. Ecliptic longitudes ship with fourteen decimals by default; 2 is about a tenth of an arcminute.

Example
4
Accept-Language
string

BCP-47 language (e.g. uk, en, de). Set it once on your HTTP client as its default; for a single call, ?lang= overrides it. Unknown or inactive codes fall back to uk.

OK

Media type application/json
object
ok
boolean
data
object
lang
string
nullable
textLocalized
boolean
nullable
animals
object
rat
object
name
string
nullable
character
string
nullable
strengths
string
nullable
caution
string
nullable
ox
object
name
string
nullable
character
string
nullable
strengths
string
nullable
caution
string
nullable
tiger
object
name
string
nullable
character
string
nullable
strengths
string
nullable
caution
string
nullable
rabbit
object
name
string
nullable
character
string
nullable
strengths
string
nullable
caution
string
nullable
dragon
object
name
string
nullable
character
string
nullable
strengths
string
nullable
caution
string
nullable
snake
object
name
string
nullable
character
string
nullable
strengths
string
nullable
caution
string
nullable
horse
object
name
string
nullable
character
string
nullable
strengths
string
nullable
caution
string
nullable
goat
object
name
string
nullable
character
string
nullable
strengths
string
nullable
caution
string
nullable
monkey
object
name
string
nullable
character
string
nullable
strengths
string
nullable
caution
string
nullable
rooster
object
name
string
nullable
character
string
nullable
strengths
string
nullable
caution
string
nullable
dog
object
name
string
nullable
character
string
nullable
strengths
string
nullable
caution
string
nullable
pig
object
name
string
nullable
character
string
nullable
strengths
string
nullable
caution
string
nullable
elements
object
wood
object
name
string
nullable
text
string
nullable
fire
object
name
string
nullable
text
string
nullable
earth
object
name
string
nullable
text
string
nullable
metal
object
name
string
nullable
text
string
nullable
water
object
name
string
nullable
text
string
nullable
_footer

Free-tier watermark, present on every public response. Keys on a paid plan do not receive it.

string
Example
{
"ok": true,
"data": {
"lang": "en",
"textLocalized": true,
"animals": {
"rat": {
"name": "Rat",
"character": "Quick-witted and observant, the Rat reads a room faster than anyone in it and is rarely caught unprepared.",
"strengths": "Resourceful, charming and thrifty; turns scarce means into an opportunity and keeps a cool head under pressure.",
"caution": "Restlessness and a habit of hoarding, whether money or information. Opportunism can cost trust that took years to build."
},
"ox": {
"name": "Ox",
"character": "Steady and methodical, the Ox moves at its own pace and finishes what it starts.",
"strengths": "Patient, dependable and hard-working; people lean on its word because it keeps it.",
"caution": "Stubbornness and a slow thaw after being hurt. A plan held too long can outlive the reasons for it."
},
"tiger": {
"name": "Tiger",
"character": "Bold and magnetic, the Tiger leads from the front and acts on conviction.",
"strengths": "Brave, generous and idealistic; protects the weaker side and brings energy to anything new.",
"caution": "Impulsiveness and friction with authority. Energy spent in bursts leaves projects half done."
},
"rabbit": {
"name": "Rabbit",
"character": "Gentle and refined, the Rabbit prefers harmony and handles people with tact.",
"strengths": "Diplomatic, attentive and cultured; a careful judge of character and a calm presence.",
"caution": "Avoiding conflict at any cost and over-caution. Retreating from a hard choice does not make it go away."
},
"dragon": {
"name": "Dragon",
"character": "Confident and energetic, the Dragon aims high and draws people into its plans.",
"strengths": "Ambitious, enthusiastic and decisive; at its best when a situation calls for a leader.",
"caution": "Pride and impatience with slower minds. Demanding a lot of others without asking what they need."
},
"snake": {
"name": "Snake",
"character": "Calm and perceptive, the Snake thinks before it moves and sees what others miss.",
"strengths": "Wise, intuitive and elegant; discreet with secrets and precise in its judgement.",
"caution": "Secrecy, suspicion and possessiveness. Holding a grudge quietly is still holding it."
},
"horse": {
"name": "Horse",
"character": "Lively and independent, the Horse needs space, movement and a goal to run towards.",
"strengths": "Energetic, sociable and hard-working; quick to learn and good at getting others moving.",
"caution": "Impatience and fickleness. Dropping a project the moment it stops being exciting."
},
"goat": {
"name": "Goat",
"character": "Kind and imaginative, the Goat, also called the Sheep, lives through feeling and beauty.",
"strengths": "Compassionate, artistic and gentle; creates warmth and cares for the people around it.",
"caution": "Worry and indecision, and leaning on others for security. Needs to trust its own choices."
},
"monkey": {
"name": "Monkey",
"character": "Clever and playful, the Monkey solves problems in ways nobody else thought of.",
"strengths": "Inventive, adaptable and witty; learns fast and handles change with ease.",
"caution": "Scattered attention and a taste for shortcuts. Cleverness used to outsmart people wears out goodwill."
},
"rooster": {
"name": "Rooster",
"character": "Observant and precise, the Rooster notices details and says what it thinks.",
"strengths": "Honest, diligent and organised; takes pride in doing things properly.",
"caution": "Bluntness and perfectionism. Criticism that is accurate can still be more than a person needs to hear."
},
"dog": {
"name": "Dog",
"character": "Loyal and principled, the Dog stands by its people and by what it believes is right.",
"strengths": "Honest, protective and fair; a trustworthy friend who defends the underdog.",
"caution": "Anxiety and pessimism, and a fixed first judgement of people. Not every risk needs guarding against."
},
"pig": {
"name": "Pig",
"character": "Warm and sincere, the Pig enjoys life and assumes the best of people.",
"strengths": "Generous, easygoing and honest; a reliable friend who shares what it has.",
"caution": "Naivety and overindulgence. Avoiding confrontation until a small problem has grown."
}
},
"elements": {
"wood": {
"name": "Wood",
"text": "Wood adds growth and cooperation: more idealistic and patient, drawn to building things with other people."
},
"fire": {
"name": "Fire",
"text": "Fire adds passion and drive: more expressive and daring, a natural at inspiring others, quicker to flare up."
},
"earth": {
"name": "Earth",
"text": "Earth adds stability: more practical and reliable, careful with resources and slower to change course."
},
"metal": {
"name": "Metal",
"text": "Metal adds resolve: more principled and disciplined, sets firm goals and holds to them, sometimes rigidly."
},
"water": {
"name": "Water",
"text": "Water adds intuition and flexibility: more perceptive and persuasive, good at reading people and finding a way around obstacles."
}
}
},
"_footer": "Powered by astroway.api - get your own key at https://api.astroway.info"
}

Invalid sign or date

Media type application/json
Example
{
"ok": false,
"error": {
"code": "INVALID_SIGN",
"message": "sign must be one of the 12 zodiac signs"
}
}
Корисно?