x402 (machine-payable)

Buy a 30-day API key with one x402 payment

Mints a 30-day HostDeFi Agent-plan API key (5,000 calls, batch enabled) in exchange for a single x402 payment - no account, no signup. The key arrives in the paid response body and is shown only once; send it as the x-api-key header on /v1/* routes. Priced so raw per-call x402 stays the trial and the key is the volume deal.

post/v1/x402/keys

Request

  • Base URL: https://hostdefi.com/api
  • URL: https://hostdefi.com/api/v1/x402/keys
  • Auth: none required

Response

The freshly minted API key, plan, quota and expiry. Settlement receipt in the X-PAYMENT-RESPONSE header.

object required

Changes

No recorded changes to this operation across all 1 revision of this API.