Api Endpoint

CoinOFut

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.

Open interactive test console

Offering

Provider
coinofut-compute.fly.dev
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://coinofut-compute.fly.dev/x402/compute/reading
MIME type
Not provided
First seen
2026-11-21T18:30:20.620Z
Last seen
Tags
Crypto, Derivatives, liquidations, analytics, compute

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.02 USDC
Atomic price: 20000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "20000",
    "payTo": "0x9b9FDeC2b6FA159D497eC5eA1d4ca474692De5f3"
  }
]

Observed health

Status
Healthy
Latest latency
181 ms
Average latency
172 ms
HTTP status
204
Last checked
Reachability
100% over 3 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "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 schema

{
  "properties": {
    "example": {
      "description": "Reading: regime, flow, funding, basis, quality, z-scores, thresholds (see documentation)",
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}