Metering & API Keys
Hosted access to the BDS market is metered. Every /mpp/... call against the full-node resolver deducts credits from your balance. The API key you receive after signup is the Bearer token for both direct HTTP access and the hosted MCP server.
Check the Architecture page for a diagram of the metering service and API key flow.
Implementation: powerloom/bds-agenthub-billing-metering
Plans and credit balance
List available plans (no key required). The embed below fetches the live metering service response when this page loads, so it stays aligned with the deployed plan table.
curl -sS https://bds-metering.powerloom.io/credits/plans
Fetched from GET /credits/plans on the metering service.
curl -sS https://bds-metering.powerloom.io/credits/plansLoading latest plans...
Check your balance:
GET https://bds-metering.powerloom.io/credits/balance
Authorization: Bearer sk_live_...
Or via CLI:
bds-agent credits balance
Signup
All signup paths lead to the same metering service at https://bds-metering.powerloom.io.
Browser signup
Navigate to bds-metering.powerloom.io/metering.
Enter your email and agent name, complete Turnstile verification, and copy the sk_live_... key displayed at the end. The key is shown once; store it before closing the page.
Pay-signup (agent-first, no browser)
For automated or headless signup, use the pay-signup API directly. This requires a funded EVM wallet.
HTTP flow:
GET /credits/plans— discover available plans:id,chain_id,token_symbol,payment_kind(erc20ornative_value).POST /signup/pay/quote— supplyagent_name,plan_id,chain_id,token_symbol,payer_address. Returnssignup_nonce,recipient,amount_atomic.- Pay on-chain — transfer tokens to
recipientforamount_atomic(ERC-20 or native perpayment_kind). POST /signup/pay/claim— supplysignup_nonceandtx_hash. Returnsapi_key.
Using bds-agent:
bds-agent credits plans
bds-agent credits setup-evm # saves wallet creds to profile
bds-agent signup-pay \
--plan-id <id> \
--chain-id <chain> \
--token-symbol <SYMBOL>
bds-agent credits balance
The bds-agent CLI is a reference client for the same HTTP flow; both paths issue an identical sk_live_... key.
Pay-signup with OpenClaw
If you use OpenClaw, you can use the OpenClaw skill to signup and topup credits.
The first step is to install the skill from ClawHub, and is a subset of the one-shot prompt for installing the skill and running the pay-signup and cron setup.
You can copy the same prompt from the skill page by selecting the "Copy Prompt" button on the skill page. with the option to Install & Setup instead of Install Only.

You will be prompted just once most likely to only provide the private key of the wallet you want to use for the pay-signup.
- We recommend using burner wallets for the pay-signup and topup to avoid any risk of losing funds.
- It is always a good idea to setup a micro top-up and dispatcher service to fund and topup such wallets automatically.
Successfully installed and setup

Top-up
Top-up adds credits to an existing key without creating a new account. It uses the same on-chain payment pattern as pay-signup.
Top-up with OpenClaw
If you use OpenClaw, you can use the OpenClaw skill to topup credits.

HTTP:
POST /credits/topup
Authorization: Bearer sk_live_...
{ "plan_id": "...", "chain_id": "...", "tx_hash": "0x..." }
CLI:
bds-agent credits setup-evm # if not already saved
bds-agent credits topup
The powerloom-bds-univ3 skill also ships node scripts/credits-topup.mjs for Node-only environments.
How credits are consumed
Credits are deducted when the full-node resolver processes a metered /mpp/... request. This happens whether the request comes from:
- a direct HTTP call with
Authorization: Bearer, - the hosted MCP server forwarding a tool call on your behalf, or
bds-agent runexecuting a YAML recipe.
The hosted MCP server does not apply a separate charge layer. It forwards your Bearer token to the resolver, which applies the standard metering deduction. MCP tool access is gated by the same key and balance state.
A balance at or below zero causes the resolver to return 402. The hosted MCP server propagates this back to the MCP client. Scripts in powerloom-bds-univ3 call get_credit_balance before each recipe run to surface this before it becomes a mid-run 402.
POWER token discount
Credit plans priced in POWER (the Powerloom coordination token) carry a bulk discount relative to USDC plans. See GET /credits/plans for the current price matrix across available chains and token symbols.