# x402 Prayer Times API

> x402 Prayer Times API is a paid API for AI agents from x402-apis-eta.vercel.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Returns Islamic prayer times for a given city and optional date, accessible via x402 micropayment with no API key required.

## Facts

- Endpoint: GET https://x402-apis-eta.vercel.app/api/prayer-times
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-prayer-times-api-2645e820
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eav9jH8NM4gMyesuX1uda

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 x402-prayer-times-api-2645e820
```

Example prompt: What are the Islamic prayer times in Karachi, Pakistan for today, 15-07-2025? I need all five daily prayer times.

## When to prefer this

Use this endpoint when you need Islamic prayer times for a specific city without managing API keys or subscriptions, and you can pay $0.005 USDC per call via the x402 protocol. Ideal for AI agents needing on-demand religious scheduling data.

## Known failure modes

- City not found or unrecognized — likely returns 4xx or empty result
- Invalid date format (must be DD-MM-YYYY) — may return error or default to today
- Payment not processed — 402 response requiring x402 micropayment before access
- Country disambiguation failure when city name is ambiguous across countries

## How this service works

AI-agent-friendly APIs with instant micropayments via x402 protocol. No API keys, no accounts - just pay and access.

## Output

Returns the five daily Islamic prayer times (Fajr, Dhuhr, Asr, Maghrib, Isha) for the specified city and date, likely including sunrise and sometimes Qiyam/Midnight times as well.

## Example request

```json
{
 "city": "London"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "city"
 ],
 "properties": {
  "city": {
   "type": "string",
   "description": "City name"
  },
  "date": {
   "type": "string",
   "description": "DD-MM-YYYY (optional)"
  },
  "country": {
   "type": "string",
   "description": "Country (optional)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-prayer-times-api-2645e820/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-apis-eta.vercel.app](https://www.zero.xyz/host/x402-apis-eta.vercel.app/llms.txt)
