Blockchain Data · x402

Render a self-contained OpenSCAD model and perform bounded slicer checks

Render a self-contained OpenSCAD model and perform bounded slicer checks

by print.api.williamrobinson.dev · discovered, not yet claimed by its owner · updated 2026-09-11

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

Render a self-contained OpenSCAD model and perform bounded slicer checks

Tags: bazaar · builder-code · eip2612GasSponsoring · erc20ApprovalGasSponsoring · 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/8219.json for the price and payment options.
  3. Pay. Call GET https://print.api.williamrobinson.dev/v1/print/validate. 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, 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.05 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base
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.050x26026370fe8b2bb17af9092a17691c76519366da300s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0x26026370fe8b2bb17af9092a17691c76519366da",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "50000",
    "amountUsd": 0.05,
    "maxTimeoutSeconds": 300
  }
]

Schemas

Output schema (JSON Schema)
{
  "bazaar": {
    "info": {
      "input": {
        "body": {
          "maxSizeMm": [
            220,
            220,
            250
          ],
          "parameters": {
            "height": 12,
            "width": 24
          },
          "profile": "fdm-pla-0.4",
          "source": "width = 20; depth = 30; height = 10; cube([width, depth, height]);"
        },
        "bodyType": "json",
        "method": "POST",
        "type": "http"
      },
      "output": {
        "example": {
          "artifacts": [
            {
              "href": "https://example.invalid/v1/print/artifacts/token/report.json",
              "mediaType": "application/json",
              "name": "report.json",
              "sha256": "0000000000000000000000000000000000000000000000000000000000000000",
              "sizeBytes": 512
            }
          ],
          "checks": [
            {
              "code": "within_max_size",
              "detail": "Model bounds fit the requested maximum size.",
              "status": "passed"
            }
          ],
          "expiresAt": "2026-01-02T03:04:05.000Z",
          "limitations": [
            "Slicer output and geometric checks do not prove physical strength or print success."
          ],
          "model": {
            "boundsMm": {
              "max": [
                24,
                30,
                12
              ],
              "min": [
                0,
                0,
                0
              ],
              "size": [
                24,
                30,
                12
              ]
            },
            "triangleCount": 12,
            "volumeMm3": 8640,
            "watertight": true
          },
          "parametersApplied": {
            "height": 12,
            "width": 24
          },
          "profile": "fdm-pla-0.4",
          "recommendations": [],
          "status": "passed",
          "tools": {
            "openscad": "OpenSCAD version 2021.01",
            "slicer": "PrusaSlicer 2.6.0"
          },
          "warnings": []
        },
        "type": "json"
      }
    },
    "schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "properties": {
        "input": {
          "additionalProperties": false,
          "properties": {
            "body": {
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "additionalProperties": false,
              "properties": {
                "maxSizeMm": {
                  "default": [
                    220,
                    220,
                    250
                  ],
                  "items": {
                    "exclusiveMinimum": 0,
                    "maximum": 1000,
                    "type": "number"
                  },
                  "maxItems": 3,
                  "minItems": 3,
                  "type": "array"
                },
                "parameters": {
                  "additionalProperties": {
                    "anyOf": [
                      {
                        "description": "Maximum 512 UTF-8 bytes.",
                        "maxLength": 512,
                        "type": "string"
                      },
                      {
                        "maximum": 1000000,
                        "minimum": -1000000,
                        "type": "number"
                      },
                      {
                        "type": "boolean"
                      }
                    ]
                  },
                  "default": {},
                  "description": "Overrides must name unique top-level scalar literal assignments, not derived expressions or reserved names.",
                  "maxProperties": 64,
                  "propertyNames": {
                    "pattern": "^[A-Za-z_][A-Za-z0-9_]{0,63}$"
                  },
                  "type": "object"
                },
                "profile": {
                  "default": "fdm-pla-0.4",
                  "enum": [
                    "fdm-pla-0.4",
                    "fdm-petg-0.4"
                  ],
                  "type": "string"
                },
                "source": {
                  "description": "Self-contained OpenSCAD, interpreted in millimetres; maximum 16 KiB UTF-8 before and after overrides. External imports are prohibited.",
                  "maxLength": 16384,
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "source"
              ],
              "type": "object"
            },
            "bodyType": {
              "enum": [
                "json",
                "form-data",
                "text"
              ],
              "type": "string"
            },
            "method": {
              "enum": [
                "POST"
              ],
              "type": "string"
            },
            "type": {
              "const": "http",
              "type": "string"
            }
          },
          "required": [
            "type",
            "method",
            "bodyType",
            "body"
          ],
          "type": "object"
        },
        "output": {
          "properties": {
            "example": {
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "additionalProperties": false,
              "properties": {
                "artifacts": {
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "href": {
                        "format": "uri",
                        "type": "string"
                      },
                      "mediaType": {
                        "maxLength": 128,
                        "minLength": 1,
                        "type": "string"
                      },
                      "name": {
                        "enum": [
                          "model.scad",
                          "model.stl",
                          "model.gcode",
                          "profile.ini",
                          "preview.png",
                          "report.json"
                        ],
                        "type": "string"
                      },
                      "sha256": {
                        "pattern": "^[a-f0-9]{64}$",
                        "type": "string"
                      },
                      "sizeBytes": {
                        "minimum": 0,
                        "type": "integer"
                      }
                    },
                    "required": [
                      "name",
                      "mediaType",
                      "sizeBytes",
                      "sha256",
                      "href"
                    ],
                    "type": "object"
                  },
                  "maxItems": 6,
                  "type": "array"
                },
                "checks": {
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "code": {
                        "maxLength": 128,
                        "minLength": 1,
                        "type": "string"
                      },
                      "detail": {
                        "maxLength": 4096,
                        "type": "string"
                      },
                      "status": {
                        "enum": [
                          "passed",
                          "failed",
                          "not_checked"
                        ],
                        "type": "string"
                      }
                    },
                    "required": [
                      "code",
                      "status",
                      "detail"
                    ],
                    "type": "object"
                  },
                  "maxItems": 32,
                  "type": "array"
                },
                "expiresAt": {
                  "format": "date-time",
                  "type": "string"
                },
                "limitations": {
                  "items": {
                    "maxLength": 4096,
                    "type": "string"
                  },
                  "maxItems": 16,
                  "type": "array"
                },
                "model": {
                  "anyOf": [
                    {
                      "type": "null"
                    },
                    {
                      "additionalProperties": false,
                      "properties": {
                        "boundsMm": {
                          "additionalProperties": false,
                          "properties": {
                            "max": {
                              "items": {
                                "type": "number"
                              },
                              "maxItems": 3,
                              "minItems": 3,
                              "type": "array"
                            },
                            "min": {
                              "items": {
                                "type": "number"
                              },
                              "maxItems": 3,
                              "minItems": 3,
                              "type": "array"
                            },
                            "size": {
                              "items": {
                                "type": "number"
                              },
                              "maxItems": 3,
                              "minItems": 3,
                              "type": "array"
                            }
                          },
                          "required": [
                            "min",
                            "max",
                            "size"
                          ],
                          "type": "object"
                        },
                        "triangleCount": {
                          "minimum": 0,
                          "type": "integer"
                        },
                        "volumeMm3": {
                          "minimum": 0,
                          "type": "number"
                        },
                        "watertight": {
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "triangleCount",
                        "boundsMm",
                        "volumeMm3",
                        "watertight"
                      ],
                      "type": "object"
                    }
                  ]
                },
                "parametersApplied": {
                  "additionalProperties": {
                    "anyOf": [
                      {
                        "description": "Maximum 512 UTF-8 bytes.",
                        "maxLength": 512,
                        "type": "string"
                      },
                      {
                        "maximum": 1000000,
                        "minimum": -1000000,
                        "type": "number"
                      },
                      {
                        "type": "boolean"
                      }
                    ]
                  },
                  "default": {},
                  "description": "Overrides must name unique top-level scalar literal assignments, not derived expressions or reserved names.",
                  "maxProperties": 64,
                  "propertyNames": {
                    "pattern": "^[A-Za-z_][A-Za-z0-9_]{0,63}$"
                  },
                  "type": "object"
                },
                "profile": {
                  "enum": [
                    "fdm-pla-0.4",
                    "fdm-petg-0.4"
                  ],
                  "type": "string"
                },
                "recommendations": {
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "code": {
                        "maxLength": 128,
                        "type": "string"
                      },
                      "message": {
                        "maxLength": 4096,
                        "type": "string"
                      }
                    },
                    "required": [
                      "code",
                      "message"
                    ],
                    "type": "object"
                  },
                  "maxItems": 32,
                  "type": "array"
                },
                "status": {
                  "enum": [
                    "passed",
                    "rejected"
                  ],
                  "type": "string"
                },
                "tools": {
                  "additionalProperties": false,
                  "properties": {
                    "openscad": {
                      "type": "string"
                    },
                    "slicer": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "openscad",
                    "slicer"
                  ],
                  "type": "object"
                },
                "warnings": {
                  "items": {
                    "maxLength": 4096,
                    "type": "string"
                  },
                  "maxItems": 32,
                  "type": "array"
                }
              },
              "required": [
                "status",
                "profile",
                "parametersApplied",
                "tools",
                "model",
                "checks",
                "warnings",
                "recommendations",
                "limitations",
                "expiresAt",
                "artifacts"
              ],
              "type": "object"
            },
            "type": {
              "type": "string"
            }
          },
          "required": [
            "type"
          ],
          "type": "object"
        }
      },
      "required": [
        "input"
      ],
      "type": "object"
    }
  },
  "builder-code": {
    "info": {
      "s": [
        "cdp_sdk_server"
      ]
    },
    "schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "additionalProperties": false,
      "properties": {
        "a": {
          "description": "App builder code",
          "pattern": "^[a-z0-9_]{1,32}$",
          "type": "string"
        },
        "s": {
          "description": "Service builder codes",
          "items": {
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          },
          "maxItems": 11,
          "type": "array"
        },
        "w": {
          "description": "Wallet builder code",
          "pattern": "^[a-z0-9_]{1,32}$",
          "type": "string"
        }
      },
      "type": "object"
    }
  },
  "eip2612GasSponsoring": {},
  "erc20ApprovalGasSponsoring": {},
  "payment-identifier": {
    "info": {
      "required": true
    },
    "schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "properties": {
        "id": {
          "maxLength": 128,
          "minLength": 16,
          "pattern": "^[a-zA-Z0-9_-]+$",
          "type": "string"
        },
        "required": {
          "type": "boolean"
        }
      },
      "required": [
        "required"
      ],
      "type": "object"
    }
  }
}
Example shape — generated from the schema, not a captured live response
null

Examples

curl
curl "https://print.api.williamrobinson.dev/v1/print/validate"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://print.api.williamrobinson.dev/v1/print/validate");
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://print.api.williamrobinson.dev/v1/print/validate")
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
print.api.williamrobinson.dev
Endpoint
https://print.api.williamrobinson.dev/v1/print/validate
Machine-readable
/resources/8219.json