{"uid":"cap_eav9jH8NM4gMyesuX1uda","slug":"x402-prayer-times-api-2645e820","name":"x402 Prayer Times API","description":"AI-agent-friendly APIs with instant micropayments via x402 protocol. No API keys, no accounts - just pay and access.","url":"https://x402-apis-eta.vercel.app/api/prayer-times","method":"GET","headers":{},"bodySchema":{"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)"}}},"responseSchema":null,"example":{"request":{"city":"London"},"response":{"city":"London","date":"12 Jun 2026","hijri":{"date":"26-12-1447","year":"1447","month":"Dhū al-Ḥijjah"},"extras":{"midnight":"01:01","lastthird":"02:15","firstthird":"23:46"},"country":"Europe","prayers":{"asr":"17:22","fajr":"02:26","isha":"22:48","dhuhr":"13:00","maghrib":"21:18","sunrise":"04:43"},"timezone":"Europe/London","fetched_at":"2026-06-12T04:58:48.378Z","calculation_method":"Umm Al-Qura University, Makkah"}},"exampleRequest":{"city":"London"},"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_PfFXekZ1bzAyRA-FVZaAb","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns Islamic prayer times for a given city and optional date, accessible via x402 micropayment with no API key required.","exampleAgentPrompt":"What are the Islamic prayer times in Karachi, Pakistan for today, 15-07-2025? I need all five daily prayer times.","exampleUseCases":null,"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:57:24.299Z","isFirstParty":false}