# Hijri Date Converter

> Hijri Date Converter is a paid API for AI agents from api.qist.info, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-11).

Converts Gregorian dates to Hijri (Umm al-Qura calendar) and vice versa, returning day/month/year components along with Arabic and English month names and a formatted Arabic date string.

## Facts

- Endpoint: GET https://api.qist.info/api/hijri?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hijri-date-converter-6d12f13a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_an5x-jROF23a_5gu5Rz1s

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability hijri-date-converter-6d12f13a
```

Example prompt: What's the Hijri date for March 15, 2025? Give me the Arabic month name and the formatted Arabic date string.

## When to prefer this

Choose this endpoint when you need accurate Umm al-Qura Hijri calendar conversions with Arabic-language output (month names, formatted strings) for Islamic event planning, Arabic document generation, or scheduling around Ramadan, Hajj, or other Islamic occasions. Prefer this over generic date libraries when you need official Arabic month names and formatted Arabic date strings rather than just numeric equivalents.

## Known failure modes

- Invalid date format (non-YYYY-MM-DD or non-iYYYY-iMM-iDD) returns an error
- Dates outside supported Umm al-Qura calendar range may return errors or null values
- Missing required query params defaults to today's date (Gregorian to Hijri)
- Network or payment authorization failure results in 402 or 5xx errors

## How this service works

Convert Gregorian dates to Hijri (Umm al-Qura calendar) and back. Returns day/month/year, Arabic and English month names, and a formatted Arabic date string. Essential for agents handling Islamic events, Ramadan, Hajj seasons, or Arabic documents.

## Output

Returns a JSON object containing the converted date's Hijri day, month, and year components, the English and Arabic names of the Hijri month, and a fully formatted Arabic date string. When converting from Hijri to Gregorian, also returns the corresponding Gregorian date.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "date": {
       "type": "string",
       "description": "Gregorian date YYYY-MM-DD to convert to Hijri (default: today)"
      },
      "hijri": {
       "type": "string",
       "description": "Hijri date iYYYY-iMM-iDD to convert to Gregorian (overrides 'date')"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hijri-date-converter-6d12f13a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.qist.info](https://www.zero.xyz/host/api.qist.info/llms.txt)
