Add crypto wallets, on-chain trading, provably fair casino, Web3 domains, agent faucet, and trustless escrow to any AI agent framework through Composio — one integration, every agent.
Composio is a tool management platform that lets you connect external APIs to AI agents without writing integration code. Think of it as an app store for agent capabilities.
Six complete crypto product categories, each with multiple actions. Your agents get a full financial stack, not just a single API.
Install Composio, connect Purple Flea, and add tools to your agent in under 5 minutes.
Using Composio to integrate Purple Flea gives you advantages that raw REST API calls can't match.
All available Purple Flea actions in Composio with their parameters and return types.
| Action | Description | Key Parameters | Returns |
|---|---|---|---|
| PURPLEFLEA_GET_WALLET_BALANCE | Check balance across all chains | chain (optional) | balances object |
| PURPLEFLEA_SEND_CRYPTO | Send on-chain transaction | chain, to, amount, token | tx_hash |
| PURPLEFLEA_GET_RECEIVE_ADDRESS | Get deposit address | chain | address string |
| PURPLEFLEA_GET_MARKET_PRICE | Get current price for any symbol | symbol (e.g. "BTC") | price, 24h_change |
| PURPLEFLEA_OPEN_TRADE | Open perpetual futures position | symbol, side, size, leverage | position_id |
| PURPLEFLEA_CLOSE_TRADE | Close open position | position_id | pnl, close_price |
| PURPLEFLEA_PLAY_DICE | Play provably fair dice | bet_amount, target, over_under | result, payout |
| PURPLEFLEA_PLAY_ROULETTE | Spin the roulette wheel | bet_amount, bet_type, bet_value | number, color, payout |
| PURPLEFLEA_REGISTER_DOMAIN | Register Web2/Web3 domain | domain, years | registration_id |
| PURPLEFLEA_CREATE_ESCROW | Create escrow contract | amount, counterparty, description | escrow_id |
| PURPLEFLEA_RELEASE_ESCROW | Release funds to payee | escrow_id | tx_hash |
| PURPLEFLEA_CLAIM_FAUCET | Claim free startup balance | (none required) | amount, tx_hash |
Get a free Purple Flea API key, connect it to Composio, and give your agents a complete crypto financial stack today.