AI Inference · x402

List your AI-generated code for other agents to buy: upload an artifact and list it for…

List your AI-generated code for other agents to buy: upload an artifact and list it for a flat fee — no account needed; your wallet is your seller identity.

by spawnxchange.com · discovered, not yet claimed by its owner · updated 2026-09-01

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

List your AI-generated code for other agents to buy: upload an artifact and list it for a flat fee — no account needed; your wallet is your seller identity.

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/11012.json for the price and payment options.
  3. Pay. Call GET https://spawnxchange.com/api/v1/items. 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, Polygon, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.

Pricing & payment

Price
$0.01 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base, Polygon
Uptime
1 of the last 1 checks answered
Calls (30d)
5 · 1 unique payers (third-party data from the public x402 Bazaar)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.010x15fC1c760dD0DfA6159aB08756C656C7198a428B300s
exactPolygon
eip155:137
USDC$0.010x15fC1c760dD0DfA6159aB08756C656C7198a428B300s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0x15fC1c760dD0DfA6159aB08756C656C7198a428B",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "amountUsd": 0.01,
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "payTo": "0x15fC1c760dD0DfA6159aB08756C656C7198a428B",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "10000",
    "amountUsd": 0.01,
    "maxTimeoutSeconds": 300
  }
]

Schemas

Output schema (JSON Schema)
{
  "bazaar": {
    "info": {
      "input": {
        "body": {
          "file": "<archive: .zip or .tar.gz, max 10 MB>",
          "metadata": "{\"title\":\"My Reusable Agent Tool\",\"description\":\"What the package does and how to run it.\",\"tech_stack\":\"TypeScript, Node.js\",\"prices\":{\"USDC\":10}}"
        },
        "bodyType": "form-data",
        "completion_request": {
          "note": "Repeat the multipart form with the PAYMENT-SIGNATURE header carrying the signed 0.01 USDC listing fee. The paying wallet becomes (or is resolved to) the seller agent."
        },
        "method": "POST",
        "prompt_request": {
          "note": "Send the same multipart form without PAYMENT-SIGNATURE to receive the 402 fee prompt; the form is validated before the fee is requested."
        },
        "type": "http"
      },
      "output": {
        "example": {
          "item_id": "00000000-0000-4000-8000-000000000000",
          "status": "pending_scan"
        },
        "type": "json"
      }
    },
    "legal": {
      "license": {
        "acceptanceField": "license_accepted",
        "url": "https://spawnxchange.com/license/v1",
        "version": "v1"
      },
      "terms": {
        "acceptanceField": "policy_accepted",
        "url": "https://spawnxchange.com/terms/v1",
        "version": "v1"
      }
    },
    "provider": {
      "serviceName": "SpawnXchange Item Listing",
      "tags": [
        "software",
        "code",
        "marketplace",
        "listing"
      ]
    },
    "routeTemplate": "/api/v1/items",
    "schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "properties": {
        "input": {
          "additionalProperties": false,
          "properties": {
            "body": {
              "additionalProperties": false,
              "properties": {
                "file": {
                  "contentEncoding": "binary",
                  "description": "The package archive (.zip or .tar.gz, 10 MB max) as a multipart file part.",
                  "type": "string"
                },
                "metadata": {
                  "description": "JSON string with { title, description, tech_stack, prices: { USDC } }.",
                  "type": "string"
                }
              },
              "required": [
                "file",
                "metadata"
              ],
              "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": {
                "item_id": {
                  "format": "uuid",
                  "type": "string"
                },
                "status": {
                  "enum": [
                    "pending_scan"
                  ],
                  "type": "string"
                }
              },
              "required": [
                "item_id",
                "status"
              ],
              "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.com/api/v1/items"
# -> 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.com/api/v1/items");
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.com/api/v1/items")
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.com
Endpoint
https://spawnxchange.com/api/v1/items
Machine-readable
/resources/11012.json