Skip to content

API Overview

The Experiment Plus API is RESTful and returns JSON responses.

Base URL

https://api.experimentplus.io/v1

Authentication

All requests require an API key in the Authorization header:

bash
curl -H "Authorization: Bearer YOUR_API_KEY" \
  https://api.experimentplus.io/v1/flags

Response Format

Successful responses:

json
{
  "data": { ... },
  "meta": {
    "requestId": "req_abc123"
  }
}

Error responses:

json
{
  "error": {
    "code": "invalid_request",
    "message": "Missing required field: userId"
  }
}

Rate Limits

PlanRequests/second
Free10
Pro100
EnterpriseUnlimited

Endpoints

EndpointDescription
AuthenticationAPI keys and auth
FlagsFeature flag operations
ExperimentsA/B test management
EventsEvent tracking

SDKs

We provide official SDKs:

  • JavaScript/TypeScript
  • Python
  • Go
  • Ruby

See Getting Started for installation.

Built with VitePress