☰ DiAstrologer API Docs

BNN API

44 endpoints — service bnn.

Endpoint Method Summary
/btr/analyze POST Analyze
/chart GET Get Chart
/health GET Health
/payments/order POST Create Payment Order
/payments/status/{order_id} GET Payment Status
/payments/verify POST Verify Payment
/payments/webhook POST Payments Webhook
/predict POST Predict
/predict/appearance POST Predict: Appearance
/predict/birth POST Predict: Birth
/predict/birthplace POST Predict: Birthplace
/predict/career POST Predict: Career
/predict/character POST Predict: Character
/predict/children POST Predict: Children
/predict/education POST Predict: Education
/predict/enemies POST Predict: Enemies
/predict/event POST Predict: Event
/predict/family POST Predict: Family
/predict/father POST Predict: Father
/predict/general POST Predict: General
/predict/health POST Predict: Health
/predict/intuition POST Predict: Intuition
/predict/karma POST Predict: Karma
/predict/knowledge POST Predict: Knowledge
/predict/legal POST Predict: Legal
/predict/longevity POST Predict: Longevity
/predict/marriage POST Predict: Marriage
/predict/mother POST Predict: Mother
/predict/name POST Predict: Name
/predict/parents POST Predict: Parents
/predict/personality POST Predict: Personality
/predict/property POST Predict: Property
/predict/relationships POST Predict: Relationships
/predict/remedies POST Predict: Remedies
/predict/siblings POST Predict: Siblings
/predict/spirituality POST Predict: Spirituality
/predict/spouse POST Predict: Spouse
/predict/talent POST Predict: Talent
/predict/timing POST Predict: Timing
/predict/travel POST Predict: Travel
/predict/unexpected POST Predict: Unexpected
/predict/vehicles POST Predict: Vehicles
/predict/wealth POST Predict: Wealth
/report POST Report

POST /btr/analyze

Analyze

Request body (application/json)

Field Type Required Description
birth_date string yes
birth_time string yes
birth_timezone string yes
birth_latitude number yes
birth_longitude number yes
horary_number integer yes
query_date string yes
query_time string yes
query_timezone string yes
query_latitude number yes
query_longitude number yes
life_events any no

Response 422HTTPValidationError

Example

curl -X POST 'https://api.example.com/btr/analyze' \
  -H 'Authorization: Bearer <API_KEY>'

GET /chart

Get Chart

Param In Type Required Description
birth_date query string yes
birth_time query any no

Response 422HTTPValidationError

Example

curl -X GET 'https://api.example.com/chart' \
  -H 'Authorization: Bearer <API_KEY>'

GET /health

Health

Example

curl -X GET 'https://api.example.com/health' \
  -H 'Authorization: Bearer <API_KEY>'

POST /payments/order

Create Payment Order

Request body (application/json)

Field Type Required Description
user_email any no
product_id string no
amount_paise any no
currency any no
report_inputs any no

Response 422HTTPValidationError

Example

curl -X POST 'https://api.example.com/payments/order' \
  -H 'Authorization: Bearer <API_KEY>'

GET /payments/status/{order_id}

Payment Status

Param In Type Required Description
order_id path string yes

Response 422HTTPValidationError

Example

curl -X GET 'https://api.example.com/payments/status/${order_id}' \
  -H 'Authorization: Bearer <API_KEY>'

POST /payments/verify

Verify Payment

Request body (application/json)

Field Type Required Description
razorpay_order_id string yes
razorpay_payment_id string yes
razorpay_signature string yes

Response 422HTTPValidationError

Example

curl -X POST 'https://api.example.com/payments/verify' \
  -H 'Authorization: Bearer <API_KEY>'

POST /payments/webhook

Payments Webhook

Example

curl -X POST 'https://api.example.com/payments/webhook' \
  -H 'Authorization: Bearer <API_KEY>'

POST /predict

Predict

Request body (application/json)

Field Type Required Description
birth_date string yes
birth_time any no
birth_place any no
name any no

Response 422HTTPValidationError

Example

curl -X POST 'https://api.example.com/predict' \
  -H 'Authorization: Bearer <API_KEY>'

POST /predict/appearance

Predict: Appearance

BNN prediction scoped to the 'appearance' life area.

Request body (application/json)

Field Type Required Description
birth_date string yes
birth_time any no
birth_place any no
name any no

Response 422HTTPValidationError

Example

curl -X POST 'https://api.example.com/predict/appearance' \
  -H 'Authorization: Bearer <API_KEY>'

POST /predict/birth

Predict: Birth

BNN prediction scoped to the 'birth' life area.

Request body (application/json)

Field Type Required Description
birth_date string yes
birth_time any no
birth_place any no
name any no

Response 422HTTPValidationError

Example

curl -X POST 'https://api.example.com/predict/birth' \
  -H 'Authorization: Bearer <API_KEY>'

POST /predict/birthplace

Predict: Birthplace

BNN prediction scoped to the 'birthplace' life area.

Request body (application/json)

Field Type Required Description
birth_date string yes
birth_time any no
birth_place any no
name any no

Response 422HTTPValidationError

Example

curl -X POST 'https://api.example.com/predict/birthplace' \
  -H 'Authorization: Bearer <API_KEY>'

POST /predict/career

Predict: Career

BNN prediction scoped to the 'career' life area.

Request body (application/json)

Field Type Required Description
birth_date string yes
birth_time any no
birth_place any no
name any no

Response 422HTTPValidationError

Example

curl -X POST 'https://api.example.com/predict/career' \
  -H 'Authorization: Bearer <API_KEY>'

POST /predict/character

Predict: Character

BNN prediction scoped to the 'character' life area.

Request body (application/json)

Field Type Required Description
birth_date string yes
birth_time any no
birth_place any no
name any no

Response 422HTTPValidationError

Example

curl -X POST 'https://api.example.com/predict/character' \
  -H 'Authorization: Bearer <API_KEY>'

POST /predict/children

Predict: Children

BNN prediction scoped to the 'children' life area.

Request body (application/json)

Field Type Required Description
birth_date string yes
birth_time any no
birth_place any no
name any no

Response 422HTTPValidationError

Example

curl -X POST 'https://api.example.com/predict/children' \
  -H 'Authorization: Bearer <API_KEY>'

POST /predict/education

Predict: Education

BNN prediction scoped to the 'education' life area.

Request body (application/json)

Field Type Required Description
birth_date string yes
birth_time any no
birth_place any no
name any no

Response 422HTTPValidationError

Example

curl -X POST 'https://api.example.com/predict/education' \
  -H 'Authorization: Bearer <API_KEY>'

POST /predict/enemies

Predict: Enemies

BNN prediction scoped to the 'enemies' life area.

Request body (application/json)

Field Type Required Description
birth_date string yes
birth_time any no
birth_place any no
name any no

Response 422HTTPValidationError

Example

curl -X POST 'https://api.example.com/predict/enemies' \
  -H 'Authorization: Bearer <API_KEY>'

POST /predict/event

Predict: Event

BNN prediction scoped to the 'event' life area.

Request body (application/json)

Field Type Required Description
birth_date string yes
birth_time any no
birth_place any no
name any no

Response 422HTTPValidationError

Example

curl -X POST 'https://api.example.com/predict/event' \
  -H 'Authorization: Bearer <API_KEY>'

POST /predict/family

Predict: Family

BNN prediction scoped to the 'family' life area.

Request body (application/json)

Field Type Required Description
birth_date string yes
birth_time any no
birth_place any no
name any no

Response 422HTTPValidationError

Example

curl -X POST 'https://api.example.com/predict/family' \
  -H 'Authorization: Bearer <API_KEY>'

POST /predict/father

Predict: Father

BNN prediction scoped to the 'father' life area.

Request body (application/json)

Field Type Required Description
birth_date string yes
birth_time any no
birth_place any no
name any no

Response 422HTTPValidationError

Example

curl -X POST 'https://api.example.com/predict/father' \
  -H 'Authorization: Bearer <API_KEY>'

POST /predict/general

Predict: General

BNN prediction scoped to the 'general' life area.

Request body (application/json)

Field Type Required Description
birth_date string yes
birth_time any no
birth_place any no
name any no

Response 422HTTPValidationError

Example

curl -X POST 'https://api.example.com/predict/general' \
  -H 'Authorization: Bearer <API_KEY>'

POST /predict/health

Predict: Health

BNN prediction scoped to the 'health' life area.

Request body (application/json)

Field Type Required Description
birth_date string yes
birth_time any no
birth_place any no
name any no

Response 422HTTPValidationError

Example

curl -X POST 'https://api.example.com/predict/health' \
  -H 'Authorization: Bearer <API_KEY>'

POST /predict/intuition

Predict: Intuition

BNN prediction scoped to the 'intuition' life area.

Request body (application/json)

Field Type Required Description
birth_date string yes
birth_time any no
birth_place any no
name any no

Response 422HTTPValidationError

Example

curl -X POST 'https://api.example.com/predict/intuition' \
  -H 'Authorization: Bearer <API_KEY>'

POST /predict/karma

Predict: Karma

BNN prediction scoped to the 'karma' life area.

Request body (application/json)

Field Type Required Description
birth_date string yes
birth_time any no
birth_place any no
name any no

Response 422HTTPValidationError

Example

curl -X POST 'https://api.example.com/predict/karma' \
  -H 'Authorization: Bearer <API_KEY>'

POST /predict/knowledge

Predict: Knowledge

BNN prediction scoped to the 'knowledge' life area.

Request body (application/json)

Field Type Required Description
birth_date string yes
birth_time any no
birth_place any no
name any no

Response 422HTTPValidationError

Example

curl -X POST 'https://api.example.com/predict/knowledge' \
  -H 'Authorization: Bearer <API_KEY>'

POST /predict/legal

Predict: Legal

BNN prediction scoped to the 'legal' life area.

Request body (application/json)

Field Type Required Description
birth_date string yes
birth_time any no
birth_place any no
name any no

Response 422HTTPValidationError

Example

curl -X POST 'https://api.example.com/predict/legal' \
  -H 'Authorization: Bearer <API_KEY>'

POST /predict/longevity

Predict: Longevity

BNN prediction scoped to the 'longevity' life area.

Request body (application/json)

Field Type Required Description
birth_date string yes
birth_time any no
birth_place any no
name any no

Response 422HTTPValidationError

Example

curl -X POST 'https://api.example.com/predict/longevity' \
  -H 'Authorization: Bearer <API_KEY>'

POST /predict/marriage

Predict: Marriage

BNN prediction scoped to the 'marriage' life area.

Request body (application/json)

Field Type Required Description
birth_date string yes
birth_time any no
birth_place any no
name any no

Response 422HTTPValidationError

Example

curl -X POST 'https://api.example.com/predict/marriage' \
  -H 'Authorization: Bearer <API_KEY>'

POST /predict/mother

Predict: Mother

BNN prediction scoped to the 'mother' life area.

Request body (application/json)

Field Type Required Description
birth_date string yes
birth_time any no
birth_place any no
name any no

Response 422HTTPValidationError

Example

curl -X POST 'https://api.example.com/predict/mother' \
  -H 'Authorization: Bearer <API_KEY>'

POST /predict/name

Predict: Name

BNN prediction scoped to the 'name' life area.

Request body (application/json)

Field Type Required Description
birth_date string yes
birth_time any no
birth_place any no
name any no

Response 422HTTPValidationError

Example

curl -X POST 'https://api.example.com/predict/name' \
  -H 'Authorization: Bearer <API_KEY>'

POST /predict/parents

Predict: Parents

BNN prediction scoped to the 'parents' life area.

Request body (application/json)

Field Type Required Description
birth_date string yes
birth_time any no
birth_place any no
name any no

Response 422HTTPValidationError

Example

curl -X POST 'https://api.example.com/predict/parents' \
  -H 'Authorization: Bearer <API_KEY>'

POST /predict/personality

Predict: Personality

BNN prediction scoped to the 'personality' life area.

Request body (application/json)

Field Type Required Description
birth_date string yes
birth_time any no
birth_place any no
name any no

Response 422HTTPValidationError

Example

curl -X POST 'https://api.example.com/predict/personality' \
  -H 'Authorization: Bearer <API_KEY>'

POST /predict/property

Predict: Property

BNN prediction scoped to the 'property' life area.

Request body (application/json)

Field Type Required Description
birth_date string yes
birth_time any no
birth_place any no
name any no

Response 422HTTPValidationError

Example

curl -X POST 'https://api.example.com/predict/property' \
  -H 'Authorization: Bearer <API_KEY>'

POST /predict/relationships

Predict: Relationships

BNN prediction scoped to the 'relationships' life area.

Request body (application/json)

Field Type Required Description
birth_date string yes
birth_time any no
birth_place any no
name any no

Response 422HTTPValidationError

Example

curl -X POST 'https://api.example.com/predict/relationships' \
  -H 'Authorization: Bearer <API_KEY>'

POST /predict/remedies

Predict: Remedies

BNN prediction scoped to the 'remedies' life area.

Request body (application/json)

Field Type Required Description
birth_date string yes
birth_time any no
birth_place any no
name any no

Response 422HTTPValidationError

Example

curl -X POST 'https://api.example.com/predict/remedies' \
  -H 'Authorization: Bearer <API_KEY>'

POST /predict/siblings

Predict: Siblings

BNN prediction scoped to the 'siblings' life area.

Request body (application/json)

Field Type Required Description
birth_date string yes
birth_time any no
birth_place any no
name any no

Response 422HTTPValidationError

Example

curl -X POST 'https://api.example.com/predict/siblings' \
  -H 'Authorization: Bearer <API_KEY>'

POST /predict/spirituality

Predict: Spirituality

BNN prediction scoped to the 'spirituality' life area.

Request body (application/json)

Field Type Required Description
birth_date string yes
birth_time any no
birth_place any no
name any no

Response 422HTTPValidationError

Example

curl -X POST 'https://api.example.com/predict/spirituality' \
  -H 'Authorization: Bearer <API_KEY>'

POST /predict/spouse

Predict: Spouse

BNN prediction scoped to the 'spouse' life area.

Request body (application/json)

Field Type Required Description
birth_date string yes
birth_time any no
birth_place any no
name any no

Response 422HTTPValidationError

Example

curl -X POST 'https://api.example.com/predict/spouse' \
  -H 'Authorization: Bearer <API_KEY>'

POST /predict/talent

Predict: Talent

BNN prediction scoped to the 'talent' life area.

Request body (application/json)

Field Type Required Description
birth_date string yes
birth_time any no
birth_place any no
name any no

Response 422HTTPValidationError

Example

curl -X POST 'https://api.example.com/predict/talent' \
  -H 'Authorization: Bearer <API_KEY>'

POST /predict/timing

Predict: Timing

BNN prediction scoped to the 'timing' life area.

Request body (application/json)

Field Type Required Description
birth_date string yes
birth_time any no
birth_place any no
name any no

Response 422HTTPValidationError

Example

curl -X POST 'https://api.example.com/predict/timing' \
  -H 'Authorization: Bearer <API_KEY>'

POST /predict/travel

Predict: Travel

BNN prediction scoped to the 'travel' life area.

Request body (application/json)

Field Type Required Description
birth_date string yes
birth_time any no
birth_place any no
name any no

Response 422HTTPValidationError

Example

curl -X POST 'https://api.example.com/predict/travel' \
  -H 'Authorization: Bearer <API_KEY>'

POST /predict/unexpected

Predict: Unexpected

BNN prediction scoped to the 'unexpected' life area.

Request body (application/json)

Field Type Required Description
birth_date string yes
birth_time any no
birth_place any no
name any no

Response 422HTTPValidationError

Example

curl -X POST 'https://api.example.com/predict/unexpected' \
  -H 'Authorization: Bearer <API_KEY>'

POST /predict/vehicles

Predict: Vehicles

BNN prediction scoped to the 'vehicles' life area.

Request body (application/json)

Field Type Required Description
birth_date string yes
birth_time any no
birth_place any no
name any no

Response 422HTTPValidationError

Example

curl -X POST 'https://api.example.com/predict/vehicles' \
  -H 'Authorization: Bearer <API_KEY>'

POST /predict/wealth

Predict: Wealth

BNN prediction scoped to the 'wealth' life area.

Request body (application/json)

Field Type Required Description
birth_date string yes
birth_time any no
birth_place any no
name any no

Response 422HTTPValidationError

Example

curl -X POST 'https://api.example.com/predict/wealth' \
  -H 'Authorization: Bearer <API_KEY>'

POST /report

Report

Request body (application/json)

Field Type Required Description
birth_date string yes
birth_time any no
birth_place any no
name any no
format string no

Response 422HTTPValidationError

Example

curl -X POST 'https://api.example.com/report' \
  -H 'Authorization: Bearer <API_KEY>'