---
title: "Buy a feature unlock over x402 (make-permanent, custom domain, higher limits)."
method: POST
path: "/unlock"
tags: ["Provision"]
---

# Buy a feature unlock over x402 (make-permanent, custom domain, higher limits).

`POST /unlock`

## Request

- Base URL: `https://api.stacktr.ee`
- URL: `https://api.stacktr.ee/unlock`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (authorization code, authorization URL `https://api.stacktr.ee/oauth/authorize`, token URL `https://api.stacktr.ee/oauth/token`, scopes: `sites:write`)

POST with the feature and no payment to receive a 402 carrying x402 requirements; sign the EIP-3009 USDC authorization and retry to activate the entitlement. `make_permanent` ($5) cancels the expiry on one page; `higher_limits` ($25 / 30 days) lifts the identity to fleet limits (1 GB per site, unlimited daily publishes, no page cap, pages that do not expire); `custom_domain` ($5 / 30 days) allows a custom hostname. Live on Base mainnet.

## Query parameters

- `feature` string, required

## Response `200`

Unlock activated.

- object

## Other responses

- `402`: Payment Required (x402 requirements in the PAYMENT-REQUIRED header and body).

---

[API](https://skmtc.dev/stacktr/apis/stacktree-api.md) · [All operations](https://skmtc.dev/stacktr/apis/stacktree-api/llms.txt) · [OpenAPI document](https://skmtc.dev/stacktr/apis/stacktree-api/revisions/5878cce46977?raw)
