# AgentKit SLA Business Hours Calculator

> AgentKit SLA Business Hours Calculator is a paid API for AI agents from api.firstmention.uk, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-20).

Calculates remaining business hours and determines whether a deadline falls within business hours for a given timezone and promise time

## Facts

- Endpoint: POST https://api.firstmention.uk/s/agentkit/sla?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentkit-sla-business-hours-calculator-2b6e6f54
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jXTGtDTbSvoNwrki6Q8tt

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 agentkit-sla-business-hours-calculator-2b6e6f54 -d '<json body>'
```

Example prompt: How many business hours do I have left before my promise time of 2025-06-01T17:00:00 if I'm starting from 2025-05-30T09:00:00 in the America/New_York timezone, and does the deadline fall within business hours?

## When to prefer this

Use this endpoint when you need to calculate SLA compliance windows, determine if a customer promise or deadline falls within working business hours, or compute the number of business hours/minutes remaining before a commitment is due — especially when timezone awareness is critical. Prefer this over generic date-diff tools when business-day logic (Mon-Fri, 9am-5pm) matters for the calculation.

## Known failure modes

- Invalid timezone string causes error or unexpected behavior
- Malformed datetime strings for 'from' or 'promise' fields
- Promise time in the past relative to 'from' may return zero or negative minutes
- Missing required fields may result in null or error responses
- Non-business-day promise times may return zero business minutes remaining

## How this service works

Pay-per-call HTTP APIs, paid with x402 in USDC on Base (eip155:8453): agentkit, api-change-check, basedue, bizcal-api, chainread, check-sanctions, chgwatch, company-facts, domain-intel, domainkit, domfacts, due, edgar, funding-rates, fundinglens, pageaudit, solcheck, token-dd, txpreflight, walletprofile, web-extract, webmd, webread, websearch, x402-preflight, x402check, x402index. Each operation describes its service.

## Output

Returns a JSON object with the timezone, business hours definition (start/end times and working days), the number of business minutes remaining until the promise deadline, and a boolean flag indicating whether the deadline falls within business hours.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "tz": {
   "type": "string"
  },
  "from": {
   "type": "string"
  },
  "promise": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "tz": "America/New_York",
  "business_hours": {
   "end": "17:00",
   "days": "Mon-Fri",
   "start": "09:00"
  },
  "business_minutes_remaining": 480,
  "deadline_in_business_hours": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentkit-sla-business-hours-calculator-2b6e6f54/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.firstmention.uk](https://www.zero.xyz/host/api.firstmention.uk/llms.txt)
