Query x402 resources for a specific origin/domain via micropayment-gated API.
What it does
This endpoint returns a paginated list of x402-protected resources registered under a specific origin (identified by UUID). It is part of x402scan, a payment data explorer and registry for the x402 protocol built by Merit Systems. The endpoint is gated by an x402 micropayment of $0.01 per call, settled in USDC.
The broader x402scan API suite provides analytics across the x402 ecosystem: wallet and merchant transaction histories, aggregate stats, facilitator data, full-text resource search, and a registry for discovering and registering x402-protected endpoints. This particular endpoint accepts query parameters for pagination (page, page_size) and chain filtering (base or solana). It is a GET request where the origin UUID is embedded in the URL path.
The x402scan platform tracks ecosystem-wide stats including transaction counts, volume, buyers, and sellers across Base and Solana chains. Facilitators indexed include Coinbase, PayAI, and Meridian. The API is documented via an OpenAPI 3.1.0 spec served from the origin.
Capabilities
Use cases
- —Discovering all x402-protected API endpoints registered under a specific domain
- —Building dashboards that aggregate x402 resources by origin
- —Auditing which paid endpoints a particular service exposes
- —Filtering x402 resources by blockchain (Base vs Solana) for a given origin
Fit
Best for
- —Agents that need to discover available x402 endpoints for a known origin
- —Developers building x402 ecosystem tooling or analytics
- —Automated service catalogs that index pay-per-call APIs
Not for
- —Free-tier API discovery (every call costs $0.01)
- —Searching resources by keyword (use /api/x402/resources/search instead)
- —Non-x402 API discovery or general web scraping
Quick start
curl -H "X-Payment: <x402_payment_header>" \
"https://www.x402scan.com/api/data/origins/655c6f59-88df-4bf2-99c5-42e392322c84/resources?page=0&page_size=10"Endpoint
Quality
The OpenAPI spec documents the canonical path /api/x402/origins/{id}/resources well, but the actual endpoint URL uses /api/data/origins/... which returned 404 on probe (both GET and POST). The mismatch between the listed endpoint path and the OpenAPI-documented path raises uncertainty about whether this specific URL is live. No response body examples are available.
Warnings
- —Probe returned 404 on both GET and POST for the /api/data/origins/... path; the OpenAPI spec documents the endpoint at /api/x402/origins/{id}/resources instead — the listed URL may be incorrect or deprecated.
- —No example response schema is provided in the OpenAPI spec.
- —No dedicated docs page exists (x402scan.com/docs returns 404).
Citations
- —The endpoint is priced at $0.01 per call via x402 micropaymenthttps://www.x402scan.com
- —x402scan is described as a payment data explorer and registry for the x402 protocolhttps://www.x402scan.com
- —The OpenAPI spec documents the origin resources endpoint at /api/x402/origins/{id}/resources with pagination and chain filter parametershttps://www.x402scan.com
- —Merit Systems is the contact listed for x402scanhttps://www.x402scan.com
- —Supported chains are Base and Solanahttps://www.x402scan.com