Get one x402 facilitator, seller or payer day by day
/v1/chains/{chain}/x402/{kind}/{id}/dailyReturns the activity of one facilitator, seller or payer for each UTC day of a window. Use it to draw a chart of payments and volume over time, raw and genuine side by side.
What you can pass. {kind} is facilitators, sellers or payers. {id} is a registry id such as monad-foundation, a relayer address or unknown for a facilitator, and an address for a seller or a payer. from, to and tier work as on the leaderboards: the default window is the 30 days that end on the day of the newest data, at most 366 days, and tier is A (the default) or AB.
What comes back: data (kind x402_daily) has the entity kind, the id (lowercase when it is an address), the resolved from and to, tier, and items in ascending order of day, one per day and tier with at least one payment. Each item has raw_payments, raw_volume, genuine_payments and genuine_volume, and the figures that fit the entity: raw_payers, raw_sellers and gas_cost for a facilitator, raw_payers for a seller, raw_sellers for a payer. These counts of distinct addresses cannot be added up across days, which is why the leaderboards leave them out. An entity with payments, but none in the window, has empty items.
Path parameters
| Name | Type | Description |
|---|---|---|
chainRequired | string | The chain, as a CAIP-2 chain ID. Only Monad, |
kindRequired | string | Which kind of entity. |
idRequired | string | The entity to read. For |
Query parameters
| Name | Type | Description |
|---|---|---|
from | string | Optional. The first UTC day to include, |
to | string | Optional. The last UTC day to include, |
tier | stringDefault A | Optional. |
Response
The days of the entity, wrapped in the {data, meta, links} envelope. data.kind is x402_daily.
| Field | Type | Description |
|---|---|---|
| chain | string | eip155:143eip155:5042eip155:8453 |
| entity | string | facilitatorssellerspayers |
| from | string | The first day of the window as resolved. |
| id | string | The entity, in lowercase when it is an address. |
| items | array of objects | The days with at least one payment, ascending, one item per day and tier. |
| kind | string | Always |
| tier | string | AAB |
| to | string | The last day of the window as resolved. |
Cost
1 credit.
Errors
| Status | Code |
|---|---|
| 400 | invalid_idinvalid_query |
| 404 | not_foundunsupported_chain |
| 429 | rate_limitedcredits_exhausted |
| 500 | internal |
| 503 | upstream_unavailable |
| 504 | deadline_exceeded |
400 invalid_id for a kind that is none of the three or a malformed id (including a mixed-case address with a wrong checksum). 400 invalid_query as on the leaderboards. 404 not_found when the entity never had a payment (an unknown registry id also answers 400 invalid_id from the x402 data source); both cost the credit. 404 unsupported_chain, 503 upstream_unavailable, 504 deadline_exceeded.