Skip to content
Fourohtwo

coinofut-compute.fly.dev/x402/compute/reading

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

BaseAnswering
POSThttps://coinofut-compute.fly.dev/x402/compute/reading

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://coinofut-compute.fly.dev/x402/compute/reading", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"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"}),
});
console.log(await res.json());

Example input

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

More from CoinOFut