---
title: "Batch market intelligence"
method: POST
path: "/api/v1/markets/intel/batch"
tags: ["Markets"]
---

# Batch market intelligence

`POST /api/v1/markets/intel/batch`

Returns smart-money market intelligence for 1-25 raw provider condition_id values. Results preserve request order, duplicate inputs return duplicate rows, and each item is charged one batch item unit before execution. Do not pass prefixed mkt_ IDs; use market.condition_id from search or explore.

## Request body

- object
  - `condition_ids` string[], required
  - `timeframe` '1h' | '4h' | '24h' | '7d'

## Response `200`

Ordered batch market intelligence results

- object
  - `object` 'market_intel_batch', required
  - `data` BatchMarketIntelItem[], required
    - `index` integer, required — Zero-based request index. Duplicate inputs keep separate result rows.
    - `input` string, required
    - `status` 'ok' | 'error', required
    - `data` MarketIntel
      - `market` object, required
        - `id` string, required
        - `condition_id` string, required
        - `title` string, required
        - `slug` string, nullable
        - `category` string, nullable
        - `platform` string, nullable
      - `sharp_money` object, required — Sharp-money flow aggregate for the market (canonical; smart_money is a deprecated byte-identical alias).
        - `net_flow_usd` number, required
        - `direction` 'YES' | 'NO', required
        - `token_id` string, nullable — The Polymarket CLOB token id (ERC1155 asset id, decimal string) for the net-flow direction outcome; null when unavailable (e.g. Kalshi markets, unsynced markets).
        - `whale_trade_count` integer, required
        - `buy_volume_usd` number, required
        - `sell_volume_usd` number, required
        - `top_positions` object[], required
          - `id` string, required
          - `address` string, required
          - `username` string, nullable
          - `grade` string, nullable
          - `side` 'YES' | 'NO', required
          - `token_id` string, nullable — The Polymarket CLOB token id (ERC1155 asset id, decimal string) for this outcome; null when unavailable (e.g. Kalshi markets, unsynced markets).
          - `size_usd` number, required
      - `smart_money` object, required — Deprecated alias of sharp_money; byte-identical and retained for backward compatibility.
        - `net_flow_usd` number, required
        - `direction` 'YES' | 'NO', required
        - `token_id` string, nullable — The Polymarket CLOB token id (ERC1155 asset id, decimal string) for the net-flow direction outcome; null when unavailable (e.g. Kalshi markets, unsynced markets).
        - `whale_trade_count` integer, required
        - `buy_volume_usd` number, required
        - `sell_volume_usd` number, required
        - `top_positions` object[], required
          - `id` string, required
          - `address` string, required
          - `username` string, nullable
          - `grade` string, nullable
          - `side` 'YES' | 'NO', required
          - `token_id` string, nullable — The Polymarket CLOB token id (ERC1155 asset id, decimal string) for this outcome; null when unavailable (e.g. Kalshi markets, unsynced markets).
          - `size_usd` number, required
      - `timeframe` string, required
    - `error` ApiErrorBody
      - `code` 'bad_request' | 'invalid_api_key' | 'subscription_required' | 'forbidden' | 'not_found' | 'account_locked' | 'rate_limited' | 'rate_limit_unavailable' | 'internal_error', required
      - `message` string, required
      - `doc_url` string, nullable
      - `param` string, nullable
      - `retry_at` string, date-time, nullable — The recommended next retry instant (RFC3339). Present on every retryable error (reason=pick_not_released, code=rate_limited, code=rate_limit_unavailable, reason=read_model_warming) and omitted otherwise. Always in the future. For pick_not_released: before the 11:00 UTC operating-window start, before a selected pick's stored release, or after a skipped day, it names the automatic system's next boundary. While no candidate exists in the live window it normally names the persisted next automatic selector attempt (~15m). Every value is advisory under supported operator actions: manual publication, release-time override, or admin generation can make a pick available first. When the automatic schedule is absent/due or a pick is overdue it degrades to ~60s. Schedule one request and do not poll. Prefer Retry-After for the duration because it is immune to client clock skew.
      - `reason` 'cursor_expired' | 'unknown_endpoint' | 'pick_not_released' | 'trader_not_tracked' | 'read_model_warming' | 'idempotency_in_progress' | 'webhook_delivery_in_progress', nullable — ADDITIVE (#7209). The specific, actionable cause behind `code`, when there is one more specific than the code itself. `code` keeps its published values, so existing clients are unaffected; new clients branch on `reason`. Omitted when the code already says everything we know. pick_not_released: no Pick of the Day is published for the current product day; schedule one request against retry_at instead of polling. unknown_endpoint: the PATH is not a route on this API -- read GET /api/v1, do not retry. trader_not_tracked: the wallet is real and the URL is right, but the trader is outside the HOT/WARM sync tiers -- stop asking for this wallet. cursor_expired: pagination went stale mid-walk -- re-request the first page and continue. read_model_warming: the requested endpoint cannot serve its read model yet; exact causes are endpoint-specific and can include a cold or contended refresh or a dependency that prevented refresh. idempotency_in_progress: retain the exact Idempotency-Key and request body, then retry shortly. webhook_delivery_in_progress: retry the URL or signing-secret configuration change after the destination's active request completes.
  - `meta` BatchResponseMeta, required
    - `request_id` string, required
    - `cached` boolean, required
    - `total_items` integer, required
    - `successful_items` integer, required
    - `failed_items` integer, required
    - `request_cost` integer, required — Number of batch item units reserved before execution.
    - `rate_limit` BatchRateLimitMeta, required
      - `basis` 'batch_items_per_minute', required
      - `limit` integer, required
      - `remaining` integer, required
      - `reset` integer, required — Unix timestamp when the batch item window resets.

## Other responses

- `400` — Invalid request parameter
- `401` — Missing or invalid API key
- `402` — Active Pro subscription required
- `403` — Account access denied
- `408` — Request exceeded the server's 30-second transport timeout. The timeout response has an empty body because it is generated before handler-level JSON error shaping.
- `423` — Account is locked
- `429` — Rate limit exceeded. Two independent budgets. (1) 100 requests/minute per user (sliding window), on every authenticated route. (2) On the BATCH routes only: 2500 batch item units/minute per user, reserved before any item is executed. A batch with N requested items costs N item units, including duplicate and invalid items. 2500 = 100 requests x 25 items per batch, which is the most item work a key can buy through the request limiter at all: a caller may spend their entire 100-request minute on full 25-item batches without the item budget being what stops them. The REQUEST budget is the effective ceiling, and batching is never the more expensive choice. The item budget can still deny at a sliding-window boundary (both counters carry the previous window forward with a floor, and the item counter runs 25x the request counter), so honor a 429 from either. Over-quota batches return 429 with Retry-After before any item work is done.
- `500` — Unexpected server error
- `503` — Redis-backed authenticated rate limiter unavailable; retry after the per-process outage cooldown

---

[API](https://skmtc.net/0xinsider/apis/0xinsider-api.md) · [All operations](https://skmtc.net/0xinsider/apis/0xinsider-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/0xinsider/0xinsider-api/versions/918e082b045a/schema)
