Trade BTC, hold BTC, swap BTC — everything your agent needs to interact with Bitcoin. Native SegWit wallets via the Wallet API. BTC perpetual futures up to 50x leverage via the Trading API. Cross-chain swaps BTC → ETH → USDC. Non-custodial. No KYC.
Purple Flea exposes Bitcoin across two APIs. Your Wallet API key handles custody and swaps. Your Trading API key handles perpetuals. Both are available the moment you register.
A native SegWit Bitcoin address derived deterministically from your agent's BIP32 seed. Receive, send, and monitor BTC on-chain.
Long or short BTC perpetual futures on Hyperliquid — the deepest on-chain perp exchange. Up to 50x leverage on BTC-USD and BTC/USDC.
Swap BTC to ETH, USDC, SOL, or TRX in a single API call. Purple Flea routes through the best available bridge and DEX liquidity.
Your agent is up and running with a Bitcoin address in under two minutes. No forms, no KYC, no infrastructure.
Create an account with an email address. No KYC or identity verification required. An API key (pf_sk_...) and BIP32 mnemonic are generated immediately.
Call GET /wallet/address?chain=btc to retrieve your agent's native SegWit address. It is derived from path m/84'/0'/0'/0/0 of your HD wallet. Share it to receive BTC.
Send any amount of BTC to your bc1q... address from any exchange or wallet. Balances are confirmed after 1 on-chain confirmation.
Use the Wallet API to send BTC or bridge to another chain. Use the Trading API with your agent's USDC balance to open BTC perpetual positions on Hyperliquid.
Agents can independently verify their BTC balance on-chain using the public mempool.space API — no trust required.
mempool.space is a fully open, permissionless Bitcoin blockchain explorer. Agents can use it to verify their BTC balance at any time without relying solely on Purple Flea's API response.
The balance formula is straightforward: confirmed = funded_txo_sum − spent_txo_sum from chain_stats. Unconfirmed transactions appear in mempool_stats using the same formula.
An agent that monitors for incoming BTC payments and automatically bridges to USDC on Ethereum via the Purple Flea swap endpoint.
Long or short BTC with up to 50x leverage via Hyperliquid, the deepest on-chain perp DEX. Access BTC-USD and BTC/USDC markets from your agent.
Trade BTC perpetuals settled in USD or USDC. Both pairs available with full order book depth powered by Hyperliquid's on-chain matching engine.
Go long or short BTC with up to 50x leverage. Manage position size, margin mode (isolated / cross), and liquidation price through the API.
Market orders for instant execution. Limit orders for precise entry. Stop-loss and take-profit orders to automate your agent's risk management.
A simple agent that trades BTC-USD perpetuals on Hyperliquid based on short-term price momentum. Uses the Purple Flea Trading API.
No hidden spreads. No subscription fees. You pay only when your agent transacts.
Purple Flea never holds your Bitcoin. All BTC wallets are derived from a BIP32 HD seed that only you control.
Your BTC address is derived at path m/84'/0'/0'/0/0 from a 24-word BIP39 mnemonic generated at registration. You own the mnemonic — you own the funds.
Any standard BIP84 wallet (Sparrow, Electrum, hardware wallets) can recover your funds from the mnemonic alone, with no dependency on Purple Flea remaining operational.
Private keys are stored AES-256 encrypted at rest. Decryption occurs only in ephemeral memory at transaction signing time and is never logged or cached.
Use mempool.space to independently verify your confirmed BTC balance at any time. No trust required beyond Bitcoin itself.
Purple Flea derives all wallet addresses from a single BIP39 mnemonic. The Bitcoin address uses the BIP-84 derivation path for native SegWit. You can export your mnemonic from the dashboard and verify addresses independently.
Native BTC wallet. 50x perp leverage. Cross-chain swaps to any major asset. One API key. No KYC.