Watch an x402 endpoint
watch_x402_endpointMonitor an x402 endpoint for downtime and changes to its payment challenge, price, network, scheme, or recipient. Target probes do not attach payment. Includes 7 days of polling. Costs $0.005 USDC per call via x402 (Base) — no API key, no account. Calling without payment returns 402 with the payment requirements. Free alternative: GET https://longwatch.dev/demo for a free NVDA Form 4 sample, or POST https://longwatch.dev/try for a 24h watch — no wallet needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public HTTP(S) payment endpoint URL, e.g. https://example.com/paid-api | |
| body | No | x402: optional JSON object for POST/PUT/PATCH/DELETE, e.g. {"type":"edgar","ticker":"NVDA"}; omit for GET/HEAD | |
| method | No | x402: HTTP method, default GET. POST/PUT/PATCH/DELETE can modify the target even without payment; use only on a target you are authorized to probe | |
| webhook | No | optional HTTPS endpoint for signed push alerts; polling still works | |
| expected_scheme | No | x402: optional expected scheme, e.g. exact | |
| idempotency_key | No | unique retry key; the same key and input return the original watch | |
| expected_network | No | x402: optional expected CAIP-2 network, e.g. eip155:8453 | |
| expected_amount_atomic | No | x402: optional expected token amount in atomic units, e.g. "1000" for 0.001 USDC |