# Events Weekday Counter

> Events Weekday Counter is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-01).

Counts the number of weekdays (Monday–Friday) between two dates, inclusive, tailored for events workflows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/business-days-events?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/events-weekday-counter-4c7aa7c4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_szs-3PwNwBbNTmxFqFk4C

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 events-weekday-counter-4c7aa7c4 -d '<json body>'
```

Example prompt: How many weekdays fall between January 5, 2026 and January 16, 2026, inclusive? I need this for event scheduling.

## When to prefer this

Choose this endpoint when you need a simple, reliable weekday count between two dates specifically in an events planning context and want a hosted, pay-per-call solution without implementing date logic yourself. Prefer it over general-purpose date libraries when operating inside an automated agent workflow that benefits from an external computation call with clear inputs and outputs.

## Known failure modes

- Invalid date format for start or end — expects ISO 8601 string (YYYY-MM-DD)
- End date before start date may return zero or an error
- Missing required start or end parameter causes a bad request
- Non-date strings passed as dates will result in a parse error

## How this service works

Events Weekday counter: Count weekdays between two dates, inclusive. Tailored for events workflows.

## Output

Returns the count of weekdays (Monday through Friday) between the supplied start and end dates, inclusive of both endpoints. Weekends are excluded from the count.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "end": {
   "type": "string",
   "default": "2026-01-16"
  },
  "start": {
   "type": "string",
   "default": "2026-01-05"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/events-weekday-counter-4c7aa7c4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
