# Market Intelligence API – Token DEX Trade Flow Intelligence

> Market Intelligence API – Token DEX Trade Flow Intelligence is a paid API for AI agents from api.marketintelligenceapi.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-10).

Returns live on-chain DEX trade flow analytics for a given token contract address (Base, Arbitrum, or Optimism), including buy/sell volumes, price change, trader concentration, and a market verdict for the last hour.

## Facts

- Endpoint: GET https://api.marketintelligenceapi.com/api/v1/intelligence/token/:address?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/market-intelligence-api-token-dex-trade-flow-intelligence-6c5e973e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YR5GoOykysD1VzWCIEwiq

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 market-intelligence-api-token-dex-trade-flow-intelligence-6c5e973e
```

Example prompt: What's the live on-chain trade flow for token contract 0x4200000000000000000000000000000000000006 on Base — is it being accumulated or distributed right now, and what's the buy pressure?

## When to prefer this

Choose this endpoint when you need real-time, on-chain DEX trade signal data for a specific token on Base, Arbitrum, or Optimism — particularly when you want a structured verdict (ACCUMULATION, DISTRIBUTION, BALANCED, ILLIQUID_OR_INACTIVE) rather than raw price feeds. It is ideal for pre-trade due diligence, detecting whale activity or trader concentration, and assessing whether a token is liquid enough to trade. It is not suitable for off-chain CEX price data, historical data beyond one hour, or token networks outside Base, Arbitrum, and Optimism.

## Known failure modes

- Invalid or non-existent contract address returns an error or empty result
- Unsupported chain value (not base, arbitrum, or optimism) returns a validation error
- Token with no trades in the last hour returns ILLIQUID_OR_INACTIVE verdict
- Rate limiting if too many unique addresses are queried rapidly; requests within 45s share a cached read
- Network or RPC read failure may cause transient errors

## How this service works

Token trade flow and DEX volume by contract address (Base by default; chain=ethereum, arbitrum, optimism or polygon): last-hour swaps, buy and sell volume in USD, buy pressure, price change, largest trade, trader concentration and a verdict (ACCUMULATION, DISTRIBUTION, BALANCED, ILLIQUID_OR_INACTIVE). Read live from the chain; repeat requests within 45 s share one read.

## Output

A JSON object containing: number of swaps, buy and sell volume in USD, buy pressure ratio, percentage price change, size of the largest trade, trader concentration metric, supported chain, and a categorical market verdict (ACCUMULATION, DISTRIBUTION, BALANCED, or ILLIQUID_OR_INACTIVE) for the past hour of on-chain DEX activity.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "address": {
       "type": "string",
       "examples": [
        "0x940181a94a35a4569e4529a3cdfb74e38fd98631"
       ],
       "description": "Any ERC-20 contract address (0x...) on the chain given by ?chain (base, ethereum, arbitrum, optimism or polygon)."
      }
     },
     "additionalProperties": false
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "chain": {
       "enum": [
        "base",
        "ethereum",
        "arbitrum",
        "optimism",
        "polygon"
       ],
       "type": "string",
       "default": "base",
       "description": "Chain the token lives on: base, ethereum, arbitrum, optimism or polygon. Not the payment network: payment networks are in x-payment-info.networks."
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "description": "Example JSON response returned by this endpoint"
    }
   },
   "additionalProperties": true
  }
 },
 "additionalProperties": false
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/market-intelligence-api-token-dex-trade-flow-intelligence-6c5e973e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.marketintelligenceapi.com](https://www.zero.xyz/host/api.marketintelligenceapi.com/llms.txt)
