Get x402 service
x402_get_serviceCall this once you hold a slug and are deciding whether to commit to that service: the full record behind a directory row. Live status, uptime over 24h/7d/30d/90d, average response time, networks and settlement asset, every priced endpoint, and the assessment block. When the live 402 of an endpoint asks to be paid at a different address than the listed pay_to and the change is still in review, the response carries top-level warnings and endpoints[].pay_to_divergence. include_series=true adds 90 daily points of on-chain volume and distinct buyers. Read the units map in the response: the per-endpoint price field is atomic token units, not dollars.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Service slug, e.g. 'my-api'. | |
| include_series | No | If true, also attach this service's daily on-chain series under `series` (settlement volume and distinct buyers, one point per UTC day over the most recent 90 days, oldest first). Off by default to keep the response small. |