> ## Documentation Index
> Fetch the complete documentation index at: https://docs-v2.ard.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Hijri date for a location

> Replies with a JSON object containing converted Hijri date



## OpenAPI

````yaml api-reference/pinpoint/openapi.json get /location/{id}/hijri/{date}
openapi: 3.0.1
info:
  title: Pinpoint API
  description: >-
    Weather forecast API providing hourly and daily forecasts, location
    information, and weather parameters
  version: 1.0.0
servers:
  - url: http://pinpoint.devops.arabiaweather.com
    description: Development API server
  - url: http://n01.pinpoint.devops.arabiaweather.com
    description: Development node n01
  - url: http://n02.pinpoint.devops.arabiaweather.com
    description: Development node n02
  - url: http://n03.pinpoint.devops.arabiaweather.com
    description: Development node n03
  - url: http://n04.pinpoint.devops.arabiaweather.com
    description: Development node n04
  - url: http://n05.pinpoint.devops.arabiaweather.com
    description: Development node n05
  - url: http://internal-tools-pinpoint.devops.arabiaweather.com
    description: Internal tools API server
security: []
tags:
  - name: forecast
  - name: parameters
  - name: location
  - name: admin
  - name: debug
paths:
  /location/{id}/hijri/{date}:
    get:
      tags:
        - location
      summary: Get Hijri date for a location
      description: Replies with a JSON object containing converted Hijri date
      parameters:
        - name: id
          in: path
          description: Location ID
          required: true
          example: ''
          schema:
            type: string
        - name: date
          in: path
          description: Date in ISO format (e.g., '2025-05-19')
          required: true
          example: ''
          schema:
            type: string
            format: date
      responses:
        '200':
          description: Hijri date information
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HijriDateResponse'
          headers: {}
        '400':
          description: Bad request (invalid date format)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          headers: {}
        '404':
          description: Location not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          headers: {}
      deprecated: false
      security: []
components:
  schemas:
    HijriDateResponse:
      type: object
      properties:
        day:
          type: integer
          description: Hijri day
        month:
          type: integer
          description: Hijri month
        monthName:
          type: object
          properties:
            en:
              type: string
              description: English month name
            ar:
              type: string
              description: Arabic month name
        year:
          type: integer
          description: Hijri year
      example:
        day: 22
        month: 11
        year: 1446
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
          description: Error message
        statusCode:
          type: integer
          description: HTTP status code
        statusMessage:
          type: string
          description: HTTP status message
      example:
        error: Location not found
        statusCode: 404
        statusMessage: Not Found

````