insumer

v1.24.0
com.insumermodel/insumer Checked 1 day ago Published 20 days ago

Wallet auth: send a wallet and conditions, get a signed boolean across 37 chains.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

insumer_attest Verify wallet conditions (signed)

Evaluate a list of 1 to 10 conditions against a wallet's on-chain state and return one signed attestation: a yes or no for each condition, never the balance. One call reads the chain for every condition in the list and returns a single attestation covering all of them, so conditions of different kinds and on different chains are combined in one signed result. A condition states what must be true of the wallet, such as a minimum token balance, ownership of an NFT, an attestation held or a registered agent ID; the type field on each condition lists the kinds available and the fields each one tak…

insumer_compliance_templates List compliance templates

List the compliance templates available for EAS attestation conditions. Each template carries pre-configured schema IDs, attester addresses, and decoder contracts for a KYC or identity provider (Coinbase Verifications on Base, Gitcoin Passport on Optimism), so a condition can name the template instead of raw EAS parameters. No authentication or credits required.

insumer_wallet_trust Wallet trust profile (signed)

Generate a signed wallet trust fact profile for an EVM wallet: a curated set of presence checks organized into dimensions (stablecoins, governance, nfts, staking, institutional_stablecoins, tokenized_treasuries, stablecoin_deposits, wrapped_bitcoin, names, account): 155 base checks across 27 chains in 10 dimensions. Optional Solana, XRPL, Bitcoin and Tron wallets add their own dimensions, up to 176 checks across 29 chains in 14 dimensions; optional Stellar and Sui wallets let rows inside existing dimensions evaluate. Dimensions arrive in a fixed order: the base dimensions as listed, then any o…

ParameterTypeDescription
wallet *stringEVM wallet address (0x...) to profile
bitcoinWalletstringBitcoin address. If provided, adds the Bitcoin dimension (native BTC presence).
proofstringSet to 'merkle' for EIP-1186 Merkle storage proofs on EVM token checks (6 credits). Rows whose balance is computed rather than stored (Aave aTokens, BUIDL), NFT/non-EVM rows and the account rows are d…
solanaWalletstringSolana wallet address (base58). If provided, adds the Solana dimension and lets the institutional rows on Solana evaluate.
stellarWalletstringStellar wallet address (G-prefixed). If provided, lets the institutional rows on Stellar evaluate (classic trustlines). Adds no dimension.
suiWalletstringSui wallet address (0x + 64 hex). If provided, lets the rows on Sui evaluate. Adds no dimension.
tronWalletstringTron wallet address (T-prefixed). If provided, adds the Tron dimension.
xrplWalletstringXRPL wallet address (r-address). If provided, adds the XRPL dimension and lets the institutional row on XRPL evaluate.

insumer_batch_wallet_trust Batch wallet trust profiles (signed)

Generate wallet trust fact profiles for up to 10 wallets in a single request. Faster than sequential calls. Each wallet gets an independently signed profile with its own TRST-XXXXX ID: 155 base checks across 27 chains in 10 dimensions (stablecoins, governance, nfts, staking, institutional_stablecoins, tokenized_treasuries, stablecoin_deposits, wrapped_bitcoin, names, account), up to 176 checks across 29 chains in 14 dimensions with the optional Solana, XRPL, Bitcoin and Tron wallets; the signed conditionSetVersion (currently 2026-10-08) names the check list. Dimensions arrive in a fixed order,…

ParameterTypeDescription
wallets *array1-10 wallet entries to profile
detailstring'summary' (default): the text is a short summary per wallet and the complete signed profiles are in structuredContent. 'full': the complete signed profiles as text too, tens of thousands of characters…
proofstringSet to 'merkle' for EIP-1186 Merkle storage proofs on all wallets (6 credits/wallet).

insumer_jwks Get public signing keys

Get InsumerAPI's public signing keys as a JWKS (JSON Web Key Set): an ECDSA P-256 key under its kids, followed by the ML-DSA-65 post-quantum key as RFC 9964 AKP entries. Signatures on attestation and trust responses verify against these keys. Match an entry by the kid (or pqKid) on the response, never by position; an unknown kid is unverifiable, not refuted. No authentication required.

insumer_setup Create a free API key

Generate a free-tier InsumerAPI key (insr_live_...). No credit card required. The user adds the key to their MCP config as INSUMER_API_KEY and restarts. One free key per email, with a per-IP daily limit. Free-tier allowance: https://insumermodel.com/pricing/

ParameterTypeDescription
email *stringEmail address for the API key
appNamestringName of your app or project (default: 'MCP Agent')

insumer_verify Create a discount code

Create a signed discount code (INSR-XXXXX, 30-minute expiry) for a wallet at a merchant. Returns tier and discount percentage, never raw balance amounts. A code that carries a discount costs one credit from the API key that owns the store; a 0% result is free. A caller using another key is not charged, and stores on a licensed platform are covered by its license. Paid discount codes requested with a key other than the store's owner are subject to an hourly limit (429; the message says when to try again). If the merchant has Stripe Connect, a coupon is auto-created. Takes an EVM, Solana or XRPL…

ParameterTypeDescription
merchantId *stringMerchant ID
solanaWalletstringSolana wallet address (base58)
walletstringEVM wallet address (0x...)
walletProofobjectOptional proof that you control 'wallet' (EVM only; send it without solanaWallet or xrplWallet). Sign this EIP-4361 message with the wallet, within 5 minutes, with a nonce you never reused: api.insume…
xrplWalletstringXRPL wallet address (r-address)

insumer_list_merchants List merchants

Browse merchants in the public directory. Filter by accepted token, verification status. Returns company name, website, tokens accepted, discount info, and walletTerms (the store's terms with and without proof of wallet control).

ParameterTypeDescription
limitintegerResults per page (default 50, max 200)
offsetintegerPagination offset (default 0)
tokenstringFilter by accepted token symbol, e.g. 'UNI'
verifiedstringFilter by domain verification status

insumer_get_merchant Get a merchant profile

Get full public merchant profile including token tiers, NFT collections, discount mode, verification status, and walletTerms: what the store gives a wallet with and without proof of control, so you can decide whether to sign before creating a code.

ParameterTypeDescription
id *stringMerchant ID

insumer_list_tokens List registered tokens

List the tokens and NFT collections listed in the Insumer registry. Filter by chain, symbol, or asset type. The registry is a directory, not the list of what can be checked: an attestation can check any token on a supported chain, and NFTs on EVM chains, Solana and XRPL, whether listed or not. An empty result means nothing is listed under that filter, not that the token is unsupported.

ParameterTypeDescription
chainFilter by chain ID
symbolstringFilter by token symbol
typestringFilter by asset type

insumer_check_discount Check a discount (free)

Calculate discount for a wallet at a merchant. Checks on-chain balances and returns tier and discount percentage per token, never raw balance amounts. Free: does not consume credits. Takes an EVM, Solana or XRPL wallet. An rpc_failure error (503) means a read did not complete: retry, and never treat it as not eligible. The check carries no proof of wallet control, so totalDiscount is what an unproven wallet gets; walletTerms gives the store's terms, and discountIfProven (when present) is what signing would get.

ParameterTypeDescription
merchant *stringMerchant ID
solanaWalletstringSolana wallet address (base58)
walletstringEVM wallet address (0x...)
xrplWalletstringXRPL wallet address (r-address)

insumer_credits Check credit balance

Check verification credit balance, tier, and daily rate limit for the current API key.

insumer_buy_key Register a paid API key

Register a new API key against a USDC payment the caller has already sent (no auth required, no email). This tool does not move funds: it submits the transaction hash and a signature from the wallet that sent the payment. Paid in USDC only, on Ethereum, Optimism, BNB Chain, Polygon, Base, Arbitrum, Avalanche or Solana. Receiving addresses: 0xee432065474D2C852700f74e3fD81e2Bcc16a3D4 on Ethereum, Optimism, Polygon, Base, Arbitrum or Avalanche; 0xAd982CB19aCCa2923Df8F687C0614a7700255a23 on BNB Chain (USDC sent to it on the other EVM chains is also accepted during the changeover); 8fyEGM5tRjMocKQW…

ParameterTypeDescription
amount *numberUSDC amount sent (minimum 5).
appName *stringName for the API key (e.g. your agent or app name)
chainId *Chain where the USDC was sent: Ethereum (1), Optimism (10), BNB Chain (56), Polygon (137), Base (8453), Arbitrum (42161), Avalanche (43114), or 'solana'. Purchases are paid in USDC only.
senderSignature *stringRequired. The wallet that sent the payment signs this exact text, five lines joined by \n with no trailing newline: "api.insumermodel.com", "Confirm the wallet that sent this payment.", "Purpose: key…
txHash *stringTransaction hash proving payment

insumer_buy_credits Add credits from a payment

Add verification credits to the current API key against a USDC payment the caller has already sent. This tool does not move funds: it submits the transaction hash. Paid in USDC only, on Ethereum, Optimism, BNB Chain, Polygon, Base, Arbitrum, Avalanche or Solana. Receiving addresses: 0xee432065474D2C852700f74e3fD81e2Bcc16a3D4 on Ethereum, Optimism, Polygon, Base, Arbitrum or Avalanche; 0xAd982CB19aCCa2923Df8F687C0614a7700255a23 on BNB Chain (USDC sent to it on the other EVM chains is also accepted during the changeover); 8fyEGM5tRjMocKQWaVXyM2XvvnTxR3sWdrYtug2zeLX4 on Solana (USDC sent to 6a1mL…

ParameterTypeDescription
amount *numberUSDC amount sent (minimum 5).
chainId *Chain where the USDC was sent: Ethereum (1), Optimism (10), BNB Chain (56), Polygon (137), Base (8453), Arbitrum (42161), Avalanche (43114), or 'solana'. Purchases are paid in USDC only.
txHash *stringTransaction hash proving payment
senderSignaturestringRequired when the key has no registered wallet yet, or with updateWallet: true when the payment comes from a different wallet; not needed for a payment from the registered wallet. The wallet that sent…
updateWalletbooleanSet true to replace the registered wallet with this transaction's sender. Takes senderSignature from the new wallet.

insumer_confirm_payment Confirm a discount payment

Confirm the USDC payment for an INSR discount code. The server verifies the on-chain transaction receipt.

ParameterTypeDescription
amount *USDC amount sent
chainId *Chain where the USDC was sent: EVM chain ID (1, 8453, 137, 42161, 10, 56, 43114) or 'solana'. Bitcoin and Tron are not accepted here.
code *stringDiscount code (e.g. INSR-A7K3M)
txHash *stringOn-chain transaction hash or Solana signature

insumer_create_merchant Create a merchant

Create a new merchant, owned by the API key that creates it. The store has no credit balance of its own: that key pays for the store's codes, scans and taps, and credits in the response is that key's balance. Limited number of merchants per API key.

ParameterTypeDescription
companyId *stringUnique merchant ID (alphanumeric, dashes, underscores)
companyName *stringCompany display name
locationstringCity or region

insumer_merchant_status Get merchant status (owner)

Get full private merchant details: credits (the owner key's balance), token configs, NFT collections, directory status, verification status, payment settings. Owner only.

ParameterTypeDescription
id *stringMerchant ID

insumer_configure_tokens Configure merchant tokens (replaces)

Configure merchant token discount tiers. Set own token and/or partner tokens. Replaces the existing token configuration. Max 8 tokens total. Tier discounts are whole numbers from 1 to 50; a value with decimals is refused. Owner only.

ParameterTypeDescription
id *stringMerchant ID
ownTokenMerchant's own token configuration, or null to remove
partnerTokensarrayPartner token configurations

insumer_configure_nfts Configure merchant NFTs (replaces)

Configure the NFT collections a merchant recognizes, each granting a discount or recognition only. Replaces the existing NFT configuration. Max 4 collections. Discounts are whole numbers from 1 to 50; a value with decimals is refused. Owner only.

ParameterTypeDescription
id *stringMerchant ID
nftCollections *arrayNFT collection configurations (0-4)

insumer_configure_settings Update merchant settings

Update merchant settings: discount stacking mode, cap, the store's terms for wallets sent without proof of control, and stablecoin payment configuration. All fields optional; supplied fields replace their current values. discountCap is a whole number from 1 to 100. A wallet with proof gets the full discount their holdings earn, without the daily limit for unproven buyers. Owner only.

ParameterTypeDescription
id *stringMerchant ID
discountCapintegerMaximum total discount percentage: a whole number from 1 to 100, no decimals
discountModestring'highest' uses best single discount, 'stack' adds them together, 'capped' stacks up to discountCap
maxDiscountsPerWalletPerDayDiscount codes per UTC day for a wallet without proof of control; null = no limit
maxUnprovenDiscountMost a wallet without proof of control can get, in percent: 0 = no discount, null = the same as a proven wallet
usdcPaymentUSDC payment settings, or null to disable

insumer_publish_directory Publish directory listing

Publish or refresh the merchant's listing in the public directory from its current tokens and settings. Owner only.

ParameterTypeDescription
id *stringMerchant ID

insumer_buy_merchant_credits Add credits to the store owner key from a payment

Kept for compatibility: a store has no credit balance of its own, so a payment submitted here adds regular credits to the API key that owns the store, at a flat rate (the regular credit purchase, with volume tiers, is the usual way to top up). Submits a USDC payment the caller has already sent. This tool does not move funds: it submits the transaction hash. Paid in USDC only, on Ethereum, Optimism, BNB Chain, Polygon, Base, Arbitrum, Avalanche or Solana. Receiving addresses: 0xee432065474D2C852700f74e3fD81e2Bcc16a3D4 on Ethereum, Optimism, Polygon, Base, Arbitrum or Avalanche; 0xAd982CB19aCCa2…

ParameterTypeDescription
amount *numberUSDC amount sent (minimum 5).
chainId *Chain where the USDC was sent: Ethereum (1), Optimism (10), BNB Chain (56), Polygon (137), Base (8453), Arbitrum (42161), Avalanche (43114), or 'solana'. Purchases are paid in USDC only.
id *stringMerchant ID
txHash *stringTransaction hash proving payment
senderSignaturestringRequired when the key has no registered wallet yet, or with updateWallet: true when the payment comes from a different wallet; not needed for a payment from the registered wallet. The wallet that sent…
updateWalletbooleanSet true to replace the registered wallet with this transaction's sender. Takes senderSignature from the new wallet.

insumer_request_domain_verification Request domain verification

Request a domain verification token for a merchant. Returns the token and three ways to place it: DNS TXT record, HTML meta tag, or file upload. Verified merchants get a trust badge in the public directory. Owner only.

ParameterTypeDescription
domain *stringDomain to verify (e.g. 'example.com')
id *stringMerchant ID

insumer_verify_domain Verify domain ownership

Check a merchant's previously requested domain verification token. The server looks for it as a DNS TXT record, HTML meta tag, or uploaded file, and marks the domain verified when found. Rate limited per merchant (429 says when to retry). Owner only.

ParameterTypeDescription
id *stringMerchant ID

insumer_acp_discount Discount in ACP format

Check token-holder discount eligibility in OpenAI/Stripe Agentic Commerce Protocol (ACP) format. Returns coupon objects, applied/rejected arrays, and per-item allocations compatible with ACP checkout flows. The on-chain check is the same one behind INSR discount codes, wrapped in ACP format. A code that carries a discount costs one credit from the API key that owns the store; a 0% result is free. A caller using another key is not charged, and stores on a licensed platform are covered by its license. Paid discount codes requested with a key other than the store's owner are subject to an hourly…

ParameterTypeDescription
merchantId *stringMerchant ID
itemsarrayOptional line items for per-item cent-amount allocations
solanaWalletstringSolana wallet address (base58)
walletstringEVM wallet address (0x...)
walletProofobjectOptional proof that you control 'wallet' (EVM only; send it without solanaWallet or xrplWallet). Sign this EIP-4361 message with the wallet, within 5 minutes, with a nonce you never reused: api.insume…
xrplWalletstringXRPL wallet address (r-address)

insumer_ucp_discount Discount in UCP format

Check token-holder discount eligibility in Google Universal Commerce Protocol (UCP) format. Returns title, extension field, and applied array compatible with UCP checkout flows. The on-chain check is the same one behind INSR discount codes, wrapped in UCP format. A code that carries a discount costs one credit from the API key that owns the store; a 0% result is free. A caller using another key is not charged, and stores on a licensed platform are covered by its license. Paid discount codes requested with a key other than the store's owner are subject to an hourly limit (429; the message says…

ParameterTypeDescription
merchantId *stringMerchant ID
itemsarrayOptional line items for per-item cent-amount allocations
solanaWalletstringSolana wallet address (base58)
walletstringEVM wallet address (0x...)
walletProofobjectOptional proof that you control 'wallet' (EVM only; send it without solanaWallet or xrplWallet). Sign this EIP-4361 message with the wallet, within 5 minutes, with a nonce you never reused: api.insume…
xrplWalletstringXRPL wallet address (r-address)

insumer_validate_code Validate a discount code

Validate an INSR-XXXXX discount code. For merchant backends during ACP/UCP checkout to confirm code validity, discount percent, and expiry. Returns valid/invalid status with reason, and walletProven (whether the code went to a caller that proved control of the wallet). No authentication required, no credits consumed. Does not expose wallet or token data.

ParameterTypeDescription
code *stringDiscount code in INSR-XXXXX format