Documentation

API Documentation

Everything you need to integrate with our unified AI API. OpenAI-compatible endpoints for seamless integration.

Quick Start

1

Get your API Key

Sign up and generate an API key from your dashboard. Keys start with nsk_

2

Set Base URL

Point your OpenAI SDK or HTTP client to our API endpoint:

https://typegpt.net/api/v1
3

Make Your First Request

Use any OpenAI-compatible SDK or make direct HTTP requests. Choose from 100+ models including GPT-4, Claude, Gemini, and more.

curl https://typegpt.net/api/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer nsk_your_api_key" \
  -d '{
    "model": "gpt-4o",
    "messages": [
      {"role": "user", "content": "Hello!"}
    ]
  }'

API Endpoints

POST/api/v1/chat/completions
Core

Create a chat completion with any supported model

GET/api/v1/models
Core

List all available models

POST/api/v1/models/validate
New

Validate multiple model IDs at once

GET/api/v1/usage
New

Get your current usage statistics

GET/api/health
Utility

Check API health status

Why Choose Our API?

Enterprise Security

256-512 bit encryption, secure key generation, and zero data retention policy.

Ultra-Low Latency

Edge-optimized infrastructure with global distribution for fastest response times.

OpenAI Compatible

Drop-in replacement for OpenAI API. Use existing SDKs and tools.

100+ Models

Access GPT-4, Claude, Gemini, Llama, and many more through a single API.

Flexible Pricing

Pay-as-you-go credits or subscription plans. No hidden fees.

Real-time Analytics

Monitor usage, latency, and costs with detailed dashboards.

Authentication

Bearer Token Authentication

All API requests require authentication using a Bearer token in the Authorization header. Your API keys are generated with 256-512 bits of entropy for maximum security.

Authorization: Bearer nsk_your_api_key_here

Security Note: Never expose your API keys in client-side code. Always make API calls from your backend server.

Rate Limits

TierRequests/MinuteDaily LimitMonthly Limit
Free31001,000
Starter10UnlimitedUnlimited
Pro20UnlimitedUnlimited
Business60UnlimitedUnlimited
EnterpriseUnlimitedUnlimitedUnlimited

Ready to Get Started?

Create your account and get your API key in seconds. No credit card required.