API Overview

Overview of the TurboAPI REST API.

TurboAPI provides a unified interface to access multiple AI services through a simple REST API.

Base URL

https://api.turboapi.ai/api/v1

Authentication

All API requests require an API key in the Authorization header:

Authorization: Bearer YOUR_API_KEY

Rate Limits

PlanRequests/minRequests/day
Free601,000
Pro30050,000
EnterpriseUnlimitedUnlimited

Response Format

All responses are in JSON format:

{
  "success": true,
  "data": { ... },
  "meta": {
    "request_id": "req_123",
    "latency_ms": 45
  }
}

Error Handling

API uses standard HTTP status codes:

StatusMeaning
200Success
400Bad Request
401Unauthorized
403Forbidden
429Too Many Requests
500Server Error

Available Endpoints

Core Services

EndpointMethodDescription
/api/v1/callPOSTCreate and execute a task
/api/v1/call/{task_id}GETGet task status
/api/v1/tasksGETList tasks
/api/v1/tasks/{id}GETGet task details
/api/v1/apisGETBrowse available APIs
/api/v1/apis/{slug}GETGet API details

Management

EndpointMethodDescription
/api/v1/tasksGETView task history
/api/v1/tasks/{id}/cancelPOSTCancel a running task

SDK Support

We provide official SDKs for popular languages:

Node.js / TypeScript

npm install @turboapiai/sdk
import { TurboAPIClient } from '@turboapiai/sdk';

const client = new TurboAPIClient({
  apiKey: process.env.TURBOAPI_API_KEY,
});

Python

pip install turboapi-sdk
from turboapi import TurboAPIClient

client = TurboAPIClient(api_key="your_api_key")

Go

go get github.com/turboapiai/turboapi-sdk-go
import turboapi "github.com/turboapiai/turboapi-sdk-go"

client := turboapi.NewClient("YOUR_API_KEY")

cURL

curl https://api.turboapi.ai/api/v1/apis \
  -H "Authorization: Bearer YOUR_API_KEY"

Versioning

API version is specified in the URL:

  • v1: Current stable version
Check out our examples to see how to use these endpoints.