ଡକ୍ସ
ଆପଣଙ୍କ ପ୍ରଥମ Mantrilo API ଅନୁରୋଧ କରନ୍ତୁ
ମନ୍ତ୍ର, ପବିତ୍ର ଅଡିଓ, ଶାସ୍ତ୍ର ପୁସ୍ତକ ଓ ଜ୍ୟୋତିଷ ପାଇଁ ଗୋଟିଏ REST API। ଆପଣ ଯାହା ତିଆରି କରୁଛନ୍ତି ତାହାର ଗାଇଡ୍ରୁ ଆରମ୍ଭ କରନ୍ତୁ, କିମ୍ବା ଯେକୌଣସି endpoint ଖୋଜନ୍ତୁ। ଉଦାହରଣଗୁଡ଼ିକ ରେସପନ୍ସ ଫର୍ମାଟ୍ ଦେଖାଏ। କେତେକରେ ଅଂଶ ବା ପ୍ଲେସହୋଲ୍ଡର୍ ବ୍ୟବହାର ହୋଇଛି।
କ୍ୱିକଷ୍ଟାର୍ଟ
- ଏକ key ନିଅନ୍ତୁ। ପ୍ରତ୍ୟେକ ଆକାଉଣ୍ଟ ଏକ ସ୍ୟାଣ୍ଡବକ୍ସ key ସହ ଆରମ୍ଭ ହୁଏ। ସ୍ୟାଣ୍ଡବକ୍ସ କ୍ୱିକଷ୍ଟାର୍ଟ ଖୋଲନ୍ତୁ
- ଏହାକୁ ଆପଣଙ୍କ ସର୍ଭରରେ ରଖନ୍ତୁ। ଆପଣଙ୍କ ବ୍ୟାକଏଣ୍ଡର environment ରେ
MANTRILO_API_KEYଓMANTRILO_API_URLସେଟ୍ କରନ୍ତୁ। - ଏକ ଅନୁରୋଧ କରନ୍ତୁ। ଗୋଟିଏ ମନ୍ତ୍ରର ତାଲିକା କରନ୍ତୁ, ତାପରେ endpoint ସନ୍ଦର୍ଭ କିମ୍ବା ଆପଣଙ୍କ ଲକ୍ଷ୍ୟ ପାଇଁ ଏକ ଗାଇଡ୍ ଅନୁସରଣ କରନ୍ତୁ।
curl "https://api.mantrilo.com/v1/mantras?limit=1" \
-H "Authorization: Bearer $MANTRILO_API_KEY"ଆପଣଙ୍କ ଲକ୍ଷ୍ୟରୁ ଆରମ୍ଭ କରନ୍ତୁ
ପ୍ରତ୍ୟେକ ଗାଇଡ୍ ଆପଣ ଚଲାଇପାରୁଥିବା ଏକ ଅନୁରୋଧରୁ ଆରମ୍ଭ ହୁଏ, ତାପରେ ସର୍ଭର କୋଡ୍, ପେଜିନେସନ୍ ଓ କୋଟା ଦେଖାଏ।
ଉପନିଷଦ ଲୋଡ୍ କରନ୍ତୁ
ଗୋଟିଏ ସଂଗ୍ରହକୁ ସିଧା କଲ୍ କରନ୍ତୁ, ପୃଷ୍ଠା ପରେ ପୃଷ୍ଠା ଦେଖନ୍ତୁ, ତାପରେ ଏକ ପୁସ୍ତକ, ଅଧ୍ୟାୟ ବା ଶ୍ଲୋକ ଖୋଲନ୍ତୁ।
ଗାଇଡ୍ ଖୋଲନ୍ତୁଖୋଜିହେବା ଭଳି ଶ୍ଲୋକ ଲାଇବ୍ରେରୀ ତିଆରି କରନ୍ତୁ
ମନ୍ତ୍ର ଓ ଶ୍ଲୋକର ତାଲିକା କରନ୍ତୁ, ଦେବତା ଅନୁସାରେ ଫିଲ୍ଟର୍ କରନ୍ତୁ ଏବଂ ଲୋଡ୍ ହୋଇଥିବା ଶୀର୍ଷକଗୁଡ଼ିକରେ ଖୋଜନ୍ତୁ।
ଗାଇଡ୍ ଖୋଲନ୍ତୁପବିତ୍ର ଅଡିଓ ବଜାନ୍ତୁ
ରେକର୍ଡିଂ ଥିବା ଏଣ୍ଟ୍ରି ପାଇଁ ଏକ ଅସ୍ଥାୟୀ ପ୍ଲେବ୍ୟାକ୍ URL ମାଗନ୍ତୁ।
ଗାଇଡ୍ ଖୋଲନ୍ତୁପୁସ୍ତକ ରିଡର୍ ତିଆରି କରନ୍ତୁ
ସଂସ୍କୃତ ଶ୍ଲୋକ କିମ୍ବା ରାମାୟଣ ଓ ମହାଭାରତର ଇଂରାଜୀ ପୁନର୍କଥନ ପଢ଼ନ୍ତୁ।
ଗାଇଡ୍ ଖୋଲନ୍ତୁଜନ୍ମ ଚାର୍ଟ ଯୋଡ଼ନ୍ତୁ
ଇଚ୍ଛାଧୀନ ଦଶା ଅବଧି ସହ ଏକ ଲାହିରୀ ଜନ୍ମ ଚାର୍ଟ ତିଆରି କରନ୍ତୁ।
ଗାଇଡ୍ ଖୋଲନ୍ତୁଦୈନିକ ପଞ୍ଚାଙ୍ଗ ଯୋଡ଼ନ୍ତୁ
ଏକ ସ୍ଥାନୀୟ ଦୈନିକ ପଞ୍ଚାଙ୍ଗ କ୍ୟାଲେଣ୍ଡର ତିଆରି କରନ୍ତୁ।
ଗାଇଡ୍ ଖୋଲନ୍ତୁଦୈନିକ ମନ୍ତ୍ର ଦେଖାନ୍ତୁ
ବଛାଯାଇଥିବା ଏକ ମନ୍ତ୍ର ଆଣନ୍ତୁ ଏବଂ ଏହାର ମୂଳ ସଂସ୍କୃତ ଓ ଲିପ୍ୟନ୍ତର ଦେଖାନ୍ତୁ।
ଗାଇଡ୍ ଖୋଲନ୍ତୁଜ୍ୟୋତିଷର ପ୍ରତ୍ୟେକ ସୁବିଧା ପାଇଁ ଏକ ଗାଇଡ୍ ଅଛି। ଜ୍ୟୋତିଷ ସୁବିଧାଗୁଡ଼ିକ ଦେଖନ୍ତୁ
ପ୍ରମାଣୀକରଣ
ପ୍ରତ୍ୟେକ ଅନୁରୋଧରେ ଆପଣଙ୍କ key କୁ Authorization: Bearer YOUR_KEY ଭାବେ ପଠାନ୍ତୁ। API ବ୍ରାଉଜର୍ର କ୍ରସ୍-ଓରିଜିନ୍ କଲ୍ ଅଟକାଏ, ତେଣୁ ଏହାକୁ ଆପଣଙ୍କ ସର୍ଭରରୁ କଲ୍ କରନ୍ତୁ ଏବଂ କେବଳ କଣ୍ଟେଣ୍ଟ ଆପଣଙ୍କ ଆପ୍କୁ ପଠାନ୍ତୁ। କେବେ ବି ୱେବ୍ ବଣ୍ଡଲ୍, ମୋବାଇଲ୍ ଆପ୍ ବା ରିପୋଜିଟୋରୀରେ key ରଖନ୍ତୁ ନାହିଁ। key ଲିକ୍ ହେଲେ କନସୋଲ୍ରେ ଏହାକୁ ପୁଣି ତିଆରି କରନ୍ତୁ; ପୁରୁଣା key ଏକ ମିନିଟ୍ ମଧ୍ୟରେ କାମ କରିବା ବନ୍ଦ କରେ।
ସ୍ୟାଣ୍ଡବକ୍ସ ଓ ଲାଇଭ୍
| ଏନଭାଇରନମେଣ୍ଟ | Key ପ୍ରିଫିକ୍ସ | ଏହା କ'ଣ ପଢ଼େ |
|---|---|---|
| ସ୍ୟାଣ୍ଡବକ୍ସ | mtr_sbx_ | ନମୁନା ମନ୍ତ୍ର, ନମୁନା ପୁସ୍ତକଗୁଡ଼ିକର ପ୍ରାରମ୍ଭିକ ଶ୍ଲୋକ ଓ ଉପଲବ୍ଧ ଜ୍ୟୋତିଷ ଅପରେସନ୍। ପ୍ରତ୍ୟେକ ଆକାଉଣ୍ଟରେ ଗୋଟିଏ ଅଛି। |
| ଲାଇଭ୍ | mtr_live_ | ସମ୍ପୂର୍ଣ୍ଣ ଉପଲବ୍ଧ କାଟାଲଗ୍। ପେଡ୍ ପ୍ଲାନ୍ ସହ ଜାରି କରାଯାଏ। |
ସ୍ୟାଣ୍ଡବକ୍ସ ଓ ଲାଇଭ୍ର ବ୍ୟବହାର ଅଲଗା ଅଲଗା ଗଣାଯାଏ। ନମୁନା ବାହାରେ ଥିବା ଆଇଟମ୍ ପାଇଁ ସ୍ୟାଣ୍ଡବକ୍ସ ଅନୁରୋଧ 403 sandbox_sample_only ଦିଏ।
ପେଜିନେସନ୍
ତାଲିକା endpoint ଗୁଡ଼ିକ nextCursor ଦିଏ। ପରବର୍ତ୍ତୀ ପୃଷ୍ଠା ପଢ଼ିବାକୁ ଏହାକୁ cursor ଭାବେ ଫେରାଇ ପଠାନ୍ତୁ। ଶେଷ ପୃଷ୍ଠାରେ ଏହା null ଥାଏ। limit (1–100) ଦ୍ୱାରା ପୃଷ୍ଠା ଆକାର ସେଟ୍ କରନ୍ତୁ।
ଅଧ୍ୟାୟ ପୃଷ୍ଠାଗୁଡ଼ିକ nextOffset ଦିଏ। ସେହି ଅଧ୍ୟାୟର ଅଧିକ ଶ୍ଲୋକ ପଢ଼ିବାକୁ ଏହାକୁ offset ଭାବେ ଫେରାଇ ପଠାନ୍ତୁ।
curl "$MANTRILO_API_URL/v1/books?collection=upanishads&limit=3&cursor={nextCursor}" \
-H "Authorization: Bearer $MANTRILO_API_KEY"ତ୍ରୁଟି
ପ୍ରତ୍ୟେକ ତ୍ରୁଟିର ଢାଞ୍ଚା ସମାନ। code ସ୍ଥିର ରହେ; message କ'ଣ ଠିକ୍ କରିବାକୁ ହେବ ବୁଝାଏ। କେବଳ ସଫଳ ରେସପନ୍ସ ଆପଣଙ୍କ ପ୍ଲାନ୍ରେ ଗଣାଯାଏ।
{
"error": {
"code": "invalid_api_key",
"message": "Send a valid API key."
},
"requestId": "request-id"
}| ସ୍ଥିତି | କୋଡ୍ | କ'ଣ କରିବେ |
|---|---|---|
400 | invalid_limit, invalid_cursor, invalid_deity, invalid_collection, invalid_offset | ମେସେଜ୍ରେ ଉଲ୍ଲେଖ ଥିବା query ପାରାମିଟର ଠିକ୍ କରନ୍ତୁ। |
400 | invalid_operation, invalid_input, invalid_datetime, invalid_timezone, … | ମେସେଜ୍ରେ ଉଲ୍ଲେଖ ଥିବା ଜ୍ୟୋତିଷ ଇନପୁଟ୍ ଠିକ୍ କରନ୍ତୁ। |
401 | invalid_api_key, revoked_api_key | Key ନାହିଁ, ଭୁଲ୍ ଅଛି, କିମ୍ବା ରଦ୍ଦ ହୋଇଛି। |
403 | plan_inactive | ଲାଇଭ୍ key ପାଇଁ ଏକ ସକ୍ରିୟ ପେଡ୍ ପ୍ଲାନ୍ ଦରକାର। |
403 | sandbox_sample_only | ସେହି ଆଇଟମ୍ ସ୍ୟାଣ୍ଡବକ୍ସ ନମୁନା ବାହାରେ। ଆପଣଙ୍କ ଲାଇଭ୍ key ବ୍ୟବହାର କରନ୍ତୁ। |
404 | not_found, audio_unavailable | ଏପରି କୌଣସି ଆଇଟମ୍ ନାହିଁ, କିମ୍ବା ଏହାର ରେକର୍ଡିଂ ନାହିଁ। |
405 | method_not_allowed | endpoint ପାଇଁ ଦିଆଯାଇଥିବା method ବ୍ୟବହାର କରନ୍ତୁ। |
429 | rate_limited | Retry-After ହେଡର୍ ଅନୁସାରେ ଅପେକ୍ଷା କରନ୍ତୁ, ତାପରେ ପୁଣି ଚେଷ୍ଟା କରନ୍ତୁ। |
429 | quota_exceeded, audio_quota_exceeded | ମାସିକ କୋଟା ସରିଯାଇଛି। |
429 | too_many_failed_attempts | ଗୋଟିଏ ଠିକଣାରୁ ଅତ୍ୟଧିକ ଭୁଲ୍ key। ପରେ ପୁଣି ଚେଷ୍ଟା କରନ୍ତୁ। |
500 | internal_error | ପୁଣି ଚେଷ୍ଟା କରନ୍ତୁ, ଏବଂ ସମସ୍ୟା ଜାରି ରହିଲେ requestId ଉଲ୍ଲେଖ କରନ୍ତୁ। |
503 | books_unavailable, astrology_unavailable, astrology_operation_unavailable | ସେବା ବା ଅପରେସନ୍ ଅସ୍ଥାୟୀ ଭାବେ ଉପଲବ୍ଧ ନାହିଁ। ପରେ ପୁଣି ଚେଷ୍ଟା କରନ୍ତୁ। |
504 | astrology_timeout | ଗଣନାରେ ଅତ୍ୟଧିକ ସମୟ ଲାଗିଲା। ପୁଣି ଚେଷ୍ଟା କରନ୍ତୁ। କୌଣସି ଶୁଳ୍କ ଲାଗେ ନାହିଁ। |
ବ୍ୟବହାର ସୀମା
କୋଟା ପ୍ରତ୍ୟେକ key ପାଇଁ ନୁହେଁ, ଆପଣଙ୍କ ସମଗ୍ର ୱର୍କସ୍ପେସ୍ ପାଇଁ ଲାଗୁ ହୁଏ, ଏବଂ UTC ଅନୁସାରେ ପ୍ରତି ମାସ ରିସେଟ୍ ହୁଏ। ପ୍ରତ୍ୟେକ ସଫଳ କଣ୍ଟେଣ୍ଟ ରେସପନ୍ସ ବା ଜ୍ୟୋତିଷ ଗଣନା ଗୋଟିଏ ଅନୁରୋଧ। ପ୍ରତ୍ୟେକ ଅଡିଓ ଲିଙ୍କ୍ ଫାଇଲର ଆକାର ମଧ୍ୟ ଗଣେ।
| ପ୍ଲାନ୍ | ମାସିକ ଅନୁରୋଧ | ଅଡିଓ | ରେଟ୍ | ବର୍ଷ୍ଟ |
|---|---|---|---|---|
| ମାଗଣା | 500 | କେବଳ ନମୁନା ଅଡିଓ | ପ୍ରତି ସେକେଣ୍ଡରେ 2 | 10 |
| Starter | 50,000 | 10 GB | ପ୍ରତି ସେକେଣ୍ଡରେ 10 | 20 |
| Growth | 2,50,000 | 50 GB | ପ୍ରତି ସେକେଣ୍ଡରେ 25 | 50 |
| Business | 10,00,000 | 200 GB | ପ୍ରତି ସେକେଣ୍ଡରେ 50 | 100 |
ରେସପନ୍ସରେ X-RateLimit-Limit, X-RateLimit-Remaining, X-Quota-Requests-Remaining ଓ X-Request-Id ଥାଏ। rate_limited ରେସପନ୍ସରେ Retry-After ମଧ୍ୟ ଯୋଡ଼ାଯାଏ। ସ୍ୟାଣ୍ଡବକ୍ସ key ସର୍ବଦା ମାଗଣା ପ୍ଲାନ୍ର ରେଟ୍ ବ୍ୟବହାର କରେ। ଆପଣଙ୍କ ୱର୍କସ୍ପେସ୍ର ମାସିକ ଅନୁରୋଧ ସୀମା ନଥିଲେ X-Quota-Requests-Remaining unlimited ଥାଏ। ପ୍ଲାନ୍ ତୁଳନା କରନ୍ତୁ
ରାମାୟଣ ଓ ମହାଭାରତ
ଏହି ଇଂରାଜୀ ଗଦ୍ୟ ପୁନର୍କଥନ ପଢ଼ିବାକୁ ଲାଇଭ୍ key ବ୍ୟବହାର କରନ୍ତୁ। ଅଧ୍ୟାୟ ସୂଚୀ ପାଇଁ ଏକ ପୁସ୍ତକ ଖୋଲନ୍ତୁ, ତାପରେ ଗୋଟିଏ ଅନୁରୋଧରେ ସମ୍ପୂର୍ଣ୍ଣ ଅଧ୍ୟାୟ ଲୋଡ୍ କରିବାକୁ ଅଧ୍ୟାୟ ସଂଖ୍ୟା ବ୍ୟବହାର କରନ୍ତୁ।
Ramayana
22ଟି ଅଧ୍ୟାୟ
curl "$MANTRILO_API_URL/v1/books/ramayana" \
-H "Authorization: Bearer $MANTRILO_API_KEY"
curl "$MANTRILO_API_URL/v1/books/ramayana/chapters/1" \
-H "Authorization: Bearer $MANTRILO_API_KEY"Mahabharata
62ଟି ଅଧ୍ୟାୟ
curl "$MANTRILO_API_URL/v1/books/mahabharata" \
-H "Authorization: Bearer $MANTRILO_API_KEY"
curl "$MANTRILO_API_URL/v1/books/mahabharata/chapters/1" \
-H "Authorization: Bearer $MANTRILO_API_KEY"ପୁସ୍ତକଗୁଡ଼ିକ format: "prose" ଓ language: "en" ଦିଏ। ଅଧ୍ୟାୟ ପାଇଁ data.source ଦେଖାନ୍ତୁ ଏବଂ data.sections ଉପରେ ଇଟରେଟ୍ କରନ୍ତୁ। ପ୍ରତ୍ୟେକ ବିଭାଗର title ଓ paragraphs କ୍ରମରେ ରେଣ୍ଡର୍ କରନ୍ତୁ। ଗଦ୍ୟ ଅଧ୍ୟାୟଗୁଡ଼ିକ ଖାଲି verses ଆରେ ଓ nextOffset: null ଦିଏ।
Endpoint ସନ୍ଦର୍ଭ
GET /v1
API ର ନାମ, ସଂସ୍କରଣ ଓ ରିସୋର୍ସ ତାଲିକା। ହେଲ୍ଥ ଚେକ୍ ଭାବେ ଉପଯୋଗୀ।
କୌଣସି key ଦରକାର ନାହିଁକୌଣସି ପାରାମିଟର ନାହିଁ।
curl "$MANTRILO_API_URL/v1"{
"name": "Mantrilo API",
"version": "1",
"authentication": "Authorization: Bearer <your Mantrilo API key>",
"resources": [
"/v1/mantras",
"/v1/books?collection={collection}",
"…"
]
}GET /v1/mantras
ସ୍ଥିର କ୍ରମରେ ମନ୍ତ୍ର ଓ ଶ୍ଲୋକ। ପ୍ରତ୍ୟେକ ଆଇଟମ୍ ଶ୍ଲୋକ ବିନା ଏକ ସାରାଂଶ।
limitquery- ପୂର୍ଣ୍ଣସଂଖ୍ୟା, 1–100। ଡିଫଲ୍ଟ 20।
cursorquery- ପୂର୍ବ ପୃଷ୍ଠାର nextCursor।
deityquery- shiva ବା annapurna ଭଳି ଏକ ଦେବତା id। ସଠିକ୍ ମେଳ।
curl "$MANTRILO_API_URL/v1/mantras?limit=1" \
-H "Authorization: Bearer $MANTRILO_API_KEY"{
"data": [
{
"id": "annapurna-aham-vaishvanaro-bhuthva",
"title": "Aham Vaishvanaro Bhuthva",
"deity": {
"id": "annapurna",
"name": "Lord Annapurna"
},
"category": "Annapurna Stotras",
"source": "Sanatana Shastras",
"description": "Aham Vaishvanaro Bhutva means \"I, having become the universal fire,\" and in Bhagavad Gita 15.14 Krishna says he lives in every body and digests its food. United with the prana and apana breaths, this inner fire cooks the four kinds of food: chewed, swallowed, licked and sucked. Families often say it before a meal to treat eating as an offering.",
"verseCount": 1,
"audio": {
"href": "/v1/mantras/annapurna-aham-vaishvanaro-bhuthva/audio"
}
}
],
"nextCursor": "YW5uYXB1cm5hLWFoYW0tdmFpc2h2YW5hcm8tYmh1dGh2YQ",
"requestId": "request-id"
}GET /v1/mantras/{id}
ଶ୍ଲୋକ ସହ ଗୋଟିଏ ମନ୍ତ୍ର। ଯେକୌଣସି ଟେକ୍ସଟ୍ ଫିଲ୍ଡ null ହୋଇପାରେ, ତେଣୁ କେବଳ ଯାହା ଅଛି ତାହା ରେଣ୍ଡର୍ କରନ୍ତୁ।
idpath- ତାଲିକା ରେସପନ୍ସରୁ ମନ୍ତ୍ର id।
description ହେଉଛି ମନ୍ତ୍ରର ସଂକ୍ଷିପ୍ତ ସାର୍ବଜନୀନ ସାରାଂଶ। ରେକର୍ଡରେ ନଥିଲେ ଏହା null ଥାଏ।
curl "$MANTRILO_API_URL/v1/mantras/annapurna-aham-vaishvanaro-bhuthva" \
-H "Authorization: Bearer $MANTRILO_API_KEY"{
"data": {
"id": "annapurna-aham-vaishvanaro-bhuthva",
"title": "Aham Vaishvanaro Bhuthva",
"deity": {
"id": "annapurna",
"name": "Lord Annapurna"
},
"category": "Annapurna Stotras",
"source": "Sanatana Shastras",
"description": "Aham Vaishvanaro Bhutva means \"I, having become the universal fire,\" and in Bhagavad Gita 15.14 Krishna says he lives in every body and digests its food. United with the prana and apana breaths, this inner fire cooks the four kinds of food: chewed, swallowed, licked and sucked. Families often say it before a meal to treat eating as an offering.",
"verseCount": 1,
"audio": {
"href": "/v1/mantras/annapurna-aham-vaishvanaro-bhuthva/audio"
},
"verses": [
{
"number": 1,
"title": "Aham Vaishvanaro Bhuthva – Verse 1",
"sanskrit": "अहं वैश्वानरो भूत्वा प्राणिनां देहमाश्रितः\nप्राणापान समायुक्तः पचाम्यन्नं चतुर्विधम्",
"transliteration": "ahaṃ vaiśvānaro bhūtvā prāṇināṃ dehamāśritaḥ\nprāṇāpāna samāyuktaḥ pacāmyannaṃ caturvidham",
"translation": null,
"wordMeanings": []
}
]
},
"requestId": "request-id"
}GET /v1/mantras/{id}/audio
ଯେଉଁ ମନ୍ତ୍ରର audio ଫିଲ୍ଡ null ନୁହେଁ ତାହାର ରେକର୍ଡିଂ। format=json ବିନା ରେସପନ୍ସଟି ଫାଇଲକୁ ଏକ 302 ରିଡାଇରେକ୍ଟ।
idpath- ମନ୍ତ୍ର id।
formatquery- json ଦେଲେ ରିଡାଇରେକ୍ଟ ବଦଳରେ ସାଇନ୍ ହୋଇଥିବା ଲିଙ୍କ୍ JSON ଭାବେ ମିଳେ।
ଲିଙ୍କ୍ 15 ମିନିଟ୍ ରହେ। ପ୍ରତ୍ୟେକ ଲିଙ୍କର ଫାଇଲ ଆକାର ଆପଣଙ୍କ ଅଡିଓ କୋଟାରେ ଗଣାଯାଏ।
curl "$MANTRILO_API_URL/v1/mantras/annapurna-aham-vaishvanaro-bhuthva/audio?format=json" \
-H "Authorization: Bearer $MANTRILO_API_KEY"{
"data": {
"url": "https://storage.googleapis.com/mantrilo-media/…?X-Goog-Signature=…",
"expiresAt": "2026-11-10T06:45:00.000Z",
"bytes": 123077,
"contentType": "audio/x-m4a"
},
"requestId": "request-id"
}GET /v1/books
କାଟାଲଗ୍ କ୍ରମରେ ଲାଇଭ୍ ପୁସ୍ତକ। ଉପନିଷଦ ଭଳି ଏକ ସେଟ୍ ସିଧା କଲ୍ କରିବାକୁ collection ଦ୍ୱାରା ଫିଲ୍ଟର୍ କରନ୍ତୁ।
collectionquery- ଏକ ସଂଗ୍ରହ id: upanishads, bhagavad-gita, advaita-vedanta-prakarana-granthas, vedanta, yoga।
limitquery- ପୂର୍ଣ୍ଣସଂଖ୍ୟା, 1–100। ଡିଫଲ୍ଟ 24।
cursorquery- ପୂର୍ବ ପୃଷ୍ଠାର nextCursor।
ସ୍ୟାଣ୍ଡବକ୍ସ key ଈଶ ଉପନିଷଦ ଓ ଭଗବଦ୍ ଗୀତା ଦେଖାଏ। ଅନ୍ୟ ସଂଗ୍ରହରେ କୌଣସି ସ୍ୟାଣ୍ଡବକ୍ସ ଶୀର୍ଷକ ନ ଥାଇପାରେ।
curl "$MANTRILO_API_URL/v1/books?collection=upanishads&limit=3" \
-H "Authorization: Bearer $MANTRILO_API_KEY"{
"data": [
{
"id": "ishaUpanishad",
"title": "Īśāvāsya Upaniṣad",
"author": "Vedic Rishis",
"category": null,
"subcategory": null,
"collection": {
"id": "upanishads",
"name": "Upanishads"
},
"description": "One of the shortest and most profound Upanishads, revealing the nature of the Supreme Lord who pervades all.",
"verseCount": 18
}
],
"nextCursor": null,
"sandbox": true,
"requestId": "request-id"
}GET /v1/books/{id}
ଅଧ୍ୟାୟ ସୂଚୀ ସହ ଏକ ପୁସ୍ତକ ସାରାଂଶ। ପାଠ ମାଗିବାକୁ ଅଧ୍ୟାୟ ସଂଖ୍ୟା ବ୍ୟବହାର କରନ୍ତୁ।
idpath- ତାଲିକା ରେସପନ୍ସରୁ ପୁସ୍ତକ id।
ସ୍ୟାଣ୍ଡବକ୍ସ key ପାଇଁ preview true ଥାଏ, ଯାହା କେବଳ ପ୍ରାରମ୍ଭିକ ଅଧ୍ୟାୟ ଦେଖେ।
curl "$MANTRILO_API_URL/v1/books/ishaUpanishad" \
-H "Authorization: Bearer $MANTRILO_API_KEY"{
"data": {
"id": "ishaUpanishad",
"title": "…",
"collection": {
"id": "upanishads",
"name": "Upanishads"
},
"description": "…",
"chapters": [
{
"number": 1,
"title": "…",
"description": null,
"verseCount": 18
}
],
"preview": false
},
"requestId": "request-id"
}GET /v1/books/{id}/chapters/{chapter}
ସର୍ବାଧିକ 30ଟି ଶ୍ଲୋକର ଏକ ପୃଷ୍ଠା କିମ୍ବା ଗଦ୍ୟ ପୁନର୍କଥନର ଏକ ସମ୍ପୂର୍ଣ୍ଣ ଅଧ୍ୟାୟ।
idpath- ପୁସ୍ତକ id।
chapterpath- ପୁସ୍ତକର ଅଧ୍ୟାୟ ସୂଚୀରୁ ଏକ ଅଧ୍ୟାୟ ସଂଖ୍ୟା।
offsetquery- ଶ୍ଲୋକ ପାଇଁ ପୂର୍ବ ପୃଷ୍ଠାର nextOffset ପଠାନ୍ତୁ। ଗଦ୍ୟ ପାଇଁ ଛାଡ଼ିଦିଅନ୍ତୁ।
ସ୍ୟାଣ୍ଡବକ୍ସ key ନମୁନା ପୁସ୍ତକଗୁଡ଼ିକର ପ୍ରାରମ୍ଭିକ ଅଧ୍ୟାୟର ପ୍ରଥମ ତିନୋଟି ଶ୍ଲୋକ ପଢ଼େ। ରାମାୟଣ ଓ ମହାଭାରତ ପାଇଁ ଲାଇଭ୍ key ଦରକାର।
curl "$MANTRILO_API_URL/v1/books/ishaUpanishad/chapters/1" \
-H "Authorization: Bearer $MANTRILO_API_KEY"{
"data": {
"number": 1,
"title": "…",
"verseCount": 18,
"verses": [
{
"number": 1,
"sanskrit": "…",
"transliteration": "…",
"translation": null,
"translator": "…",
"wordMeaning": null,
"commentary": null
}
],
"nextOffset": null
},
"requestId": "request-id"
}GET /v1/astrology
ବର୍ତ୍ତମାନର ଅପରେସନ୍ କାଟାଲଗ୍, ID, ବର୍ଗ ଏବଂ ଉପଲବ୍ଧ ସ୍ଥଳେ ନମୁନା ଇନପୁଟ୍ ସହ।
କୌଣସି key ଦରକାର ନାହିଁକୌଣସି ପାରାମିଟର ନାହିଁ।
curl "$MANTRILO_API_URL/v1/astrology"{
"data": [
{
"id": "positions",
"name": "Planetary positions",
"description": "…"
},
{
"id": "vedic-panchang",
"name": "Panchang",
"category": "Vedic",
"availability": "available",
"example": {
"…": "…"
}
}
]
}POST /v1/astrology/calculate
ଗୋଟିଏ ଅପରେସନ୍ ଚଲାନ୍ତୁ। operation ଓ ସେହି ଅପରେସନ୍ର ଇନପୁଟ୍ JSON ଭାବେ ପଠାନ୍ତୁ। ପ୍ରତ୍ୟେକ ଅପରେସନ୍ର ଇନପୁଟ୍ ଜ୍ୟୋତିଷ ପୃଷ୍ଠାରେ ଅଛି।
operationbody- GET /v1/astrology ରୁ ଏକ ଅପରେସନ୍ id।
datetimebody- positions ଓ panchang ପାଇଁ: ସେକେଣ୍ଡ ଓ UTC ଅଫସେଟ୍ ସହ ISO 8601।
…body- ଅନ୍ୟ ଇନପୁଟ୍ ଅପରେସନ୍ ଉପରେ ନିର୍ଭର କରେ।
ବିଫଳ ଗଣନା ପାଇଁ ଶୁଳ୍କ ଲାଗେ ନାହିଁ।
Hindi responses: five operations answer in Hindi when you add "lang": "hi" or "language": "hi" under parameters. These are Daily Rashifal, Daily Rashifal for all signs, the Western daily sign horoscope, Daily Muhurat lookup and Moon sign compatibility. Codes and scores stay the same in both languages. Every other operation answers in English. The list is on the Astrology page.
curl -X POST "$MANTRILO_API_URL/v1/astrology/calculate" \
-H "Authorization: Bearer $MANTRILO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"operation":"positions","datetime":"2026-11-10T12:00:00+05:30"}'{
"data": {
"engineVersion": "mantrilo-astro-1",
"datetimeUtc": "2026-11-10T06:30:00.000Z",
"referenceFrame": "geocentric_true_ecliptic_of_date",
"ayanamsa": {
"model": "lahiri_linear_approximation",
"degrees": 24.232277,
"approximate": true
},
"operation": "positions",
"planets": [
{
"body": "Moon",
"tropicalLongitudeDegrees": 238.933105,
"siderealLongitudeDegrees": 214.700828,
"latitudeDegrees": -4.987681,
"distanceAU": 0.00267702,
"motion": {
"degreesPerDay": 12.232549,
"retrograde": false
},
"rashi": {
"number": 8,
"name": "Vrishchika",
"degreesWithin": 4.700828
},
"nakshatra": {
"number": 17,
"name": "Anuradha",
"pada": 1
}
}
]
},
"calculated": true,
"requestId": "request-id"
}