Developers / Reference / Birth records

Birth records

scope: charts

Create and manage the birth data every other endpoint refers to.

Your key must hold the charts scope. Costs are in credits — what is a credit?

Birth charts
POST /api/v1/charts/
1.0 credits

Create the birth record every other endpoint refers to. Required fields: name, date_of_birth (YYYY-MM-DD), time_of_birth (HH:MM), place_of_birth, latitude, longitude, timezone_offset. Returns the chart id.

Request
curl https://rajvidya.com/api/v1/charts/ \
  -X POST \
  -H "X-API-Key: rv_live_xxxxxxxxxxxx_xxxxxxxxxxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Test Person",
    "gender": "MALE",
    "date_of_birth": "1990-05-15",
    "time_of_birth": "14:30",
    "place_of_birth": "Pune, India",
    "latitude": 18.52,
    "longitude": 73.85,
    "timezone_offset": 5.5
  }'
Response
{
  "id": 2317,
  "name": "Test Person",
  "is_calculated": true
}
Language

Add lang to any request to get the interpretation text back in that language. This is written interpretation, not machine translation.

English हिन्दी मराठी ગુજરાતી বাংলা தமிழ் తెలుగు संस्कृत Español Português Français Deutsch Русский العربية 日本語 繁體中文
Language codes