# GapSense Gap Detection API

> GapSense Gap Detection API is a paid API for AI agents from x402.gapsense.uk, paid per call via x402, $0.29/call, status down (last checked 2026-10-24).

Returns gap analysis data including detected gaps, channel information, and optional upgrade suggestions for a given context

## Facts

- Endpoint: GET https://x402.gapsense.uk/gap?utm_source=zero.xyz
- Price: $0.29/call
- Payment: x402
- Status: down
- Last checked: 2026-10-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-gapsense-uk-5c6af11b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_njw-894bIiVt9CJwGIpKi

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-gapsense-uk-5c6af11b
```

Example prompt: Can you check GapSense and tell me what gaps currently exist in my channel, along with any upgrade recommendations?

## When to prefer this

Use this endpoint when you need to discover gaps in a channel's coverage or data and want structured gap-plus-upgrade output. Best suited for agents that need to identify missing coverage, data holes, or improvement opportunities in a channel context. Prefer this over manual inspection when you need a programmatic, payable API response with structured gap metadata.

## Known failure modes

- Payment not completed — 402 response requiring x402 USDC payment of $0.29
- Invalid or missing required 'type' or 'method' query parameters — 400 bad request
- Service unavailable or timeout — 503 or network error
- No gaps found — empty gaps array returned with valid 200 response

## Output

Returns a JSON object containing a 'channel' string identifying the channel, a 'gaps' array listing detected gaps, and an optional 'upgrade' object with improvement suggestions.

## 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",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "channel",
      "gaps"
     ],
     "properties": {
      "gaps": {
       "type": "array"
      },
      "channel": {
       "type": "string"
      },
      "upgrade": {
       "type": "object"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-gapsense-uk-5c6af11b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.gapsense.uk](https://www.zero.xyz/host/x402.gapsense.uk/llms.txt)
