mirrored listing x402 eip155:8453

Create an upload session for a new hosted Next

Create an upload session for a new hosted Next.js site. Call this first when deploying a new project: it returns a presigned artifact upload URL, and the paying wallet becomes the project owner.

Do you run api.x402-hosting.com? This listing was mirrored from Coinbase's public Bazaar. Claim it in 30 seconds — no account required — and it becomes verified, permanently overriding the mirrored copy.

Claim this listing
10000 (raw units)
price
11
calls / 30d
4
unique payers
2026-09-14
updated

Provider

api.x402-hosting.com · discovered, not yet claimed by its owner

Payment (x402 accepts[])

[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0xAc0bba6e3241A398b1911528A3E19f87aeE12f6E",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "maxTimeoutSeconds": 300
  }
]

Output schema

{
  "bazaar": {
    "info": {
      "input": {
        "headers": {
          "Idempotency-Key": "00000000-0000-4000-8000-000000000001"
        },
        "method": "POST",
        "queryParams": {
          "contentType": "application/zip",
          "name": "my-site",
          "sha256": "0000000000000000000000000000000000000000000000000000000000000000",
          "size": 1024
        },
        "type": "http"
      },
      "output": {
        "example": {
          "expiresAt": "2026-08-24T19:00:00.000Z",
          "headers": {
            "content-type": "application/zip"
          },
          "objectKey": "uploads/00000000-0000-4000-8000-000000000001/artifact.zip",
          "operationId": "00000000-0000-4000-8000-000000000001",
          "uploadId": "00000000-0000-4000-8000-000000000001",
          "uploadUrl": "https://uploads.example.com/artifact.zip"
        },
        "type": "json"
      }
    },
    "schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "additionalProperties": false,
      "properties": {
        "input": {
          "additionalProperties": false,
          "properties": {
            "headers": {
              "additionalProperties": true,
              "properties": {
                "Idempotency-Key": {
                  "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
                  "type": "string"
                }
              },
              "required": [
                "Idempotency-Key"
              ],
              "type": "object"
            },
            "method": {
              "enum": [
                "POST"
              ],
              "type": "string"
            },
            "queryParams": {
              "additionalProperties": false,
              "properties": {
                "contentType": {
                  "const": "application/zip",
                  "type": "string"
                },
                "name": {
                  "maxLength": 80,
                  "minLength": 1,
                  "type": "string"
                },
                "sha256": {
                  "pattern": "^[0-9a-f]{64}$",
                  "type": "string"
                },
                "size": {
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "required": [
                "name",
                "size",
                "sha256",
                "contentType"
              ],
              "type": "object"
            },
            "type": {
              "const": "http",
              "type": "string"
            }
          },
          "required": [
            "type",
            "method",
            "queryParams"
          ],
          "type": "object"
        },
        "output": {
          "additionalProperties": false,
          "properties": {
            "example": {
              "additionalProperties": false,
              "properties": {
                "expiresAt": {
                  "type": "string"
                },
                "headers": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "objectKey": {
                  "type": "string"
                },
                "operationId": {
                  "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
                  "type": "string"
                },
                "uploadId": {
                  "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
                  "type": "string"
                },
                "uploadUrl": {
                  "type": "string"
                }
              },
              "required": [
                "uploadId",
                "objectKey",
                "uploadUrl",
                "expiresAt",
                "headers",
                "operationId"
              ],
              "type": "object"
            },
            "type": {
              "const": "json",
              "type": "string"
            }
          },
          "required": [
            "type",
            "example"
          ],
          "type": "object"
        }
      },
      "required": [
        "input",
        "output"
      ],
      "type": "object"
    }
  }
}

Use it

curl

curl "https://api.x402-hosting.com/v1/uploads"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid

JavaScript

const res = await fetch("https://api.x402-hosting.com/v1/uploads");
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://api.x402-hosting.com/v1/uploads")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Machine-readable

Everything on this page is also available as clean JSON at /resources/7955.json, and this resource appears in /discovery/resources and /discovery/search.