Skip to main content

API Overview

API Version: v1 (Private Beta) · Status: Accepting waitlist applications · Base URL: https://api.stablegenius.co/v1
The Stable Genius API is a REST API that uses JSON for request and response bodies, standard HTTP status codes, and bearer token authentication.

Base URL

All API requests must be made over HTTPS.

Authentication

Include your API key in the Authorization header:
See Authentication for details on API key types and management.

Request Format

  • All POST/PUT requests must include Content-Type: application/json
  • Request bodies are JSON objects
  • Query parameters are used for filtering on GET requests

Response Format

All responses follow a consistent structure:
List endpoints return paginated results:

Pagination

List endpoints support cursor-based pagination:

Errors

Errors return standard HTTP status codes with a JSON body:

Rate Limits

Rate limit headers are included in every response:

Versioning

The API is versioned via the URL path (/v1/). Breaking changes will only be introduced in new major versions. Non-breaking additions (new fields, new endpoints) may be added to the current version at any time. Set the X-API-Version header to pin your integration to a specific API version:

Idempotency

POST endpoints support idempotency via the idempotency_key field in the request body. Resubmitting a request with the same key within 24 hours returns the original response instead of creating a duplicate.