# Shabbat Times Lookup

> Shabbat Times Lookup is a paid API for AI agents from heb-utils-x402.hebutils-api.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-11).

Returns candle lighting and Havdalah times for a given location and date using latitude/longitude coordinates

## Facts

- Endpoint: GET https://heb-utils-x402.hebutils-api.workers.dev/shabbat?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/shabbat-times-lookup-8b497ef8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eJxa0Tf1JVDAkAUZnkOgK

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 shabbat-times-lookup-8b497ef8
```

Example prompt: What time is candle lighting and Havdalah this Friday in Jerusalem? The coordinates are 31.7683° N, 35.2137° E and the timezone is Asia/Jerusalem.

## When to prefer this

Use this endpoint when you need precise, pay-per-call Shabbat candle lighting and Havdalah times for any geographic coordinate worldwide. It is ideal for apps, agents, or workflows that need Shabbat time data without a monthly subscription, paying only $0.01 USDC per query via the x402 protocol on Base.

## Known failure modes

- Missing lat or lon parameters returns a 400/422 error
- Invalid coordinate values (out of range) may produce incorrect times or an error
- Unrecognized timezone string may fall back to UTC or return an error
- Invalid date format (non-YYYY-MM-DD) may cause a parsing error
- Network or worker timeout may return a 500 or 503 error
- Payment not fulfilled (x402 flow incomplete) returns a 402 Payment Required response

## How this service works

Pay-per-call utility APIs in USDC on Base: Hebrew calendar and text tools, Shabbat times, Base token control-risk screen and address summary, plus finance arithmetic tools. General information and arithmetic only; not investment, tax or legal advice and not a recommendation to buy, sell or hold anything.

## Output

Returns a JSON object with the Friday date, local candle lighting time, local Havdalah time, and the timezone string used for the calculation. Example: {"friday":"2026-10-16","timezone":"Asia/Jerusalem","havdalah_local":"18:46","candle_lighting_local":"17:49"}.

## 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": [
      "lat",
      "lon"
     ],
     "properties": {
      "tz": {
       "type": "string"
      },
      "lat": {
       "type": "string"
      },
      "lon": {
       "type": "string"
      },
      "date": {
       "type": "string",
       "description": "YYYY-MM-DD optional"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "friday": "2026-10-16",
  "timezone": "Asia/Jerusalem",
  "havdalah_local": "18:46",
  "candle_lighting_local": "17:49"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/shabbat-times-lookup-8b497ef8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from heb-utils-x402.hebutils-api.workers.dev](https://www.zero.xyz/host/heb-utils-x402.hebutils-api.workers.dev/llms.txt)
