# Suverse Qibla Direction API

> Suverse Qibla Direction API is a paid API for AI agents from proxy.suverse.io, paid per call via x402, $0.06/call, status unknown (last checked 2026-09-14).

Returns the Qibla compass bearing in degrees from any geographic coordinate (lat/lng) toward the Kaaba in Mecca, using the Aladhan data source without requiring a key.

## Facts

- Endpoint: POST https://proxy.suverse.io/v1/data/suverse-rel-qibla-direction
- Price: $0.06/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/suverse-qibla-direction-api-ae7a2aba
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lSJZ6SCNrAcF13ZGIS3Ur

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 suverse-qibla-direction-api-ae7a2aba -d '<json body>'
```

Example prompt: What is the Qibla direction in degrees from latitude 40.7128 and longitude -74.0060 so I can build a prayer compass for New York City?

## When to prefer this

Choose this endpoint when you need a keyless, pay-per-call Qibla direction computation without setting up an Aladhan API account. Ideal for agents building prayer direction or Islamic compass features that need a single bearing value from any coordinate, especially in agentic workflows where managing API keys is undesirable.

## Known failure modes

- Invalid or out-of-range latitude/longitude values result in an error response
- Missing required body fields (lat/lng) cause a validation failure
- Service unavailability from upstream Aladhan data source may produce 5xx errors
- Payment failure via x402 protocol returns 402 Payment Required before any computation occurs

## How this service works

Qibla compass direction in degrees toward the Kaaba from any lat/lng. Keyless Aladhan. For agents building prayer-direction or compass features.

## Output

A numeric value representing the compass bearing in degrees (0–360) from the provided latitude/longitude coordinates pointing toward the Kaaba in Mecca, suitable for rendering on a compass or map overlay.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "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/suverse-qibla-direction-api-ae7a2aba/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from proxy.suverse.io](https://www.zero.xyz/host/proxy.suverse.io/llms.txt)
