# Delx Commerce — Time Series Gap Scanner

> Delx Commerce — Time Series Gap Scanner is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-01).

Scans an array of timestamps for gaps larger than an expected interval, returning each gap's start, end, and duration in seconds

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/time-series-gap-scan?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-time-series-gap-scanner-d2b47729
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_quDhlukY59UUGv4A882ep

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 delx-commerce-time-series-gap-scanner-d2b47729 -d '<json body>'
```

Example prompt: I have this list of hourly sensor timestamps and I want to know if there are any gaps longer than 3600 seconds — can you scan them and tell me exactly where the missing windows are?

## When to prefer this

Use this endpoint when you need a fast, pay-per-call check for temporal gaps in a list of timestamps without standing up your own time-series validation logic. Ideal for agents doing data-quality checks, pipeline audits, or sensor monitoring where signup friction and recurring subscriptions are undesirable.

## Known failure modes

- Missing or empty timestamps array returns an error or empty result
- Non-ISO-8601 or unparseable timestamp strings cause parsing failures
- expected_seconds of zero or negative may produce undefined behavior
- Very large timestamp arrays may cause truncated=true in the response
- Network or payment failure results in no response

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

Returns a JSON object containing a list of detected gaps (each with 'after', 'before', and 'seconds' fields), the total gap count, the count of valid timestamps processed, the expected interval used, a schema identifier, and a 'truncated' boolean indicating if the result was capped.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "timestamps": {
   "type": "array",
   "description": "Input field: timestamps."
  },
  "expected_seconds": {
   "type": "number",
   "description": "Input field: expected_seconds."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "gaps": [
   {
    "after": "2026-08-05T10:00:00+00:00",
    "before": "2026-08-05T12:00:00+00:00",
    "seconds": 7200
   }
  ],
  "schema": "delx/util-time-series-gap-scan/v1",
  "gap_count": 1,
  "truncated": false,
  "expected_seconds": 3600,
  "valid_timestamp_count": 2
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-time-series-gap-scanner-d2b47729/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
