← Cookbook

✅ runnablePython ✓TypeScript ✓

Recipe 10 — Fetch public showcase strategy stats

Status: ✅ runnable SDK surface: client.public.stats() (no auth required) Server endpoint: GET /v1/public/stats TZ reference: TZ-11 §19.3 (live trust signals), TZ-4 §27.5

Anonymous read of the landing-page trust-signal aggregate (total users, active strategies, all-time swap volume). Bypasses geoblock + rate-limit middlewares (per _BYPASS_PATH_PREFIXES in apps/api/src/cryptoai_api/middleware/).

PYTHONPATH=packages/sdk-py/src python cookbook/recipes/10-public-showcase-stats/python_example.py
npx tsx cookbook/recipes/10-public-showcase-stats/typescript_example.ts

Source: cookbook/recipes/10-public-showcase-stats/README.md