# claw402 — Vergex Flow Markets API

> claw402 — Vergex Flow Markets API is a paid API for AI agents from claw402.ai, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Retrieves flow market data from the Vergex trading platform, filterable by chain, limit, and time window, paid per-call via USDC using the x402 protocol.

## Facts

- Endpoint: GET https://claw402.ai/api/v1/vergex/flow-markets
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/claw402-vergex-flow-markets-api-c77da6f3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1aH4bX6hdHaJUDgICAV-F

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 claw402-vergex-flow-markets-api-c77da6f3
```

Example prompt: Show me the latest flow markets on Ethereum from Vergex — give me the top 10 results from the last 24-hour window.

## When to prefer this

Choose this endpoint when you need on-chain flow market data from the Vergex trading platform and want to pay per-call in USDC without registering for an API key. Ideal for agents that operate autonomously with a crypto wallet and need lightweight, pay-as-you-go market data access. Prefer this over traditional REST APIs requiring OAuth or static API keys when building permissionless DeFi-native workflows.

## Known failure modes

- Empty data array returned if no markets match the specified chain or window
- Invalid chain value may return an error or empty result
- Payment failure via x402 protocol if wallet balance is insufficient
- Malformed query parameters may be silently ignored or cause a non-zero code response
- Rate limiting or payment processing delays may cause slow or failed responses

## How this service works

Backed by vergex.trade. Pay for any API with USDC. No API keys. No registration. Just a wallet.

## Output

Returns a JSON object with a status code (field 'code') and a 'data' array containing flow market entries. The data array may include market identifiers, chain info, and trading flow metrics, though specific field names are not documented in the schema example.

## 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": {
      "chain": {
       "type": "string"
      },
      "limit": {
       "type": "string"
      },
      "window": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "code": 0,
  "data": []
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/claw402-vergex-flow-markets-api-c77da6f3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from claw402.ai](https://www.zero.xyz/host/claw402.ai/llms.txt)
