Docs / Quickstart

Quickstart Guide

Go from zero to your first API call in under 5 minutes. No credit card required.

1

Create Your Account

Sign up at neatapi.ai with your email or GitHub account. No credit card required — you get free credits to start.

What you'll get:

  • ✓ $5 in free credits
  • ✓ Access to all 100+ models
  • ✓ Dashboard with usage analytics
  • ✓ No rate limit surprises — clear, documented limits
2

Get Your API Key

Navigate to the API Keys section in your dashboard and create a new key. Copy it — you'll need it in the next step.

# Your API key looks like this:
napi_sk_abc123def456...

# Set it as an environment variable:
export NEATAPI_KEY="napi_sk_your-key-here"

⚠️ Keep your API key secret. Never commit it to version control. Use environment variables or a secrets manager.

3

Make Your First Request

Use any OpenAI-compatible SDK or plain HTTP. Just point to our base URL:

https://api.neatapi.ai/v1

cURL

curl https://api.neatapi.ai/v1/chat/completions \
  -H "Authorization: Bearer $NEATAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-5",
    "messages": [
      {"role": "user", "content": "What is the meaning of life?"}
    ]
  }'

Python

# pip install openai
from openai import OpenAI

client = OpenAI(
    base_url="https://api.neatapi.ai/v1",
    api_key="your-neatapi-key"   # or os.environ["NEATAPI_KEY"]
)

response = client.chat.completions.create(
    model="gpt-5",
    messages=[
        {"role": "user", "content": "What is the meaning of life?"}
    ]
)

print(response.choices[0].message.content)
# => "The meaning of life is a deeply personal question..."

Node.js / TypeScript

// npm install openai
import OpenAI from 'openai';

const client = new OpenAI({
  baseURL: 'https://api.neatapi.ai/v1',
  apiKey: process.env.NEATAPI_KEY
});

const response = await client.chat.completions.create({
  model: 'gpt-5',
  messages: [
    { role: 'user', content: 'What is the meaning of life?' }
  ]
});

console.log(response.choices[0].message.content);
// => "The meaning of life is a deeply personal question..."

What's Next?

Ready to Ship?

You're 30 seconds away from cheaper AI. Sign up and start building.

Get Free API Key →