AI Inference · x402

Buy the selected AI-generated code artifact

Buy the selected AI-generated code artifact. Paying this authorization grants you a licence and returns an instant download link plus an invoice.

by spawnxchange-api-485602182462.europe-west4.run.app · discovered, not yet claimed by its owner · updated 2026-09-10

Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.

What it does

Buy the selected AI-generated code artifact. Paying this authorization grants you a licence and returns an instant download link plus an invoice.

Tags: bazaar · payment-identifier

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/8226.json for the price and payment options.
  3. Pay. Call GET https://spawnxchange-api-485602182462.europe-west4.run.app/api/v1/items/:uuid/acquire. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with the data. Agent Bazaar is not in the request path and never sees your payment.

For humans

You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base Sepolia, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.

Pricing & payment

Price
see accepts
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base Sepolia
Uptime
1 of the last 1 checks answered
Calls (30d)
109 · 3 unique payers (third-party data from the public x402 Bazaar)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase Sepolia
eip155:84532
USDC10000000xe858C49b7a88cc721D162b7D3b7527288157c879300s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:84532",
    "payTo": "0xe858C49b7a88cc721D162b7D3b7527288157c879",
    "asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
    "amount": "1000000",
    "maxTimeoutSeconds": 300
  }
]

Schemas

Output schema (JSON Schema)
{
  "bazaar": {
    "info": {
      "input": {
        "body": {
          "chain": "base",
          "license_accepted": true,
          "policy_accepted": true
        },
        "bodyType": "json",
        "completion_request": {
          "defaults": {
            "currency": "USDC"
          },
          "example": {
            "chain": "base",
            "currency": "USDC",
            "license_accepted": true,
            "policy_accepted": true
          },
          "required": [
            "chain",
            "policy_accepted",
            "license_accepted"
          ],
          "supported_chains": [
            "base",
            "polygon"
          ],
          "supported_currencies": [
            "USDC"
          ]
        },
        "method": "POST",
        "prompt_request": {
          "body_omitted_allowed": true,
          "body_optional": true,
          "example": {},
          "examples": {
            "chain_only": {
              "chain": "base"
            },
            "empty_json": {}
          },
          "optional": [
            "chain"
          ],
          "supported_chains": [
            "base",
            "polygon"
          ]
        },
        "type": "http"
      },
      "output": {
        "example": {
          "download_url": "https://storage.googleapis.com/…signed-package-url…",
          "expires_in": "15 minutes",
          "invoice_url": "https://storage.googleapis.com/…signed-invoice-url…",
          "order_id": "00000000-0000-4000-8000-000000000000"
        },
        "type": "json"
      }
    },
    "itemId": "f92ddb24-6628-4af9-a45b-0b7ea0d9025a",
    "legal": {
      "license": {
        "acceptanceField": "license_accepted",
        "url": "https://spawnxchange-api-485602182462.europe-west4.run.app/license/v1",
        "version": "v1"
      },
      "terms": {
        "acceptanceField": "policy_accepted",
        "url": "https://spawnxchange-api-485602182462.europe-west4.run.app/terms/v1",
        "version": "v1"
      }
    },
    "provider": {
      "serviceName": "SpawnXchange Direct Public Purchase",
      "tags": [
        "software",
        "code",
        "marketplace",
        "license"
      ]
    },
    "routeTemplate": "/api/v1/items/:uuid/acquire",
    "schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "properties": {
        "input": {
          "additionalProperties": false,
          "properties": {
            "body": {
              "additionalProperties": false,
              "properties": {
                "chain": {
                  "enum": [
                    "base",
                    "polygon"
                  ],
                  "type": "string"
                },
                "currency": {
                  "enum": [
                    "USDC",
                    "usdc"
                  ],
                  "type": "string"
                },
                "license_accepted": {
                  "const": true,
                  "type": "boolean"
                },
                "policy_accepted": {
                  "const": true,
                  "type": "boolean"
                }
              },
              "required": [
                "chain",
                "policy_accepted",
                "license_accepted"
              ],
              "type": "object"
            },
            "bodyType": {
              "enum": [
                "json",
                "form-data",
                "text"
              ],
              "type": "string"
            },
            "method": {
              "enum": [
                "POST",
                "PUT",
                "PATCH"
              ],
              "type": "string"
            },
            "type": {
              "const": "http",
              "type": "string"
            }
          },
          "required": [
            "type",
            "method",
            "bodyType",
            "body"
          ],
          "type": "object"
        },
        "output": {
          "properties": {
            "example": {
              "additionalProperties": false,
              "properties": {
                "download_url": {
                  "format": "uri",
                  "type": "string"
                },
                "expires_in": {
                  "type": "string"
                },
                "invoice_url": {
                  "format": "uri",
                  "type": "string"
                },
                "order_id": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "required": [
                "order_id",
                "download_url",
                "invoice_url",
                "expires_in"
              ],
              "type": "object"
            },
            "type": {
              "type": "string"
            }
          },
          "required": [
            "type"
          ],
          "type": "object"
        }
      },
      "required": [
        "input"
      ],
      "type": "object"
    }
  },
  "payment-identifier": {
    "required": false
  }
}
Example shape — generated from the schema, not a captured live response
null

Examples

curl
curl "https://spawnxchange-api-485602182462.europe-west4.run.app/api/v1/items/:uuid/acquire"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://spawnxchange-api-485602182462.europe-west4.run.app/api/v1/items/:uuid/acquire");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
res = httpx.get("https://spawnxchange-api-485602182462.europe-west4.run.app/api/v1/items/:uuid/acquire")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
spawnxchange-api-485602182462.europe-west4.run.app
Endpoint
https://spawnxchange-api-485602182462.europe-west4.run.app/api/v1/items/:uuid/acquire
Machine-readable
/resources/8226.json