Destiny Number API with Django
Integrate Destiny Number API in Django. Complete code examples and SDK documentation.
Operation
POST /v2/calculators/destiny-number
Destiny (expression) number from the letters of a name.
Send name (alias fullName). The destiny number is the sum of every letter of the name (Pythagorean, A=1 to I=9, J=1 and so on), reduced to one digit, keeping the master numbers 11, 22 and 33. A birth date is not needed. A request without a name, or with a name that has no letter in it, returns 400 and is not billed.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
name | body | string | Required. Full name the number is read from. Alias fullName. |
Request example for Django
Authenticate with Authorization: Bearer YOUR_API_KEY. Keep the key in the VEDIKA_API_KEY environment variable on your server and never in source control.
import os
import requests
def call_vedika():
return requests.post(
"https://api.vedika.io/v2/calculators/destiny-number",
headers={"Authorization": "Bearer " + os.environ["VEDIKA_API_KEY"]},
json={
"name": "Asha Verma",
},
timeout=30,
)
from django.http import JsonResponse
# urls.py: path("vedika/destiny-number", read)
def read(request):
upstream = call_vedika()
return JsonResponse(upstream.json(), status=upstream.status_code)
Try it in the keyless sandbox
The sandbox mirrors the production route and needs no API key:
curl -X POST https://api.vedika.io/sandbox/calculators/destiny-number \
-H "Content-Type: application/json" \
-d '{"name":"Asha Verma"}'
Sandbox response from POST /sandbox/calculators/destiny-number, abridged (billing block, long text fields and long lists trimmed). The sandbox answers with a fixed demo result and ignores your inputs; a production call computes the result for the details you send.
{
"data": {
"destiny_number": 6,
"method": "pythagorean",
"name": "Ravi Kumar"
},
"meta": {
"contentMode": "fixture",
"engine": "vedika-intelligence",
"fixtureId": "sandbox-demo-inputs",
"inputUsage": "ignored",
"mode": "sandbox",
"sample": true,
"version": "2.1.0"
},
"success": true
}
Related
The same endpoint in other stacks:
Last updated: 22 November 2026