# x402-local Business Hours Lookup

> x402-local Business Hours Lookup is a paid API for AI agents from x402-local.husquatch.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Retrieves OpenStreetMap opening hours and current open/closed status for a named local business by name and location.

## Facts

- Endpoint: GET https://x402-local.husquatch.workers.dev/hours
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-local-business-hours-lookup-b42a6c0b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZaLm7kUEuS0ceUtI2lpyK

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-local-business-hours-lookup-b42a6c0b
```

Example prompt: Can you check if Whole Foods in Austin, Texas is open right now and what their hours are?

## When to prefer this

Use this endpoint when you need quick, pay-per-call opening hours or open/closed status for a named local business and want OSM-sourced data without setting up a full Places API integration. Prefer this over Google Places or Yelp when cost per call matters ($0.01 USDC), no API key setup is desired, or you need machine-readable hours for autonomous agent workflows. Best for point-in-time checks of a single business rather than bulk lookups.

## Known failure modes

- Business not found in OSM (found: false, all other fields null)
- Ambiguous business name matches wrong location — recommend passing lat/lon for precision
- OSM data may be outdated or incomplete for the queried business
- openNow may be null if opening hours data is missing from OSM
- City string format may not resolve correctly — try 'City,State' format or use lat/lon instead

## How this service works

Pay-per-call local business data for AI agents: local-pack rank snapshots and OSM opening hours.

## Output

Returns a JSON object indicating whether the business was found in OSM, the business name as matched, whether it is currently open (openNow boolean or null if unknown), and a formatted opening hours string (e.g. 'Mo-Fr 09:00-18:00; Sa 10:00-16:00') or null if not available. Also includes a _meta object with additional metadata.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "name"
 ],
 "properties": {
  "lat": {
   "type": "number"
  },
  "lon": {
   "type": "number"
  },
  "city": {
   "type": "string",
   "description": "City for the lookup, e.g. \"Springfield,Missouri\" (or pass lat+lon)"
  },
  "name": {
   "type": "string",
   "description": "Business name to look up"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "found"
 ],
 "properties": {
  "name": {
   "type": [
    "string",
    "null"
   ]
  },
  "_meta": {
   "type": "object"
  },
  "found": {
   "type": "boolean"
  },
  "openNow": {
   "type": [
    "boolean",
    "null"
   ]
  },
  "openingHours": {
   "type": [
    "string",
    "null"
   ]
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-local-business-hours-lookup-b42a6c0b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-local.husquatch.workers.dev](https://www.zero.xyz/host/x402-local.husquatch.workers.dev/llms.txt)
