# SwapHunt Breakout Validator

> SwapHunt Breakout Validator is a paid API for AI agents from x402.swaphunt.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Checks whether a price breakout from a given level is real or a fakeout by analyzing volume confirmation, time held, and fakeout probability.

## Facts

- Endpoint: GET https://x402.swaphunt.dev/v1/sanity/is-this-a-breakout
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/swaphunt-breakout-validator-97124788
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kjreuuJH08KlxiLhYR-DI

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 swaphunt-breakout-validator-97124788
```

Example prompt: Is BTC's breakout above the $97,500 level real or a fakeout? Check upward direction against USDT.

## When to prefer this

Use this endpoint when you need a fast, structured signal to validate whether a price breakout from a specific level is genuine before entering a trade. Prefer this over manual chart analysis when automating trading decision workflows or when you need a probability-weighted fakeout score rather than a binary signal.

## Known failure modes

- Missing required 'level' parameter returns a 400 error
- Invalid symbol or quote currency returns an error or empty result
- Payment required (402) if x402 micropayment header is missing
- Level not recently tested may return low-confidence or null result

## How this service works

Is a breakout from a given level real or a fakeout? Checks volume confirmation, time held above/below, and fakeout probability. Use to validate a breakout before chasing it. Requires the level to test.

## Output

Returns a breakout assessment including volume confirmation status, how long price has held above/below the level, and a fakeout probability score to help decide whether to enter or avoid the trade.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "level"
     ],
     "properties": {
      "level": {
       "type": "number",
       "description": "Price level to check breakout from"
      },
      "quote": {
       "type": "string",
       "default": "USDT",
       "description": "Quote currency (USDT, USDC, EUR)"
      },
      "symbol": {
       "type": "string",
       "default": "BTC",
       "description": "Asset symbol (BTC, ETH, SOL)"
      },
      "direction": {
       "type": "string",
       "default": "up",
       "description": "Breakout direction (up/down)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/swaphunt-breakout-validator-97124788/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.swaphunt.dev](https://www.zero.xyz/host/x402.swaphunt.dev/llms.txt)
