Skip to content
Hightop docs header art
Hightop
API and Integrations

CLI Command Reference#

This page is generated from the Agent API endpoint catalog and the @hightop/cli command-shaping rules. It documents 85 generated command rows plus the standalone raw, simulate, and operation-wait commands. Current package versions: @hightop/cli@0.1.4 and @hightop/sdk@0.1.4.

Configuration#

InputPurpose
HIGHTOP_BASE_URL / --base-urlAgent API base URL. Defaults are not loaded from .env; export variables in the shell.
HIGHTOP_AGENT_ID + HIGHTOP_API_KEYHeader-key auth. Use both together and do not combine with bearer auth.
HIGHTOP_BEARER_TOKENOAuth bearer token auth. Use instead of header-key auth.
HIGHTOP_TIMEOUT_MS / --timeout-msRequest timeout in milliseconds.
--prettyPretty-print JSON output.
--helpShow global, group, or command-specific help.

Boolean request fields currently parsed as boolean flags:

--allow-conversion, --allow-partial, --enabled, --move-all, --remove-all, --repay-all, --to-best-available, --use-available-cash-first, --use-best-available, --withdraw-all

Generated Endpoint Commands#

CommandEndpointRequest flagsSubmit optionsDescription
hightop accountGET /v1/agent/accountnonenoneReturn a scoped account summary for the authenticated agent wallet.
hightop activityGET /v1/agent/activity--cursor, --limit, --type, --sincenoneList scoped Activity rows for the authenticated agent wallet without marking them read.
hightop activity listGET /v1/agent/activity--cursor, --limit, --type, --sincenoneList scoped Activity rows for the authenticated agent wallet without marking them read.
hightop assetsGET /v1/agent/assets--cursor, --limitnoneList assets visible to the authenticated agent.
hightop assets listGET /v1/agent/assets--cursor, --limitnoneList assets visible to the authenticated agent.
hightop balancesGET /v1/agent/balances--cursor, --limitnoneList balances for the authenticated agent wallet.
hightop balances cashGET /v1/agent/balances/cash--cursor, --limitnoneList cash balances for the authenticated agent wallet.
hightop balances cash listGET /v1/agent/balances/cash--cursor, --limitnoneList cash balances for the authenticated agent wallet.
hightop balances listGET /v1/agent/balances--cursor, --limitnoneList balances for the authenticated agent wallet.
hightop borrowGET /v1/agent/borrownonenoneReturn borrow summary for the authenticated agent wallet.
hightop borrow collateralGET /v1/agent/borrow/collateral--cursor, --limitnoneList collateral for the authenticated agent wallet.
hightop borrow collateral addPOST /v1/agent/borrow/collateral/add--asset, --source-asset, --allow-conversion, --amount, --amount-usd--idempotency-key, --simulate, --wait, --wait-timeout-msCreate a collateral add operation.
hightop borrow collateral listGET /v1/agent/borrow/collateral--cursor, --limitnoneList collateral for the authenticated agent wallet.
hightop borrow collateral removePOST /v1/agent/borrow/collateral/remove--asset, --remove-all, --max-ltv-after, --amount, --amount-usd--idempotency-key, --simulate, --wait, --wait-timeout-msCreate a collateral remove operation.
hightop borrow createPOST /v1/agent/borrow--asset, --max-ltv-after, --amount, --amount-usd--idempotency-key, --simulate, --wait, --wait-timeout-msCreate a borrow operation for USDC or GREEN.
hightop borrow deleveragePOST /v1/agent/borrow/deleverage--target-ltv, --max-repay-amount-usd, --source-asset, --use-available-cash-first, --allow-conversion, --allow-partial--idempotency-key, --simulate, --wait, --wait-timeout-msCreate a target-LTV deleverage operation.
hightop borrow repayPOST /v1/agent/borrow/repay--asset, --repay-all, --source-asset, --allow-conversion, --amount, --amount-usd--idempotency-key, --simulate, --wait, --wait-timeout-msCreate a debt repayment operation.
hightop capabilitiesGET /v1/agent/capabilitiesnonenoneReturn Agent API capabilities for the authenticated agent.
hightop capabilities jsonGET /v1/agent/capabilities.jsonnonenoneReturn Agent API capabilities as JSON.
hightop conversionsGET /v1/agent/conversions--cursor, --limitnoneList conversion operations for the authenticated agent.
hightop conversions executePOST /v1/agent/conversions--quote-id--idempotency-key, --simulate, --wait, --wait-timeout-msExecute a conversion from a quote.
hightop conversions get <id>GET /v1/agent/conversions/{id}--includenoneGet one conversion operation for the authenticated agent.
hightop conversions listGET /v1/agent/conversions--cursor, --limitnoneList conversion operations for the authenticated agent.
hightop conversions quotePOST /v1/agent/conversions/quote--from-asset, --to-asset, --from-vault-address, --to-vault-address, --slippage-percent, --amount, --amount-usd--idempotency-key, --simulateCreate a stateful conversion quote.
hightop deposit-addressGET /v1/agent/deposit-address--asset, --chainnoneReturn a Base deposit address for an asset.
hightop deposit-methodsGET /v1/agent/deposit-methods--cursor, --limitnoneList deposit methods for the authenticated agent wallet.
hightop deposit-methods listGET /v1/agent/deposit-methods--cursor, --limitnoneList deposit methods for the authenticated agent wallet.
hightop earnGET /v1/agent/earn--cursor, --limitnoneList earn positions for the authenticated agent wallet.
hightop earn depositPOST /v1/agent/earn/deposit--asset, --vault-id, --use-best-available, --amount, --amount-usd--idempotency-key, --simulate, --wait, --wait-timeout-msCreate an earn deposit operation.
hightop earn get <id>GET /v1/agent/earn/{id}nonenoneGet one earn position for the authenticated agent wallet.
hightop earn listGET /v1/agent/earn--cursor, --limitnoneList earn positions for the authenticated agent wallet.
hightop earn movePOST /v1/agent/earn/move--from-position-id, --move-all, --to-vault-id, --to-best-available, --amount, --amount-usd--idempotency-key, --simulate, --wait, --wait-timeout-msCreate an earn move operation.
hightop earn opportunitiesGET /v1/agent/earn/opportunities--cursor, --limitnoneList earn opportunities available to the authenticated agent.
hightop earn opportunities listGET /v1/agent/earn/opportunities--cursor, --limitnoneList earn opportunities available to the authenticated agent.
hightop earn rewards claimPOST /v1/agent/earn/rewards/claim--protocols--idempotency-key, --simulate, --wait, --wait-timeout-msCreate a rewards claim operation.
hightop earn withdrawPOST /v1/agent/earn/withdraw--position-id, --withdraw-all, --destination-asset, --allow-conversion, --amount, --amount-usd--idempotency-key, --simulate, --wait, --wait-timeout-msCreate an earn withdrawal operation.
hightop one-off-paymentsGET /v1/agent/one-off-payments--cursor, --limitnoneList one-off payment operations for the authenticated agent.
hightop one-off-payments createPOST /v1/agent/one-off-payments--to, --asset, --note, --unlock-delay-seconds, --expires-in-seconds, --amount, --amount-usd--idempotency-key, --simulate, --wait, --wait-timeout-msCreate a one-off payment operation.
hightop one-off-payments get <id>GET /v1/agent/one-off-payments/{id}--includenoneGet a one-off payment operation for the authenticated agent.
hightop one-off-payments listGET /v1/agent/one-off-payments--cursor, --limitnoneList one-off payment operations for the authenticated agent.
hightop openapiGET /v1/agent/openapi.jsonnonenoneReturn the public Agent API OpenAPI document.
hightop operationsGET /v1/agent/operations--cursor, --limit, --status, --type, --sincenoneList AgentOperation rows for the authenticated agent.
hightop operations get <id>GET /v1/agent/operations/{id}--includenoneGet one AgentOperation for the authenticated agent.
hightop operations listGET /v1/agent/operations--cursor, --limit, --status, --type, --sincenoneList AgentOperation rows for the authenticated agent.
hightop paymentsGET /v1/agent/payments--cursor, --limitnoneList payment operations for the authenticated agent.
hightop payments createPOST /v1/agent/payments--to, --asset, --deliver-as, --note, --slippage-percent, --prefer, --amount, --amount-usd--idempotency-key, --simulate, --wait, --wait-timeout-msCreate a payment operation.
hightop payments get <id>GET /v1/agent/payments/{id}--includenoneGet one payment operation for the authenticated agent.
hightop payments listGET /v1/agent/payments--cursor, --limitnoneList payment operations for the authenticated agent.
hightop protocolsGET /v1/agent/protocols--cursor, --limitnoneList protocols visible to the authenticated agent.
hightop protocols listGET /v1/agent/protocols--cursor, --limitnoneList protocols visible to the authenticated agent.
hightop recipientsGET /v1/agent/recipients--cursor, --limitnoneList payment recipients visible to the authenticated agent wallet.
hightop recipients get <id>GET /v1/agent/recipients/{id}nonenoneGet one recipient visible to the authenticated agent wallet.
hightop recipients listGET /v1/agent/recipients--cursor, --limitnoneList payment recipients visible to the authenticated agent wallet.
hightop recipients resolvePOST /v1/agent/recipients/resolve--to, --asset, --actionnoneResolve an agent-facing recipient identifier.
hightop recurring-paymentsGET /v1/agent/recurring-payments--cursor, --limitnoneList recurring payment recipients visible to the authenticated agent wallet.
hightop recurring-payments get <id>GET /v1/agent/recurring-payments/{id}nonenoneGet one recurring payment recipient visible to the authenticated agent wallet.
hightop recurring-payments listGET /v1/agent/recurring-payments--cursor, --limitnoneList recurring payment recipients visible to the authenticated agent wallet.
hightop selfGET /v1/agent/selfnonenoneReturn the authenticated agent and scoped wallet context.
hightop self usageGET /v1/agent/self/usagenonenoneReturn current Agent API rate-limit and usage state.
hightop trusted-destinationsGET /v1/agent/trusted-destinations--cursor, --limitnoneList trusted destinations visible to the authenticated agent wallet.
hightop trusted-destinations cancel <id>POST /v1/agent/trusted-destinations/{id}/cancelnone--idempotency-key, --simulate, --wait, --wait-timeout-msCancel a pending trusted destination for the authenticated agent wallet.
hightop trusted-destinations confirm <id>POST /v1/agent/trusted-destinations/{id}/confirmnone--idempotency-key, --simulate, --wait, --wait-timeout-msConfirm a pending trusted destination for the authenticated agent wallet.
hightop trusted-destinations delete <id>DELETE /v1/agent/trusted-destinations/{id}none--idempotency-key, --simulate, --wait, --wait-timeout-msRemove a trusted destination from the authenticated agent wallet.
hightop trusted-destinations get <id>GET /v1/agent/trusted-destinations/{id}nonenoneGet one trusted destination visible to the authenticated agent wallet.
hightop trusted-destinations listGET /v1/agent/trusted-destinations--cursor, --limitnoneList trusted destinations visible to the authenticated agent wallet.
hightop usageGET /v1/agent/self/usagenonenoneReturn current Agent API rate-limit and usage state.
hightop webhooksGET /v1/agent/webhooks--cursor, --limitnoneList outbound webhook endpoints for the authenticated agent.
hightop webhooks createPOST /v1/agent/webhooks--url, --description, --event-types--idempotency-keyCreate an outbound webhook endpoint.
hightop webhooks delete <id>DELETE /v1/agent/webhooks/{id}none--idempotency-keyDelete or disable an outbound webhook endpoint.
hightop webhooks deliveries <id>GET /v1/agent/webhooks/{id}/deliveries--cursor, --limit, --status, --event-idnoneList webhook delivery attempts for one outbound webhook endpoint.
hightop webhooks get <id>GET /v1/agent/webhooks/{id}--includenoneGet one outbound webhook endpoint for the authenticated agent.
hightop webhooks listGET /v1/agent/webhooks--cursor, --limitnoneList outbound webhook endpoints for the authenticated agent.
hightop webhooks rotate-secret <id>POST /v1/agent/webhooks/{id}/rotate-secretnone--idempotency-keyRotate an outbound webhook signing secret.
hightop webhooks test <id>POST /v1/agent/webhooks/{id}/testnone--idempotency-keySend a webhook.test delivery to an outbound webhook endpoint.
hightop webhooks update <id>PATCH /v1/agent/webhooks/{id}--url, --description, --event-types, --enabled--idempotency-keyUpdate an outbound webhook endpoint.
hightop withdrawal-methodsGET /v1/agent/withdrawal-methods--cursor, --limitnoneList withdrawal methods visible to the authenticated agent wallet.
hightop withdrawal-methods listGET /v1/agent/withdrawal-methods--cursor, --limitnoneList withdrawal methods visible to the authenticated agent wallet.
hightop withdrawalsGET /v1/agent/withdrawals--cursor, --limitnoneList withdrawal operations for the authenticated agent.
hightop withdrawals get <id>GET /v1/agent/withdrawals/{id}--includenoneGet one withdrawal operation for the authenticated agent.
hightop withdrawals listGET /v1/agent/withdrawals--cursor, --limitnoneList withdrawal operations for the authenticated agent.
hightop withdrawals to-bankPOST /v1/agent/withdrawals/to-bank--method-id, --asset, --note, --amount, --amount-usd--idempotency-key, --simulate, --wait, --wait-timeout-msCreate a bank withdrawal operation.
hightop withdrawals to-cryptoPOST /v1/agent/withdrawals/to-crypto--destination-id, --asset, --note, --amount, --amount-usd--idempotency-key, --simulate, --wait, --wait-timeout-msCreate a crypto withdrawal operation.
hightop x402 purchasePOST /v1/agent/x402/purchase--url, --method, --body, --max-amount--idempotency-key, --wait, --wait-timeout-msFetch a URL, satisfy an x402 challenge when required, and return the upstream response.
hightop x402 quotePOST /v1/agent/x402/quote--url, --method, --body, --timeout-msnoneFetch a URL and return its supported x402 price without paying.
hightop x402 signPOST /v1/agent/x402/sign--payment-requirements, --pay-to, --amount, --target-url, --max-timeout-seconds--idempotency-key, --wait, --wait-timeout-msSign a Base USDC x402 payment authorization from an x402 payment requirement.

Standalone Commands#

CommandPurposeImportant flags
hightop raw <method> <path>Call a known /v1/agent/* route directly. The SDK still validates known-route and idempotency requirements.--query key=value, --body '{"field":"value"}', --idempotency-key <key>
hightop simulate <method> <path>Call POST /v1/agent/simulate for a supported write route without broadcasting.--body '{"field":"value"}'
hightop operations wait <id>Poll an operation until it reaches a terminal status or times out.--timeout-ms <ms>, --poll-interval-ms <ms>

Previous

CLI

Next

MCP