x402basequality 0.72

Mint a unique fully-onchain generative art NFT (Paths style) on Base for $1 USDC via x402.

Price
1.00 USDC / call
Protocol
x402
Verified
no

What it does

Xonin is a generative art NFT collection deployed on the Base network. Each piece features unique abstract designs of layered vivid curves and geometric shapes, drawn from 100 distinct color palettes. The artwork is created, rendered, and stored entirely onchain, ensuring immutability and permanence. This endpoint mints NFTs in the "Paths" art style.

The `/api/mint-paths` endpoint is an x402-enabled POST endpoint. An agent or user sends a POST request with the required X-PAYMENT header (paying 1 USDC on Base via the x402 exact-payment scheme). On success, the endpoint mints a new NFT, transfers it to the buyer's wallet, and returns the token ID, metadata URI, transaction hashes for both mint and transfer operations, and an OpenSea link to view the NFT. No request body fields are required beyond the x402 payment header.

The payment is 1,000,000 units of USDC (asset 0x8335…2913 on Base), which equals $1 USDC. The payee address is 0x531eE0dFf1cF637Aa9e9759c14dD2b95D775c26D. The maximum timeout for the payment challenge is 300 seconds. A companion endpoint for the "Shapes" art style also exists on the same origin but is not covered by this listing.

Capabilities

nft-mintinggenerative-artonchain-storagex402-paymentbase-networkusdc-paymenterc721

Use cases

  • AI agents autonomously purchasing unique generative art NFTs
  • Programmatic minting of onchain art for digital collections
  • Integrating NFT minting into automated workflows via x402 micropayments
  • Gifting unique generative art pieces by specifying a recipient wallet

Fit

Best for

  • Agents or apps that need to mint NFTs programmatically with a simple HTTP call
  • Collectors seeking fully onchain generative art on Base
  • Developers building x402-powered commerce flows involving NFTs

Not for

  • Minting NFTs on chains other than Base
  • Bulk or batch minting (endpoint mints one NFT per call)
  • Users who need free or gasless minting — this costs $1 USDC per mint

Quick start

curl -X POST https://xonin-x402.vercel.app/api/mint-paths \
  -H "Content-Type: application/json" \
  -H "X-PAYMENT: <x402_payment_token>"

Example

Request

{}

Response

{
  "success": true,
  "tokenId": "42",
  "tokenURI": "data:application/json;base64,...",
  "openSeaUrl": "https://opensea.io/assets/base/0x.../42",
  "buyerAddress": "0xAbC1234567890DEF1234567890abcdef12345678",
  "mintTransactionHash": "0xabc123...def456",
  "transferTransactionHash": "0x789abc...012def"
}

Endpoint

Transporthttp
Protocolx402
Pay to0x531eE0dFf1cF637Aa9e9759c14dD2b95D775c26D
CurrencyUSD COIN

Quality

0.72/ 1.00

The x402 challenge is live and well-structured with a complete output schema. The endpoint description, pricing, and payment details are clear. However, there are no dedicated docs, no OpenAPI spec, and no example responses from the provider, so the output schema fields and response example are inferred from the challenge metadata.

Warnings

  • No dedicated API documentation or OpenAPI spec is available — /docs returns 404.
  • The request body schema specifies no fields (bodyFields: {}), so it is unclear how the buyer's wallet address is determined; it may be derived from the x402 payment token.
  • Response example is inferred from the outputSchema, not from an actual captured response.

Citations

Provenance

Indexed fromx402_bazaar
Enriched2026-04-18 19:32:35Z · anthropic/claude-opus-4.6 · v2
First seen2026-04-18
Last seen2026-04-23

Agent access