Docs

Introduction

Welcome to the CodeZerra API documentation. Our REST API allows you to programmatically access templates, user data, and download analytics.

Base URL

All API requests should be made to: https://api.codezerra.com/v2

Installation

Install the official SDK using your preferred package manager:

# Using npm
npm install @codezerra/sdk

# Using yarn
yarn add @codezerra/sdk

# Using pnpm
pnpm add @codezerra/sdk

Quick Start

Initialize the client and make your first request:

import { CodeZerra } from '@codezerra/sdk';

const client = new CodeZerra({
  apiKey: 'your_api_key_here',
  version: '2026-01-01'
});

const templates = await client.templates.list({
  category: 'saas',
  limit: 10
});

console.log(templates);

Tip

Use environment variables for your API keys. Never commit them to version control.

Authentication

All requests must include an API key in the Authorization header:

curl -H "Authorization: Bearer YOUR_API_KEY" \
  https://api.codezerra.com/v2/templates

Warning

API keys are rate-limited to 100 requests per minute. Contact support to increase your limit.

Endpoints

GET /templates

List all available templates with optional filtering.

Query Parameters

ParameterTypeDescription
categorystringFilter by category slug
searchstringSearch query
limitintegerResults per page (max 50)