NOXERY API

Quickstart

Short, direct guides for using the OpenAI-compatible API in your applications and agents.

5 minutesThis page takes you from zero to a working request. If you get stuck on any step, see the troubleshooting page.

Before you start

Noxery uses the OpenAI API format. Your existing OpenAI SDK code and curl examples work as-is; the only change is the base_url value.

  • Account: a free account (you land on the dashboard after signing in).
  • Terminal: command-line access.
  • SDK (optional): Python 3.9+ or Node.js 18+.
  • Network: HTTPS access to api.noxery.net on port 443.
ImportantNever put your API key in source code or a git repository. Store it as an environment variable on the server side only.

1. Create an account

  1. Open the registration page and create a free account.
  2. After signing in you are redirected to the Dashboard, where you manage usage, keys and plan.
  3. Verify your email address; unverified accounts get 403 on API access.
Noxery dashboard: token usage and recent requests
Dashboard: trial balance, plan and token summary on one screen.

2. Generate an API key

  1. Open the API Keys page from the left menu.
  2. Give the key a recognizable name (e.g. prod-server) and press Generate.
  3. Immediately copy the key shown on screen once and store it somewhere safe.
  4. After you leave the page the full key is never shown again.
New key generated — the full value is shown only once
The key is shown exactly once. Details: API key and authentication.
Lost keyIf you lose your key you cannot recover it. Generate a new key with the same name, update your application, and revoke the old key from the list.

3. Set the environment variable

Define the key as an environment variable. This is safer than writing it into your code.

bash (Linux / macOS)
export NOXERY_API_KEY="nox-YOUR_KEY"
export NOXERY_BASE_URL="https://api.noxery.net/v1"
PowerShell (Windows)
$env:NOXERY_API_KEY = "nox-YOUR_KEY"
$env:NOXERY_BASE_URL = "https://api.noxery.net/v1"
.env file
NOXERY_API_KEY=nox-YOUR_KEY
NOXERY_BASE_URL=https://api.noxery.net/v1
# add .env to .gitignore

Make sure the key starts with nox-. A different prefix or an empty value returns 401.

4. Pick a model

In requests, use the id value returned by the API, not the display name shown in the panel. Fetch the current list:

curl
curl https://api.noxery.net/v1/models \
  -H "Authorization: Bearer $NOXERY_API_KEY"

You can also browse the active catalog on the Models page. If you plan to send image input, verify that the model's modalities field includes image.

Noxery model catalog
Model catalog: category tabs and per-model limits.

5. Install an SDK (optional)

Noxery uses the OpenAI client format, so existing SDKs work. The only change is the base_url value.

Python

bash
pip install openai
python
from openai import OpenAI

client = OpenAI(api_key="nox-YOUR_KEY", base_url="https://api.noxery.net/v1")

JavaScript / TypeScript

bash
npm install openai
javascript
import OpenAI from "openai";

const client = new OpenAI({ apiKey: "nox-YOUR_KEY", baseURL: "https://api.noxery.net/v1" });

Never embed the key in a browser or mobile app; always keep it on your own server.

6. Send your first request

curl
curl https://api.noxery.net/v1/chat/completions \
  -H "Authorization: Bearer $NOXERY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"gemini-3.8-flash","messages":[{"role":"user","content":"Hello"}]}'
python
from openai import OpenAI

client = OpenAI(api_key="nox-YOUR_KEY", base_url="https://api.noxery.net/v1")
response = client.chat.completions.create(
    model="gemini-3.8-flash",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)
javascript
const response = await client.chat.completions.create({
  model: "gemini-3.8-flash",
  messages: [{ role: "user", content: "Hello" }],
});
console.log(response.choices[0].message.content);

If you get no response, check the 401 / 403 / 404 / 429 sections on the troubleshooting page.

7. Track your usage

Every request is logged with its model, token counts and status. On the Usage page you can see the request log and per-model consumption.

Usage page: token stats and request log
Usage page: token stats and request log.

Common mistakes

SymptomCauseFix
401 Invalid or revoked API keyWrongly copied, revoked or missing key.Check the header; make sure the nox- prefix is intact and there are no spaces.
403Suspension, closed API access, unverified email or subscription requirement.Clear the warnings in the panel and check your plan.
404 modelDisplay name differs from the API id.Use the id value from GET /v1/models.
429RPM, quota or concurrency limit.Wait for retry_after, retry at most 2-3 times.
Connection timeoutWrong base URL or network block.Make sure you use https://api.noxery.net/v1 and port 443 is open.