BackFiveStackLogin
Developer Portal

Build with the FiveStack API

Access 40+ AI models, 600K+ indexed FiveM & RedM scripts, and a full REST API to generate production-ready code programmatically. Build integrations, automate workflows, and extend your development pipeline.

Simple, powerful SDK

Get started in minutes with our official JavaScript/TypeScript SDK. Initialize the client, make a call, and get production-ready code back.

typescript
@fivestack/sdk
import { FiveStack } from "@fivestack/sdk";

const client = new FiveStack({
  apiKey: process.env.FIVESTACK_API_KEY,
});

// Generate a FiveM script from a prompt
const generation = await client.generations.create({
  project_id: "proj_abc123",
  prompt: "ESX vehicle garage with NUI",
  model: "anthropic/claude-sonnet-4-5-20250929",
  framework: "esx",
});

console.log(generation.files);

Three key types, full control

Different keys for different environments. Keep production safe, test freely in sandbox, and automate deployments with CI keys.

fs_live_

Production

Full API access with credit consumption. Use in production environments.

fs_test_

Sandbox

Full API access with no credit consumption. Perfect for development and testing.

fs_ci_

CI/CD

Limited to deployment endpoints only. Built for automated pipelines.

600K+
Scripts Indexed
40+
AI Models
3
API Key Types
300
Req/min (Pro)

Ready to start building?

Apply for developer access and get your API keys in under 48 hours. Start integrating FiveStack into your workflow today.

Rate Limits

Standard accounts: 60 requests/minute. Pro accounts: 300 requests/minute. Base URL: https://api.fivestack.dev/v1