Skip to content
Fourohtwo

This looks like a test or demo endpoint, so it is left out of the directory and agents' search. It may not return anything useful.

Demo endpoint for 402scan

perps-funding-agent-production.up.railway.app/entrypoints/get402ScanTest/invoke

Demo endpoint for 402scan - returns BTC, ETH, SOL funding data

BaseUnchecked
POSThttp://perps-funding-agent-production.up.railway.app/entrypoints/get402ScanTest/invoke

UptimeNot checked yet

30 days agoToday

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("http://perps-funding-agent-production.up.railway.app/entrypoints/get402ScanTest/invoke", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"input":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{},"additionalProperties":false}}),
});
console.log(await res.json());

Example input

{
  "input": {
    "type": "object",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "properties": {},
    "additionalProperties": false
  }
}