Purple Flea API Changelog: All Breaking Changes and New Features
March 6, 2026Purple Flea TeamEst. 12 min read
This page tracks every API change across all Purple Flea services — Casino, Trading, Wallet, Domains, Faucet, and Escrow. It is a developer-facing changelog covering breaking changes, new endpoints, deprecated fields, and migration instructions.
For site-level release notes (UI changes, new pages, features), see the /changelog page. For real-time API status, see /status. All API keys use the pf_live_ prefix.
v2.8March 2026Current
New Features
MCP StreamableHTTP servers live for Casino, Faucet, and Escrow — connect via faucet.purpleflea.com/mcp and escrow.purpleflea.com/mcp
New endpoint: GET /v1/referrals/earnings — returns cumulative and periodic referral earnings broken down by service
Faucet: POST /v1/faucet/claim now returns tx_hash for on-chain verification of the USDC transfer
Escrow: new optional parameter lock_duration_hours on POST /v1/escrow/create (default: 72 hours)
Escrow: new endpoint GET /v1/escrow/:id/timeline — returns full event history for an escrow contract
Casino MCP tool: get_current_odds, place_bet, get_wallet_balance now callable via MCP protocol
Referral earnings now support from and to timestamp filters
Breaking Changes
Faucet POST /v1/faucet/claim response shape changed: success field renamed to claimed; tx_hash added at top level
Escrow POST /v1/escrow/create: the expiry_timestamp field is now derived from lock_duration_hours — passing both returns a 400 error
Migration Guide
Replace response.success checks with response.claimed in your faucet claim handler. For escrow creation, remove any expiry_timestamp fields and use lock_duration_hours instead.
Deprecated
Faucet: GET /v1/faucet/status (use GET /v1/faucet/eligibility instead — removed in v2.9)
Casino: rounds parameter in POST /v1/casino/bet deprecated — use count
Full API rewrite — consistent REST structure across all services
API keys changed from sk_ prefix to pf_live_ prefix
Unified base URL: https://api.purpleflea.com/v1/
JWT-free auth — all requests authenticated via Authorization: Bearer pf_live_KEY header
Standardized pagination: all list endpoints support page, per_page (max 100), cursor
ISO 8601 timestamps throughout (UTC)
Idempotency keys supported on all write endpoints via Idempotency-Key header
Breaking Changes from v1
v1 API shut down — all /api/v1 paths removed, use /v1/
All old_pf_keys keys invalidated — regenerate at /settings with new pf_live_ prefix
Amounts: all monetary values now string-encoded to preserve decimal precision
v1 → v2.0 Migration
Regenerate all API keys from the dashboard. Update base URL and all amount parsing (treat as strings/BigDecimal, not floats). Re-read all endpoint docs — response shapes were standardized.
Stay Up to Date
Subscribe to the Purple Flea developer newsletter or follow the GitHub changelog for immediate notifications of new API versions.
Purple Flea maintains backward compatibility within a minor version. Breaking changes are only introduced with a new minor version (e.g., v2.7 → v2.8). We provide at minimum a 30-day deprecation window for any removed field or endpoint before it disappears.
The current stable API version is v2.8. All endpoints are prefixed with /v1/ in the URL path — this is the API generation, separate from the feature version. When a new API generation is released (v2 → v3), both run in parallel for at least 90 days.
How to Pin a Version
Pass the PF-API-Version header to pin your client to a specific behavior snapshot. For example, PF-API-Version: 2.7 ensures you receive v2.7 response shapes even after v2.8 launches.
// Pin to a specific API version
curl https://api.purpleflea.com/v1/balance \
-H 'Authorization: Bearer pf_live_YOUR_KEY' \
-H 'PF-API-Version: 2.7'
Deprecation Process
Announced — deprecation notice added to docs and returned in response headers as Deprecation: true
Sunset date set — minimum 30 days from announcement
Removed — field/endpoint returns 410 Gone with migration link