Stacktree: provision a persistent API key for hosting HTML pages as private, shareable web
Stacktree: provision a persistent API key for hosting HTML pages as private, shareable web pages ($1.00). The key is returned once in the response body.
1000000 (raw units)
price
5
calls / 30d
3
unique payers
2026-09-12
updated
Provider
api.stacktr.ee · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xcc985ba6934d134feec4824ba40258608f3a4333",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "1000000",
"maxTimeoutSeconds": 120
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "Gr8z3Dh74y4nJJAW25r2WSmzm3ZQr2n5GU5qjavFG49c",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "1000000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"description": "Buy a persistent Stacktree API key ($1.00, shown once) for hosting HTML pages as private, shareable web pages. Send it as Authorization: Bearer to publish reports, dashboards, landing pages and static sites to permanent unguessable links, and to update them at the same URL. For a single page, POST /publish ($0.50) needs no key at all.",
"info": {
"input": {
"body": {},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"api_key": "stk_live_…",
"ok": true,
"usage": "Authorization: Bearer stk_live_…"
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"properties": {
"body": {
"description": "Optional JSON body. Payment is carried in the PAYMENT-SIGNATURE header (x402 v2), so no body is required. Fields apply only to the token-carried rails (ACP / AP2).",
"properties": {
"acp_shared_payment_token": {
"description": "ACP rail: a Stripe Shared Payment Token (spt_...).",
"type": "string"
},
"ap2_mandate": {
"description": "AP2 rail: an AP2 mandate object.",
"type": "object"
}
},
"type": "object"
}
},
"type": "object"
},
"output": {
"properties": {
"example": {
"description": "Returned once payment settles.",
"properties": {
"api_key": {
"description": "The provisioned stk_live_ API key, shown once.",
"type": "string"
},
"ok": {
"type": "boolean"
},
"prefix": {
"type": "string"
},
"protocol": {
"type": "string"
},
"usage": {
"description": "How to use the key, e.g. \"Authorization: Bearer stk_live_...\".",
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}
},
"type": "object"
},
"serviceName": "Stacktree — provision",
"serviceRecord": "https://api.stacktr.ee/.well-known/x402-service",
"tags": [
"html",
"hosting",
"host",
"web-page",
"publishing",
"private",
"static-site",
"api-key",
"share-link",
"agents"
]
}
}Use it
curl
curl "https://api.stacktr.ee/provision" # -> 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.stacktr.ee/provision");
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.stacktr.ee/provision")
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/3325.json, and this resource appears in /discovery/resources and /discovery/search.