Skip to main content
POST
cURL
Use Batch market flow at /api/v1/markets/flow/batch in new clients. This older route remains available for existing integrations. Responses include Deprecation and Link headers that identify the replacement route.

Parameters

The route accepts the same parameters as Batch market flow. The OpenAPI section below lists them.

Key response fields

The response data matches Batch market flow. The envelope uses object: "market_intel_batch"; the replacement uses object: "market_flow_batch".

What it does not return

This route adds no data beyond the replacement endpoint. Follow its documentation for field meanings, errors, pagination, and any caching behavior.

Authorizations

Authorization
string
header
required

Legacy default or named integration API key, or OAuth 2.1 access token, in the Authorization header as Bearer oxi_sk_live_... or Bearer oxi_at_.... Default keys retain full access; integration keys are limited to their approved read, webhooks, export and usage scopes and expire within 90 days. All credentials share the owner's account limits. Data calls require an active Pro subscription and return live data. A 401 carries WWW-Authenticate: Bearer resource_metadata="https://api.0xinsider.com/.well-known/oauth-protected-resource" (RFC 6750 section 3, RFC 9728).

Headers

X-Query-Validation
enum<string>

Opt into strict query-name validation. The default is compatible: unknown names are ignored and reported in X-Query-Ignored. With strict, an unknown name returns 400 bad_request with error.reason unknown_query_parameter before the handler runs, including when its percent escape is incomplete.

Available options:
strict

Body

application/json

Batch market-intelligence request. Supply 1-25 condition IDs and an optional shared timeframe.

condition_ids
string[]
required

Market condition IDs to resolve in input order.

Required array length: 1 - 25 elements
timeframe
enum<string>
default:24h

Lookback window used for flow and trade-count context.

Available options:
1h,
4h,
24h,
7d

Response

Ordered batch market intelligence results

object
string
required
Allowed value: "market_intel_batch"
data
object[]
required
meta
object
required