# SwapHunt Weekend Liquidity Context

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

Returns whether the current time falls in a weekend or low-liquidity window, plus a 0-100 liquidity score for the current market session.

## Facts

- Endpoint: GET https://x402.swaphunt.dev/v1/context/weekend-liquidity
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/swaphunt-weekend-liquidity-context-0474efe4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lRx2m0CyXzmq1SA03KGim

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-weekend-liquidity-context-0474efe4
```

Example prompt: Check if we're currently in a weekend or low-liquidity window and give me the liquidity score so I know whether to widen my stops or discount this price move.

## When to prefer this

Use this endpoint when an agent or trading system needs a quick, cheap ($0.001) real-time check on whether current market conditions are thin — specifically for weekend sessions or off-hours low-liquidity windows — before executing trades, sizing positions, or interpreting price volatility. Prefer over full OHLCV data pulls when only a lightweight liquidity context signal is needed.

## Known failure modes

- Service unavailable (5xx) if the backend is down
- Payment required (402) if USDC micropayment is not included
- Stale or cached data if the time-sensitive session boundary falls near a transition

## How this service works

Is it a weekend / low-liquidity window right now? Returns the current session and a 0-100 liquidity score. Use to widen stops and discount thin-market moves. Lightweight market-condition context.

## Output

Returns the current market session label and a numeric liquidity score from 0 to 100, along with a boolean or flag indicating whether it is currently a weekend or low-liquidity window. Useful for calibrating trade risk parameters in real time.

## 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",
     "properties": {}
    }
   },
   "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-weekend-liquidity-context-0474efe4/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)
