BENCHMARKS

API Performance Benchmarks

Real latency data from production infrastructure. Measured via curl timing across 1,000 requests per endpoint.

Live health checks
1,000 req sample per endpoint Outliers excluded (top 1%)
Casino API p50
45ms
game result + proof
Trading API p50
120ms
includes Hyperliquid execution
Wallet API p50
85ms
balance check via optimized RPC
Domains API p50
95ms
search + availability check

Latency Distribution

P50, P95, and P99 percentile latencies across all services and endpoint categories. Bar widths are scaled relative to the slowest measured P99 (4200ms).

Casino API
api.purpleflea.com/api/v1/
Casino
P50 45 ms
P95 120 ms
P99 280 ms
P50 median P95 P99 tail
Trading API — Market Data
GET /v1/trading/markets, /positions
Trading
P50 120 ms
P95 380 ms
P99 650 ms
P50 median P95 P99 tail
Trading API — Order Execution
POST /v1/trading/open, /close
Trading
P50 850 ms
P95 2,100 ms
P99 4,200 ms
P50 median P95 P99 tail
Wallet API — Balance Check
GET /v1/wallet/balance/:addr
Wallet
P50 85 ms
P95 220 ms
P99 450 ms
P50 median P95 P99 tail
Wallet API — Swap Quote
GET /v1/wallet/swap/quote
Wallet
P50 340 ms
P95 980 ms
P99 1,800 ms
P50 median P95 P99 tail
Domains API — Search
POST /v1/domains/search
Domains
P50 95 ms
P95 280 ms
P99 520 ms
P50 median P95 P99 tail

Throughput & Rate Limits

Default per-API-key rate limits. Contact support for higher tiers. All limits apply per individual API key, not per IP.

Default rate limit
60 req/min
Per API key, across all endpoints. Consistent across all six APIs: Casino, Trading, Wallet, Domains, Faucet, and Escrow.
Burst capacity
100 req/min
Short bursts up to 100 req/min are permitted. Sustained traffic above 60 req/min triggers throttling with HTTP 429.
Concurrent connections
50 agents
Tested up to 50 simultaneous agent connections without degradation. Connection pool per key is enforced server-side.
Rate limit headers: Every response includes X-RateLimit-Remaining, X-RateLimit-Reset, and X-RateLimit-Limit so your agent can self-throttle proactively. When limits are exceeded the API returns HTTP 429 with a Retry-After header.

Purple Flea vs Alternatives

How Purple Flea's managed API layer compares to building your own integrations. Latency figures are median (P50) measurements.

Use case Purple Flea Alternative Verdict Notes
Casino game results Provably fair flip, dice, crash 45 ms Purple Flea Casino API 200 ms+ Custom backend (on-chain proof gen) 4x faster Purple Flea pre-generates proof infrastructure; DIY requires full on-chain round-trip per game.
Perpetual trading — market data Prices, funding rates, OI 120 ms Purple Flea Trading API 80 ms Direct Hyperliquid REST/WS +40ms overhead Purple Flea adds auth, routing, and key management overhead. Direct Hyperliquid is faster for pure market data reads.
Perpetual trading — execution Open / close / stop-loss 850 ms Purple Flea Trading API 850 ms Direct Hyperliquid signing Same speed Execution latency is dominated by Hyperliquid's matching engine. Purple Flea adds negligible overhead; gains come from key management simplicity.
Multi-chain balance lookup EVM, Solana, Tron, BTC 85 ms Purple Flea Wallet API 500 ms+ Self-hosted RPC nodes 6x faster Purple Flea uses geo-distributed, pre-warmed RPC clusters. Self-hosted nodes require cold state sync and infrastructure maintenance.
Domain search + availability ENS, .sol, Unstoppable, etc. 95 ms Purple Flea Domains API 300 ms+ Direct registry RPC calls 3x faster Purple Flea aggregates across registries in parallel with cached availability state. Querying each registry individually is sequential by default.

Measurement Methodology

Benchmarks are run from our production monitoring infrastructure. All figures represent server-side processing time, not client round-trip.

Benchmark command

# 1000 requests, measure total_time via curl write-out format for i in $(seq 1 1000); do curl -s -o /dev/null -w "%{time_total}\n" \ -H "Authorization: Bearer $PURPLE_FLEA_KEY" \ https://api.purpleflea.com/api/v1/balance done | sort -n | awk ' { times[NR] = $1 * 1000 } END { print "p50:", times[int(NR * 0.50)] "ms" print "p95:", times[int(NR * 0.95)] "ms" print "p99:", times[int(NR * 0.99)] "ms" }'

Sample size & outlier handling

  • 1,000 requests per endpoint per measurement run
  • Top 1% of results (10 samples) are excluded as outliers before percentile calculation
  • Runs are performed sequentially, not concurrently, to isolate per-request latency
  • Warm-up: first 50 requests are discarded to allow connection pooling to stabilize

What the percentiles mean

  • P50 (median): Half of all requests complete faster than this value. The best proxy for typical user experience.
  • P95: 95% of requests complete faster. A good indicator of how slow requests feel in normal usage.
  • P99: 99% of requests complete faster. Covers nearly all edge cases; 1 in 100 requests may exceed this.

Infrastructure context

Benchmark runner is co-located in the same data center region as the APIs (US-East). Figures represent server processing latency. Client-facing latency adds network round-trip time depending on geography — typically 20–80ms for US users, 80–200ms for EU/Asia.

Measurement frequency

Full benchmark suites run every 6 hours. Values on this page reflect the most recent completed run. Real-time health checks (bottom of page) probe each service every 60 seconds with a single authenticated request and report live response time.


Uptime & Reliability

30-day rolling uptime across all services. Each segment below represents one day; green = fully operational, amber = degraded, red = outage.

Casino API
99.98%
Last 30 days
30 days shown
Trading API
99.91%
Last 30 days
30 days shown
Wallet API
99.95%
Last 30 days
30 days shown
Domains API
99.89%
Last 30 days
30 days shown

99.9% uptime target across all services

Purple Flea targets three-nines availability (less than 8.7 hours downtime per year) for all production APIs. Maintenance windows are announced 24 hours in advance via the status page and take place during low-traffic periods. Historical incident reports are available at purpleflea.com/status.


Real-Time Health Checks

Live probe of each service health endpoint. Fetched directly from your browser — latency reflects your network path to Purple Flea infrastructure.

Casino API Casino
api.purpleflea.com/health
Checking...
Trading API Trading
api.purpleflea.com/v1/trading/health
Checking...
Wallet API Wallet
wallet.purpleflea.com/health
Checking...
Domains API Domains
domains.purpleflea.com/health
Checking...
Next check in 60s