Gumloop Integration

Purple Flea + Gumloop:
Agent Finance for No-Code Builders

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.

⚡ Claim Free USDC View API Docs →
6
API Services
137+
Active Agents
1%
Escrow Fee
15%
Referral Rate

Everything Your Agent Workflows Need

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.

💸
Zero-Code Financial Automation
Use Gumloop's HTTP Request node to call Purple Flea APIs directly. No SDK installation, no server setup — just configure a node with your API key and start building.
📈
Live Market Data + Trading
Pull real-time prices, place perpetual futures orders, and track positions — all from a Gumloop trigger. Schedule trading workflows on cron or react to webhook events.
🎮
Casino Bots Without Code
Automate coin flip, crash, and dice strategies. Wire up an HTTP Request node to the casino API, parse the result with a Transform node, and log outcomes to a spreadsheet.
🔒
Trustless Escrow Flows
Trigger escrow deposits, confirmations, and releases from Gumloop. Build multi-step agent payment pipelines with a 1% fee and 15% referral earnings for your workflow.

Connect in 3 Steps

No SDK, no deployment. Gumloop's HTTP Request node handles everything — you just configure the endpoint, headers, and body.

1

Register and get your API key

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.

2

Add an HTTP Request node in Gumloop

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.

3

Parse the JSON response and connect downstream nodes

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.

4

Schedule or trigger on events

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.

💡
Tip: Store your Purple Flea API key as a Gumloop Secret, not as a plain variable. Reference it in HTTP headers as {{secrets.PURPLE_FLEA_KEY}} to keep credentials out of your workflow config.
HTTP Node Config Gumloop HTTP Request Setup
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
}

All 6 APIs at a Glance

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

4 Ready-to-Build Gumloop Workflows

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.

Yield

Daily Crypto Yield 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.

Cron Trigger HTTP: /wallet/balance JSON Parse Calculate Yield Slack / Email
Domains

Domain Availability Checker

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.

Google Sheets Loop Node HTTP: /domains/check Filter Available Sheets Output
Casino

Casino Betting Bot

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.

Trigger HTTP: /casino/bet Condition: won? Update Bet Size Loop / Stop
Referral

Agent Referral Tracker

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.

Daily Cron HTTP: /wallet/referrals JSON Parse Aggregate Notion / Sheets

Workflow 1 — Daily Crypto Yield: curl example

curl GET /api/wallet/balance
# 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
}

Workflow 2 — Domain Availability Checker: curl example

curl POST /api/domains/check
# 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"
}

Workflow 3 — Casino Betting Bot: curl example

curl POST /api/casino/bet
# 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"
}

Workflow 4 — Agent Referral Tracker: curl example

curl GET /api/wallet/referrals
# 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
}

Build Your First Workflow in 10 Minutes

No install, no servers. Just three things: a Gumloop account, a Purple Flea API key, and this guide.

1

Claim free USDC from the faucet

Go to faucet.purpleflea.com, register your agent, and receive free USDC to test all Purple Flea services with zero financial risk.

2

Copy your API key from the dashboard

After registering, your API key is in the agent dashboard. Save it as a Gumloop Secret called PURPLE_FLEA_KEY.

3

Open Gumloop and add an HTTP Request node

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.

4

Run and iterate

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.

New agents get free USDC: The Purple Flea faucet gives new agents free USDC to explore the casino, trading, and wallet APIs. No deposit required — just register and claim.
curl Faucet claim — no auth required
# 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!"
}

Common Questions

Everything Gumloop users ask before integrating Purple Flea.

Does Purple Flea work with Gumloop's HTTP Request node without any plugin?
Yes. Purple Flea exposes standard REST APIs over HTTPS with JSON bodies and Bearer token auth. Gumloop's built-in HTTP Request node is all you need — no custom plugin or connector required. Just paste the endpoint URL, set your Authorization header, and run.
Is there a free way to test before committing real money?
Absolutely. The Purple Flea faucet gives new agents free USDC on registration. Use that balance to test casino bets, trading orders, and wallet transfers without depositing anything. The faucet is also callable from a Gumloop HTTP Request node for fully automated testing flows.
How do I handle pagination and loops in Gumloop for multi-page API results?
Purple Flea APIs return a 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.
Can I earn referral income from agents I send to Purple Flea through my Gumloop workflows?
Yes. Include your Purple Flea referral code as an ?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.
What happens if a Purple Flea API call fails inside my Gumloop workflow?
Gumloop's HTTP Request node exposes the status code and error body in its output. Use a Condition node to check whether status is 200. If not, route to an error branch — send a Slack alert, log to a Sheet, or retry with exponential backoff using Gumloop's Wait node. Purple Flea API errors include a human-readable error.message field for easy debugging.

Ready to Add Finance to Your Gumloop Workflows?

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