On this page
A custodial API holds your private keys. CryptoAPI does not. The signing key stays in your wallet. Review the destination, amount and network in your signing environment before approving any transaction.
1. Create and back up wallets locally
Generate or import a wallet in your own wallet software. Keep its private key and recovery phrase in that signing environment. Store a mapping from the public address to your user or invoice when you need it for lookups.
Sending is client-side: the API can't sign for you
CryptoAPI never signs a transaction, because signing requires the key it does not have. The send flow is split deliberately:
- Pull the data needed to build a transaction with
GET /api/blockchain/transaction-meta—feeData,gasLimit,chainId,nonce, andbalance. - Build and sign the transaction locally, with your own key, in your own runtime.
- Broadcast only the signed
rawTx.
curl -X POST https://api.cryptoapi.so/api/wallet/send \
-H "key: <YOUR_API_KEY>" \
-H "Content-Type: application/json" \
-d '{"network":"ethereum","rawTx":"0xf86c808504a817c800..."}'{ "txid": "0x9f2c...ab" }The payload is an already-signed blob. The worst an attacker with your API key can do is read balances and re-broadcast a transaction you already signed — they can never craft a new spend, because the signature happens on your side. Funds stay yours, end to end.
You still get full read access without ever exposing a key: POST /api/wallet/balance returns native and token balances with usdValue baked in, and GET /api/blockchain/transactions gives you indexed history (up to 30 days of live indexed data) for polling-based alerts. This works across ethereum, bnb, bitcoin, and tron.
Practical key hygiene
Non-custodial means the responsibility for keys is yours. Treat them accordingly:
- Store keys in a KMS or HSM. Never drop a private key or mnemonic into a database column, a config file, or a committed env file.
- Never log key material. Strip
keyandmnemonicfrom logs, traces, and error reports before they leave the process. - Keep API keys server-side. The
keyheader authenticates to CryptoAPI — it is not a blockchain key, but it should never ship in frontend code. Proxy calls through your backend. - Rotate API keys on a schedule and immediately after any suspected exposure, straight from your dashboard.
- Back up your signing wallet before receiving funds. Test recovery in your own wallet environment.
Ship on a model you can trust
Non-custodial is not a feature we toggle on — it is how CryptoAPI is built. You sign, you control, you own the keys; we handle multi-chain access so you skip running node infrastructure.
Grab an API key in the dashboard and read the full reference at https://api.cryptoapi.so/api/doc.