Agent Onboarding

Buy a new API key with USDC, USDT, or BTC (no auth required)

Agent-friendly key purchase: send USDC, USDT, or BTC to the platform wallet (EVM USDC/USDT: 0xAd982CB19aCCa2923Df8F687C0614a7700255a23 — same on all chains; Solana USDC/USDT: 6a1mLjefhvSJX1sEX8PTnionbE9DqoYjU6F6bNkT4Ydr; Bitcoin BTC: bc1qg7qnerdhlmdn899zemtez5tcx2a2snc0dt9dt0; Tron USDT-TRC20: TC5yvwkAMakkXtUxYiu2Yn1xbBcwYuD6cn), then call this endpoint with the transaction hash to receive a new API key with credits. No email or prior authentication needed — the sender wallet address from the transaction becomes the key's identity. One key per wallet address. Alternative: email-based free-tier signup via POST /v1/keys/create (10 free credits, no card). Use POST /v1/credits/buy to top up an existing key. Volume discounts: $5–$99 = 25 credits/$1 ($0.04/call), $100–$499 = 33 credits/$1 ($0.03/call, 25% off), $500+ = 50 credits/$1 ($0.02/call, 50% off). USDC and USDT accepted on EVM chains and Solana (auto-detected from transaction). USDT-TRC20 accepted on Tron. BTC accepted on Bitcoin (converted to USD at market rate, requires 1 confirmation). Crypto sent on unsupported chains cannot be recovered. All purchases are final and non-refundable.

post/v1/keys/buy

Request

  • Base URL: https://api.insumermodel.com
  • URL: https://api.insumermodel.com/v1/keys/buy
  • Auth: none required

Request body

txHashstring required

Transaction hash proving payment

amountnumber

Stablecoin amount sent (min 5). Not required for BTC — USD value is derived from the on-chain BTC amount at market rate.

appNamestring required

Name for this API key (e.g. your agent or app name)

channelstring

Optional attribution label recorded with the purchase (e.g. the integration or marketplace the buyer came through).

keyDelivery'wallet' | 'apiKey' | 'both'

Preferred credential shape. Default wallet returns no API key string when an Insumer Access SBT is minted to the sender wallet — the wallet + pass becomes the credential, and subsequent calls authenticate via Authorization: Wallet. apiKey (or its alias both) returns the API key string in the response alongside the pass; the wallet still receives the SBT on EVM payments and can use either credential on /v1/attest and /v1/credits/buy. When the SBT cannot land (non-EVM payment, or deferred EVM mint), the API key is returned regardless of this setting so the caller is never left without a usable credential. Case-insensitive.

Response

API key created with credits

oktrue

Example response

{
  "meta": {
    "version": "1.0"
  }
}

Changes

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