API reference › Biorhythm

Biorhythm Chart Data API

The three values for each day of a range, ready to chart

POST/v1/biorhythm/forecast

1 credit · Secret key (test or live) · getBiorhythmForecast

Request body

  • birth_date string (date) required

    The date of birth. It is used for this response and not stored.

    e.g. "1990-08-13"

  • from string (date) required

    e.g. "1990-08-13"

  • days integer

    ≥ 1 · ≤ 366 · default 30

No other fields are accepted.

Response

JSON { data, meta, warnings }, where data is:

  • from string (date) required

    e.g. "1990-08-13"

  • count integer required
  • days array of object required
    • date string (date) required

      e.g. "1990-08-13"

    • physical number required
    • emotional number required
    • intellectual number required
    • critical array of string required

Errors: 400, 401, 403, 404, 422, 429, 500. See error codes.

Example request

curl -X POST 'https://api.astrologics.in/v1/biorhythm/forecast' \
  -H 'Authorization: Bearer al_test_YOUR_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"birth_date":"1990-05-15","from":"2026-11-02","days":7}'
Node.js
const res = await fetch("https://api.astrologics.in/v1/biorhythm/forecast", {
  method: "POST",
  headers: { Authorization: "Bearer al_test_YOUR_KEY", "Content-Type": "application/json" },
  body: JSON.stringify({
    "birth_date": "1990-05-15",
    "from": "2026-11-02",
    "days": 7
  }),
});
console.log(JSON.stringify(await res.json(), null, 2));
Python
import json
import urllib.error
import urllib.request

body = {
    "birth_date": "1990-05-15",
    "from": "2026-11-02",
    "days": 7,
}

req = urllib.request.Request(
    "https://api.astrologics.in/v1/biorhythm/forecast",
    method="POST",
    headers={"Authorization": "Bearer al_test_YOUR_KEY", "Content-Type": "application/json"},
    data=json.dumps(body).encode(),
)
try:
    with urllib.request.urlopen(req) as res:
        print(json.dumps(json.load(res), indent=2, ensure_ascii=False))
except urllib.error.HTTPError as err:
    print(err.code, err.read().decode())
PHP
<?php
$ch = curl_init('https://api.astrologics.in/v1/biorhythm/forecast');
curl_setopt_array($ch, [
    CURLOPT_CUSTOMREQUEST => 'POST',
    CURLOPT_HTTPHEADER => ['Authorization: Bearer al_test_YOUR_KEY', 'Content-Type: application/json'],
    CURLOPT_POSTFIELDS => '{"birth_date":"1990-05-15","from":"2026-11-02","days":7}',
    CURLOPT_RETURNTRANSFER => true,
]);
echo curl_exec($ch), PHP_EOL;

Example response

200 OK · 1,334 characters
{
  "data": {
    "from": "2026-11-02",
    "count": 7,
    "days": [
      {
        "date": "2026-11-02",
        "physical": 73.1,
        "emotional": -97.5,
        "intellectual": -75.6,
        "critical": []
      },
      {
        "date": "2026-11-03",
        "physical": 88.8,
        "emotional": -100,
        "intellectual": -86.6,
        "critical": []
      },
      {
        "date": "2026-11-04",
        "physical": 97.9,
        "emotional": -97.5,
        "intellectual": -94.5,
        "critical": []
      },
      {
        "date": "2026-11-05",
        "physical": 99.8,
        "emotional": -90.1,
        "intellectual": -99,
        "critical": []
      },
      {
        "date": "2026-11-06",
        "physical": 94.2,
        "emotional": -78.2,
        "intellectual": -99.9,
        "critical": []
      },
      {
        "date": "2026-11-07",
        "physical": 81.7,
        "emotional": -62.3,
        "intellectual": -97.2,
        "critical": []
      },
      {
        "date": "2026-11-08",
        "physical": 63.1,
        "emotional": -43.4,
        "intellectual": -91,
        "critical": []
      }
    ]
  },
  "meta": {
    "request_id": "req_example",
    "api_version": "v1",
    "engine_version": "2026.10.10",
    "mode": "live",
    "credits_charged": 1
  },
  "warnings": []
}
Try it

Leave empty to use the shared demo key (limited). Test keys only: never charged. Kept in this browser tab and sent through this site to the API. Create one

More in Biorhythm

Get a free API key Biorhythm product page