# Order Flow Analysis for Crypto and Tokenized Stocks

> Order Flow Analysis for Crypto and Tokenized Stocks is a paid API for AI agents from api.marketintelligenceapi.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-12).

Returns real-time order flow metrics for a crypto pair or tokenized stock, including buy/sell volume, buy pressure, momentum, anomaly flags, and directional signals across 1m, 5m, or 15m windows.

## Facts

- Endpoint: GET https://api.marketintelligenceapi.com/api/v1/intelligence/order-flow/:symbol?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/order-flow-analysis-for-crypto-and-tokenized-stocks-d1d5b62d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9-b0HBZ8ZKnoCKfvJmj4X

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 order-flow-analysis-for-crypto-and-tokenized-stocks-d1d5b62d
```

Example prompt: What does the 5-minute order flow look like for ETHUSD right now — are buyers or sellers in control, and are there any anomaly flags?

## When to prefer this

Use this endpoint when you need real-time taker-side order flow intelligence — not just price — for supported crypto pairs or tokenized stocks. It is especially valuable for pre-trade bias confirmation, short-term momentum detection, and anomaly alerting. Prefer this over generic OHLCV endpoints when you want to understand who is in control (buyers vs sellers) based on on-chain swap data with baseline-relative volume context.

## Known failure modes

- Unsupported symbol returns an error or empty result — only listed pairs like ETHUSD, BTCUSD, NVDA, TSLA are supported
- Invalid window value (e.g. '30m') may return an error or default to 5m
- Payment failure (402) if USDC balance is insufficient
- Stale or missing data if on-chain swap activity is low for the symbol
- Rate limiting or timeout under high load

## How this service works

Order flow of a crypto or tokenized stock ($0.005): buy and sell volume from the taker side of on-chain swaps, buy pressure, momentum, volume versus its own baseline, anomaly flags and a signal for ETHUSD, BTCUSD, NVDA, TSLA and more, windows 1m, 5m or 15m. Use to see who is in control now.

## Output

A JSON object containing taker-side buy and sell volume, buy pressure ratio, momentum indicator, volume deviation versus the symbol's own baseline, anomaly flags (e.g. unusual spikes), and a directional signal — all computed over the requested aggregation window (1m, 5m, or 15m) for the specified symbol.

## 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": [
      "symbol"
     ],
     "properties": {
      "symbol": {
       "type": "string",
       "examples": [
        "ETHUSD"
       ],
       "description": "Crypto pair or tokenized stock, e.g. ETHUSD"
      }
     },
     "additionalProperties": false
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "window": {
       "type": "string",
       "default": "5m",
       "description": "Aggregation window, for example 1m, 5m or 15m"
      }
     },
     "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/order-flow-analysis-for-crypto-and-tokenized-stocks-d1d5b62d/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)
