Price alert check: whether an asset moved past your threshold from a reference price
Price alert check: whether an asset moved past your threshold from a reference price
1000 (raw units)
price
2
calls / 30d
1
unique payers
2026-09-09
updated
Provider
agenttoll.app · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xe55359021a6a22d8385b827405991c56075f56f8",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "1000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"pathParams": {
"symbol": "eth"
},
"queryParams": {
"pct": 2,
"ref": 1900
},
"type": "http"
},
"output": {
"example": {
"assumptions": [],
"at": "2026-08-05T13:31:58.678Z",
"changePct": -1.7221,
"direction": "down",
"priceObservedAt": "2026-08-05T13:31:58.678Z",
"quoteCurrency": "USD",
"ref": 1900,
"source": "coingecko",
"symbol": "eth",
"thresholdPct": 2,
"triggered": false,
"usd": 1867.28
},
"type": "json"
}
},
"routeTemplate": "/api/watch/price/:symbol",
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"pathParams": {
"properties": {
"symbol": {
"description": "Ticker or CoinGecko id",
"type": "string"
}
},
"required": [
"symbol"
],
"type": "object"
},
"queryParams": {
"properties": {
"pct": {
"description": "Threshold in percent, default 2",
"type": "number"
},
"ref": {
"description": "Reference price in USD to compare against",
"type": "number"
}
},
"required": [
"ref"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://agenttoll.app/api/watch/price/:symbol" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://agenttoll.app/api/watch/price/:symbol");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://agenttoll.app/api/watch/price/:symbol")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/4011.json, and this resource appears in /discovery/resources and /discovery/search.