x402 service change events
x402_change_eventsCall this before you trust anything you cached about a service, and right after a payment failed for no obvious reason: the monitor's log of what moved under you. Returns payTo, price and 402-schema changes observed on listed services, most recent first, in exactly three event types (payto_changed, price_changed, schema_changed). Filter with service (the slug), type, and days (1 to 365, default 90). Caveats: prices here are atomic token amounts, never dollars, and every payTo is masked by design, so the feed reports THAT the payout address changed, never the address. Free and read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Lookback window in days, 1 to 365 (default 90). Events older than the window are not in the feed. | |
| page | No | 1-based page index into the filtered event set (see total_pages). | |
| type | No | Restrict to one kind of change: 'payto_changed' (the payout address set changed), 'price_changed' (at least one endpoint's price changed), 'schema_changed' (the 402 envelope gained or lost accepts entries or priced endpoints). Omit for all three. | |
| service | No | Service slug to restrict the feed to, e.g. 'exa' (the same slug x402_get_service takes). Omit for changes across every listed service. | |
| per_page | No | Events per page, 1 to 100 (default 25). Each event carries the full before/after envelope snapshots, so a large page is heavy. |