sinikoding
hijri-convert87

Hijri Date Converter

Convert between Gregorian and Hijri dates using the tabular Islamic calendar.

POST /api/v1/hijri-convert
API version
v1
Output schema
1

The endpoint path is always /v1. The schema number below tracks this tool's output shape and changes independently.

Create a free account

Parameters

ParameterTypeRequiredDefault
datetextno
directionto-hijri | to-gregoriannoto-hijri

Request

curl -X POST https://sinikoding.dev/api/v1/hijri-convert \
  -H 'content-type: application/json' \
  -H 'x-api-key: tk_live_…' \
  -d '{"date":"…","direction":"to-hijri"}'

Returns

"output": { "kind": "table", "columns": ["…"], "rows": [["…"]] }
Try it

Calls a same-origin sandbox endpoint, not /api/v1. No key needed, capped at 15 requests a minute.

Request

curl -X POST https://sinikoding.dev/api/v1/hijri-convert \
  -H 'content-type: application/json' \
  -H 'x-api-key: tk_live_…' \
  -d '{"date":"","direction":"to-hijri"}'

Response

Send a request to see the response.
Open the web version