{
  "x402Version": 2,
  "id": 31297,
  "slug": "31297",
  "resource": "https://api.stacktr.ee/provision",
  "description": "Stacktree x402 API key provisioning: pay $1.00 over x402 for a persistent API key, so an agent gets its own credentials without human approval, for hosting HTML pages as private, shareable web pages. The key is returned once in the response body.",
  "type": "http",
  "resourceType": "Payments",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xcc985ba6934d134feec4824ba40258608f3a4333",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1000000",
      "amountUsd": 1,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "Gr8z3Dh74y4nJJAW25r2WSmzm3ZQr2n5GU5qjavFG49c",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "1000000",
      "amountUsd": 1,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "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"
  },
  "extensions": {
    "bazaar": {
      "description": "Stacktree x402 API key provisioning: get an API key after one x402 payment ($1.00 in USDC on Base, shown once), so an agent sets up its own credentials without human approval. It is 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"
      ]
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "api.stacktr.ee",
  "lastUpdated": "2026-09-30T08:39:52.968Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-30T08:39:52.477Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "description": "Stacktree x402 API key provisioning: get an API key after one x402 payment ($1.00 in USDC on Base, shown once), so an agent sets up its own credentials without human approval. It is 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"
        ]
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.stacktr.ee",
    "manifest_name": "api.stacktr.ee",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "api_key": "string",
      "ok": true,
      "prefix": "string",
      "protocol": "string",
      "usage": "string"
    }
  }
}