Market regime reading for a perpetual futures market, computed from the candles
Market regime reading for a perpetual futures market, computed from the candles and open interest YOU send (no market data is supplied). Returns the price x open interest regime, spot vs perp taker flow, funding class, perp/spot basis, move quality and robust z-scores, with the thresholds used. Deterministic and rule-based: same input, same output. Not investment advice. No charge on invalid input or insufficient history.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://coinofut-compute.fly.dev/x402/compute/reading
| Category | Market data |
|---|---|
| Provider host | coinofut-compute.fly.dev |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 2 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
We never call tools that send, buy, move money or file anything, not even without paying.
Example input (from the provider)
{
"body": {
"oi": [
[
1793667600000,
81250.4
],
[
1793671200000,
81710.9
]
],
"perp": [
[
1793664000000,
68000,
68400,
67900,
68250,
152000000,
80100000
],
[
1793667600000,
68250,
68600,
68100,
68500,
141000000,
75300000
],
[
1793671200000,
68500,
68700,
68200,
68300,
120000000,
57800000
]
],
"tf": "1h"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"asOf": {
"description": "Computation time (ms UTC), within the last candle; default: its close time",
"type": "integer"
},
"funding": {
"additionalProperties": false,
"properties": {
"history": {
"items": {
"type": "number"
},
"maxItems": 1000,
"type": "array"
},
"intervalHours": {
"default": 8,
"enum": [
1,
2,
4,
8
],
"type": "integer"
},
"rate": {
"maximum": 0.1,
"minimum": -0.1,
"type": "number"
}
},
"required": [
"rate"
],
"type": "object"
},
"liquidations": {
"additionalProperties": false,
"properties": {
"events": {
"items": {
"description": "[t, \"long\"|\"short\" (liquidated side), price, usd]",
"maxItems": 4,
"minItems": 4,
"type": "array"
},
"maxItems": 5000,
"type": "array"
},
"since": {
"description": "Start of observation (ms UTC)",
"type": "integer"
}
},
"required": [
"since",
"events"
],
"type": "object"
},
"lookback": {
"default": 12,
"description": "Window in candles",
"maximum": 96,
"minimum": 3,
"type": "integer"
},
"oi": {
"description": "Open interest points, strictly increasing time",
"items": {
"description": "[time ms UTC, open interest in contracts]",
"items": {
"type": "number"
},
"maxItems": 2,
"minItems": 2,
"type": "array"
},
"maxItems": 5000,
"minItems": 2,
"type": "array"
},
"perp": {
"description": "Perpetual candles, contiguous, oldest first",
"items": {
"description": "[openTime ms UTC, open, high, low, close, quoteVolume, takerBuyQuoteVolume]",
"items": {
"type": "number"
},
"maxItems": 7,
"minItems": 7,
"type": "array"
},
"maxItems": 1000,
"minItems": 2,
"type": "array"
},
"spot": {
"description": "Spot candles on the same grid (optional)",
"items": {
"description": "[openTime ms UTC, open, high, low, close, quoteVolume, takerBuyQuoteVolume]",
"items": {
"type": "number"
},
"maxItems": 7,
"minItems": 7,
"type": "array"
},
"maxItems": 1000,
"minItems": 11,
"type": "array"
},
"spotMult": {
"description": "Contract multiplier vs spot (e.g. 1000), requires spot",
"exclusiveMinimum": 0,
"type": "number"
},
"tf": {
"description": "Candle interval",
"enum": [
"1m",
"5m",
"15m",
"1h",
"4h"
],
"type": "string"
}
},
"required": [
"tf",
"perp",
"oi"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"description": "Reading: regime, flow, funding, basis, quality, z-scores, thresholds (see documentation)",
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}