Use when an agent must be told when something changes
1gateway.dev/v1/watch
Use when an agent must be told when something changes. Input: type (price, balance, stablecoin_transfer, filing, insider_trade, hl_position, sanctions, web_status), target, condition, days 7-30, optional webhook. Output: id, one-time secret, poll URL. Checked every 5-60 min; events by poll or HMAC-signed webhook. $0.002/day ($0.004 web_status), paid once. Best-effort, no SLA; not refunded. Example
GET
https://1gateway.dev/v1/watchUptime100% of 3 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://1gateway.dev/v1/watch?address=0x6246eee0355Dd7A93C888fE59e1151388A0cC5a1&below=2000&chain=base&cik=320193&corp=005930&days=7&items=2.02&min_usd=1000000&side=buy&symbol=ETH&ticker=AAPL&token=USDC&type=price&url=https%3A%2F%2Fexample.com&webhook=https%3A%2F%2Fexample.com%2Fhooks%2F1gateway");
console.log(await res.json());Example input
{
"address": "0x6246eee0355Dd7A93C888fE59e1151388A0cC5a1",
"below": "2000",
"chain": "base",
"cik": "320193",
"corp": "005930",
"days": "7",
"items": "2.02",
"min_usd": "1000000",
"side": "buy",
"symbol": "ETH",
"ticker": "AAPL",
"token": "USDC",
"type": "price",
"url": "https://example.com",
"webhook": "https://example.com/hooks/1gateway"
}