Add casino, trading, wallet, domains, faucet, and escrow to your Gumloop workflows in minutes — no backend, no SDK, just HTTP Request nodes and Purple Flea APIs.
Gumloop lets you build sophisticated AI automation without writing code. Purple Flea gives those workflows real financial capabilities — wallets, trading, casino, escrow, and more. Together, you ship production-grade agent finance in hours.
No SDK, no deployment. Gumloop's HTTP Request node handles everything — you just configure the endpoint, headers, and body.
Visit purpleflea.com/casino-api to register your agent wallet. You'll receive a USDC wallet address and API key. New agents can also claim free USDC from the faucet to start testing immediately.
In your Gumloop canvas, add an HTTP Request node. Set the method (GET or POST), enter the Purple Flea endpoint URL, and add the Authorization header: Bearer YOUR_API_KEY. Set Content-Type to application/json.
Use Gumloop's built-in JSON Parse node to extract fields from the Purple Flea API response. Connect outputs to Google Sheets, Slack notifications, conditional branches, or further API calls.
Set a cron trigger for recurring workflows (daily yield checks, domain sweeps) or use a Webhook trigger to react to external events like price alerts, incoming payments, or escrow confirmations.
{{secrets.PURPLE_FLEA_KEY}} to keep credentials out of your workflow config.Method: POST URL: https://purpleflea.com/api/casino/bet Headers: Authorization: Bearer {{secrets.PURPLE_FLEA_KEY}} Content-Type: application/json Body (JSON): { "game": "coin_flip", "amount": 1.00, "choice": "heads" } Response (auto-parsed): { "outcome": "heads", "won": true, "payout": 1.95, "balance": 101.95 }
Every Purple Flea service exposes a clean REST API — perfect for Gumloop's HTTP Request node. All endpoints accept JSON and return JSON.
| Service | Base URL | Key Endpoints | Auth |
|---|---|---|---|
| Casino | purpleflea.com/api/casino | /bet, /history, /balance | Bearer token |
| Trading | purpleflea.com/api/trading | /price, /order, /positions | Bearer token |
| Wallet | purpleflea.com/api/wallet | /balance, /send, /receive | Bearer token |
| Domains | purpleflea.com/api/domains | /check, /register, /list | Bearer token |
| Faucet | faucet.purpleflea.com/api | /claim, /status | Public |
| Escrow | escrow.purpleflea.com/api | /create, /confirm, /release | Bearer token |
Copy the curl commands into Gumloop's HTTP Request node configuration, wire up your parse and output nodes, and you have a working agent finance workflow.
Schedule a daily cron trigger. Check your Purple Flea wallet balance, compare against yesterday's value (stored in Gumloop memory), compute yield, and post a summary to Slack or email.
Take a list of domain names from a Google Sheet, loop through each one calling the Purple Flea domains API, and output a filtered list of available names to a new Sheet tab.
Automate a Martingale or flat-bet strategy on coin flip. On win, reset bet size to base. On loss, double bet. Run for N rounds then stop. Log every result to Airtable.
Pull your referral stats from the Purple Flea wallet API each day, track referred agents and earned fees, and build a running tally in a Google Sheet or Notion database.
# HTTP Request node — GET wallet balance curl -X GET \ https://purpleflea.com/api/wallet/balance \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" # Response { "address": "0xYourAgentWallet", "usdc_balance": 142.50, "eth_balance": 0.041, "pnl_7d": +8.30, "referral_earnings": 3.15 }
# HTTP Request node — check domain availability curl -X POST \ https://purpleflea.com/api/domains/check \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "domain": "myagentbot.com" }' # Response { "domain": "myagentbot.com", "available": true, "price_usd": 12.99, "tld": ".com", "register_url": "https://purpleflea.com/domains-api?d=myagentbot.com" }
# HTTP Request node — place a casino bet curl -X POST \ https://purpleflea.com/api/casino/bet \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "game": "coin_flip", "amount": 2.00, "choice": "heads" }' # Response { "game": "coin_flip", "outcome": "tails", "won": false, "amount_wagered": 2.00, "payout": 0, "balance_after": 98.00, "tx_id": "pf_bet_9f3a2b" }
# HTTP Request node — fetch referral stats curl -X GET \ https://purpleflea.com/api/wallet/referrals \ -H "Authorization: Bearer YOUR_API_KEY" # Response { "referral_code": "pf_ref_abc123", "referred_agents": 7, "total_fees_generated": 41.00, "your_cut_15pct": 6.15, "pending_payout": 2.10 }
No install, no servers. Just three things: a Gumloop account, a Purple Flea API key, and this guide.
Go to faucet.purpleflea.com, register your agent, and receive free USDC to test all Purple Flea services with zero financial risk.
After registering, your API key is in the agent dashboard. Save it as a Gumloop Secret called PURPLE_FLEA_KEY.
Start a new Gumloop flow. Add an HTTP Request node. Enter the Purple Flea endpoint, set the Authorization header to Bearer {{secrets.PURPLE_FLEA_KEY}}, and paste the JSON body from the examples above.
Click Run in Gumloop to test your workflow. Inspect the HTTP response in the node output panel. Connect a JSON Parse node and wire results to Slack, Sheets, or any Gumloop output node.
# Register and claim free USDC curl -X POST \ https://faucet.purpleflea.com/api/claim \ -H "Content-Type: application/json" \ -d '{ "agent_id": "gumloop-agent-001", "wallet_address": "0xYourWallet" }' # Response { "claimed": true, "amount_usdc": 5.00, "tx_hash": "0xabc123...", "message": "Welcome to Purple Flea!" }
Everything Gumloop users ask before integrating Purple Flea.
next_cursor field when results are paginated. Use Gumloop's Loop node combined with a Condition node that checks whether next_cursor is null. Pass the cursor as a query parameter on each subsequent HTTP Request to iterate through all pages.?ref=YOUR_CODE query parameter when calling registration endpoints. You earn 15% of all fees generated by referred agents — tracked in your wallet dashboard and retrievable via the /wallet/referrals endpoint.error.message field for easy debugging.Claim free USDC from the faucet, grab your API key, and ship your first Purple Flea workflow in Gumloop today. Casino, trading, wallet, domains, and escrow — all via HTTP Request nodes.
Free to start · 137+ active agents · 6 live services · 15% referral rate