Mantra Library
POSTAvailable
https://api.96astroapi.com/v1/remedies/mantra-libraryTraditional mantras by planet, deity or purpose: the Devanagari text, IAST transliteration and meaning, the kind of mantra, the japa count with its note, the day and time, and the source.
- Credits
- 1 credit
- Input
- Specific input
- Output
- JSON
- Delivery
- Direct response
- Languages
- English; translated term names with
labels
| Header | Value and description |
|---|---|
AuthorizationRequired | Bearer YOUR_API_KEYYour sandbox (sk_test_...) or live (sk_live_...) key. X-API-Key: <key> is accepted instead. |
Content-TypeRequired | application/jsonThe body is JSON. |
Idempotency-KeyOptional | <unique string>Makes retries safe: a repeated key with the same body replays the stored response and is never charged twice. (1 to 200 characters) |
| Field | Description |
|---|---|
planetstring | nullOptional | Mantras of one planet. Default: Allowed values: sunmoonmarsmercuryjupitervenussaturnrahuketu Example: |
deitystring | nullOptional | Mantras of one deity. Default: Allowed values: ganeshashivavishnulakshmisaraswatidurgahanumankrishnaramasuryagayatrikali |
purposestring | nullOptional | Mantras traditionally recited for a purpose (alone, or narrowing a planet or deity). Default: Allowed values: healthwealthcareermarriageeducationprotectionpeacechildrendebttravel |
include_allbooleanOptional | Every mantra in the library at once. Default: |
labelsstringOptional | Optional. Adds `meta.labels`: translated display names for the identifiers in the answer. `data` is unchanged. Free. Any other code is refused with 422 unsupported_language. Allowed values: asbndeesfrguhiitjaknkomlmrnenlorpaplptrusitatetrur |
Response · fields in data
Inferred from the example response: a guide to the shape, not a contract.
filters· objectcount· numbermantras· array of objectnote· string
Example request
curl -X POST https://api.96astroapi.com/v1/remedies/mantra-library \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"planet": "saturn"
}'Example response
{
"data": {
"filters": {
"planet": "saturn",
"deity": null,
"purpose": null
},
"count": 3,
"mantras": [
{
"id": "saturn_beej",
"name": "Saturn beej mantra",
"text_devanagari": "ॐ प्रां प्रीं प्रौं सः शनैश्चराय नमः",
"transliteration_iast": "oṃ prāṃ prīṃ prauṃ saḥ śanaiścarāya namaḥ",
"say_it_as": "om praam preem praum sah shanaishcharaaya namah",
"meaning_en": "Salutation to Saturn, the slow mover (Shanaishchara), with its seed syllables.",
"deity_or_planet": "Saturn (Shani)",
"planet": "saturn",
"deity": null,
"kind": "beej",
…Captured from the live engine with a sandbox key (so credits_used is 0) and trimmed: long arrays keep their first items.
Error responses
- 400invalid_request
- 401invalid_key, expired_key
- 402payment_required
- 403account_suspended, plan_upgrade_required, plan_family_not_included, key_scope_denied, ip_not_allowed, origin_not_allowed, publishable_key_not_allowed
- 404not_found
- 409idempotency_conflict
- 413payload_too_large
- 422invalid_request, unsupported_language
- 429rate_limited, quota_exhausted, spend_cap_reached, project_budget_exceeded
- 500computation_failed
- 502unavailable
- 503unavailable, maintenance, temporarily_unavailable
- 504deadline_exceeded
Errors are never charged. What each status means and what to do: errors.

