Register Service
AI-generatedSummary
Register an API service on the x402 Bazaar marketplace by providing its name, endpoint URL, pricing in USDC, description, owner wallet address, and relevant tags.
Inputs
- serviceName (required) — Name of the API service to register on the marketplace.
- serviceUrl (required) — Full HTTP or HTTPS URL of your API endpoint.
- servicePrice (required) — Price to charge per API call, specified in USDC, ranging from 0 to 1000 (with up to 4 decimal places).
- serviceDescription — Optional descriptive text explaining what your API service does (up to 1000 characters).
- ownerAddress — Ethereum wallet address that owns this service; if omitted, uses the wallet from node credentials.
- serviceTags — Comma-separated list of tags (up to 10) to categorize your service.
Output shape
a JSON object representing the transaction result or the registration confirmation from the x402 Bazaar marketplace smart contract.
Operation executes an on-chain transaction to register the service, requiring blockchain wallet credentials. The response reflects transaction success or failure; no pagination or list data is involved.