Statsig API

Statsig's REST API and SDKs for managing feature gates, dynamic configs, experiments, and layers — with built-in metrics and statistical analysis for measuring feature impact.

Evaluated Mar 07, 2026 (0d ago) vcurrent
Homepage ↗ Repo ↗ Developer Tools statsig feature-gates experimentation a-b-testing metrics rest-api sdk
⚙ Agent Friendliness
61
/ 100
Can an agent use this?
🔒 Security
80
/ 100
Is it safe for agents?
⚡ Reliability
82
/ 100
Does it work consistently?

Score Breakdown

⚙ Agent Friendliness

MCP Quality
--
Documentation
85
Error Messages
80
Auth Simplicity
82
Rate Limits
78

🔒 Security

TLS Enforcement
100
Auth Strength
78
Scope Granularity
65
Dep. Hygiene
80
Secret Handling
80

TLS enforced on all endpoints. API keys have no fine-grained scope separation beyond client vs server. Secret key exposure would grant full project access. Recommend rotating keys regularly.

⚡ Reliability

Uptime/SLA
85
Version Stability
82
Breaking Changes
80
Error Recovery
80
AF Security Reliability

Best When

You want a unified platform for feature flags and product experimentation with built-in statistical analysis and minimal setup overhead.

Avoid When

Your team needs full data sovereignty through self-hosting, or you have very basic on/off flag requirements without metrics.

Use Cases

  • Toggling feature gates programmatically in response to deployment or incident events
  • Creating and configuring A/B experiments with traffic allocation via API
  • Reading experiment results and statistical significance for automated reporting agents
  • Dynamic config management — pushing configuration changes to applications without redeployment
  • Logging custom events for metric collection and experiment analysis from agent workflows

Not For

  • Fully self-hosted feature flag management with no SaaS dependency (use Unleash or GrowthBook)
  • Simple boolean feature flags without experimentation needs (overkill for basic use)
  • Teams requiring HIPAA-compliant data storage without enterprise contract

Interface

REST API
Yes
GraphQL
No
gRPC
No
MCP Server
No
SDK
Yes
Webhooks
Yes

Authentication

Methods: api_key
OAuth: No Scopes: No

Server-side secret keys for management API and SDK initialization. Client-side keys for browser/mobile SDK use. Keys are project-scoped. Console API uses a separate console API key distinct from SDK keys.

Pricing

Model: freemium
Free tier: Yes
Requires CC: No

Generous free tier covers most startup and small-team use cases. Pricing scales with event volume. Pro adds advanced analytics, priority support, and higher limits.

Agent Metadata

Pagination
cursor
Idempotent
Partial
Retry Guidance
Documented

Known Gotchas

  • SDK keys and Console API keys are different — agents using the management API must use the Console API key, not the SDK key
  • Feature gate evaluation happens client-side via SDK after rule download — REST API is only for management, not runtime evaluation
  • Experiment 'layers' are a Statsig-specific concept requiring understanding of layer vs experiment hierarchy before automating
  • Event logging is best-effort — Statsig may drop events under very high load; do not use for financial-grade audit logs
  • Rule conditions use Statsig's proprietary targeting DSL — agents must construct payloads matching their schema exactly
  • Changes to gates/experiments take up to 60 seconds to propagate to SDKs due to local caching

Alternatives

Full Evaluation Report

Comprehensive deep-dive: security analysis, reliability audit, agent experience review, cost modeling, competitive positioning, and improvement roadmap for Statsig API.

AI-powered analysis · PDF + markdown · Delivered within 30 minutes

$99

Package Brief

Quick verdict, integration guide, cost projections, gotchas with workarounds, and alternatives comparison.

Delivered within 10 minutes

$3

Score Monitoring

Get alerted when this package's AF, security, or reliability scores change significantly. Stay ahead of regressions.

Continuous monitoring

$3/mo

Scores are editorial opinions as of 2026-03-07.

6470
Packages Evaluated
26150
Need Evaluation
173
Need Re-evaluation
Community Powered