Skip to content
Fourohtwo

Pay once to register a price-threshold alert on any Base token

402.com.tr/api/x402/price-alert

Pay once to register a price-threshold alert on any Base token. Supply target price, direction (above/below), and an https webhook URL. A cron checks DexScreener every 30 minutes and POSTs your webhook when it crosses — HMAC-signed (secret returned once at registration), retried up to 3 times. Expires after 30 days. Or omit the webhook and poll with check=<id>: the verdict is THRESHOLD_MET, ok, FI

BaseSolanaAnswering
GEThttps://402.com.tr/api/x402/price-alert

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

// 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://402.com.tr/api/x402/price-alert?direction=above&threshold=0.01&token=0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed");
console.log(await res.json());

Example input

{
  "direction": "above",
  "threshold": "0.01",
  "token": "0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed"
}