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.
1000000 (raw units)
price
6
calls / 30d
2
unique payers
2026-09-01
updated
Provider
spawnxchange.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x91AAa2D70F1845586b331a0e28762eeFBA65cdE1",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "1000000",
"maxTimeoutSeconds": 300
}
]Output 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": "0ad6e69a-af04-428e-83fc-6a6125e26da7",
"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 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
}
}Use it
curl
curl "https://spawnxchange.com/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.com/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.com/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 headerMachine-readable
Everything on this page is also available as clean JSON at /resources/11011.json, and this resource appears in /discovery/resources and /discovery/search.