{"openapi":"3.1.0","info":{"title":"Stacktree","description":"Publish an HTML page and get a permanent, private, shareable link. $0.50 per publish over x402 (Base or Solana) or MPP (Tempo).","version":"0.0.1","x-guidance":"POST /api/publish with { \"html\": \"<!doctype html>...\" } and pay $0.50 over x402 (Base or Solana) or MPP (Tempo). On settlement you get back a permanent, unguessable stacktr.ee link to the hosted page.","contact":{"url":"https://stacktr.ee","email":"gm@stacktr.ee"}},"servers":[{"url":"https://agents.stacktr.ee"}],"tags":[{"name":"Ping"},{"name":"Publish"}],"x-discovery":{"ownershipProofs":["0x091ee0bc796dcf66b158a64e07306d24435ba5606757a5b4ccef6e8f3fef032c377a1f800aba7b1d5b06e986d1c26d2adee277a835b8807de3a365c0982665921c"]},"paths":{"/api/ping":{"post":{"operationId":"ping","summary":"ping","tags":["Ping"],"security":[],"responses":{"200":{"description":"Successful response"}}}},"/api/publish":{"post":{"operationId":"publish","summary":"Publish an HTML page to a permanent, private, unguessable link. Send {\"html\": \"<!doctype html>...\"}; $0.50 per page over x402 (USDC on Base or Solana) or MPP (Tempo), no account or API key. Revise it later for free with the returned claim_token.","tags":["Publish"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.50"},"protocols":[{"x402":{}},{"mpp":{"method":"tempo","intent":"charge","currency":"0x20c000000000000000000000b9537d11c60e8b50"}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"html":{"type":"string","minLength":1}},"required":["html"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string"},"unlisted_token":{"type":"string"},"claim_token":{"type":"string"}},"required":["url","unlisted_token","claim_token"],"additionalProperties":false}}}},"402":{"description":"Payment Required"}}}}}}