x402basequality 0.72

Mint a unique fully-onchain generative art NFT (Shapes 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 project where 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 an NFT in the "Shapes" art style and transfers it to the buyer's wallet.

The endpoint is accessed via the x402 payment protocol on the Base network. A POST request with a valid X-PAYMENT header (paying 1 USDC to the specified address) triggers the mint. The response includes the minted token ID, token URI, transaction hashes for both the mint and transfer operations, and an OpenSea link to view the NFT. No request body fields are required beyond the x402 payment header.

The contract pays out to address 0x531eE0dFf1cF637Aa9e9759c14dD2b95D775c26D and accepts USDC (0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) on Base. The maximum timeout for the payment flow is 300 seconds. A companion "Mint Paths" style endpoint 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 collectibles via x402
  • Building a curated collection of algorithmically generated abstract art
  • Demonstrating x402 protocol integration for NFT commerce

Fit

Best for

  • Agents or users wanting to mint unique generative art with a single API call
  • Developers exploring x402 payment-gated endpoints on Base
  • Collectors seeking fully onchain, immutable generative art NFTs

Not for

  • Bulk or batch NFT minting (one mint per request, $1 each)
  • Users who need art on chains other than Base
  • Anyone looking for customizable or parameterized art generation (designs are algorithmically determined)

Quick start

curl -X POST https://xonin-x402.vercel.app/api/mint-shapes \
  -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. Pricing is clear ($1 USDC on Base). However, there are no dedicated docs, no OpenAPI spec, and no detailed usage examples beyond what the challenge and landing page provide.

Warnings

  • No API documentation page exists (404 at /docs)
  • No OpenAPI or machine-readable spec available
  • Request body fields are empty in the schema — unclear if any optional parameters (e.g., recipient address) can be passed
  • A second art style endpoint (mint-paths) exists but is not described here

Citations

Provenance

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

Agent access