On-chain anomaly detection
anomaly.forgemesh.io/api/sequence-anomaly
On-chain anomaly detection: scores the recent sequence of large exchange, bridge and stablecoin flow events on a chain for unusual patterns. POST JSON with domain (financial), chain (ethereum, base or arbitrum) and window (1h, 4h, 24h or 168h; 168h is not available on base). Returns JSON with sequence_score (0-100), novelty, story label, peak_window, historical_matches, events_collected, model_bas
POST
https://anomaly.forgemesh.io/api/sequence-anomalyUptime100% of 2 checks 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
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://anomaly.forgemesh.io/api/sequence-anomaly", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"chain":"ethereum","domain":"financial","window":"24h"}),
});
console.log(await res.json());Example input
{
"chain": "ethereum",
"domain": "financial",
"window": "24h"
}