aban API Live
The same AI that powers the AI Studio — straight over HTTP. Generate AI texts, emails, plans, translations and more inside your own tools, scripts or automations. Auth with your aban Pro key — no extra account.
Try it live
Drop in your key, pick a kind, see a real result — and copy the matching curl command. Runs against the real API (same Pro limits).
In 30 seconds
- Get aban Pro (includes API access) — See Pro →
- Use your license key as the API key (header
X-Pro-Key). - POST to
https://abannews.com/api/generate.
Authentication
Send your aban Pro key in the X-Pro-Key header (recommended) or in the JSON body as license_key. Without a valid key the API responds with 402.
Endpoint: generate text
POST /api/generate · Content-Type application/json
| Field | Required | Description |
|---|---|---|
kind | yes | Type of text (see list below). Default: text. |
branche | no | Industry/context, e.g. "craft bakery". |
ziel | no | Goal/purpose, e.g. "follow up after a trade fair". |
text | no | Source material (for rewrite, translate, summary, review, prompt). |
ton | no | Tone, e.g. "factual, friendly". |
zielgruppe | no | Audience (pro option). |
laenge | no | kurz · mittel · lang (short/medium/long). |
lang | no | en or de — output language. Default: de. |
kind values: text, email, newsletter, blog, faq, summary, social, ad, seo, slogan, landing, product, script, press, angebot (quote), review, anleitung (how-to), ideas, jobad, plan, contentplan, emailserie, rewrite, translate, prompt, marketbrief.
Example (curl)
curl -X POST https://abannews.com/api/generate \
-H "Content-Type: application/json" \
-H "X-Pro-Key: YOUR-PRO-KEY" \
-d '{
"kind": "email",
"lang": "en",
"branche": "craft bakery",
"ziel": "inform regulars about new opening hours",
"ton": "friendly, short"
}'
Example (JavaScript / fetch)
const res = await fetch("https://abannews.com/api/generate", {
method: "POST",
headers: {
"Content-Type": "application/json",
"X-Pro-Key": process.env.ABAN_PRO_KEY,
},
body: JSON.stringify({ kind: "social", lang: "en", branche: "Yoga studio", ziel: "new class from May" }),
});
const data = await res.json();
console.log(data.text);
Response
{ "text": "…generated text…", "model": "claude-sonnet-4-6" }
Audit endpoint
For structured AI-visibility reports: POST /api/audit-report (same auth). Fields: brand, website, branche, beschreibung, ziel, lang. Response: { "report": "…", "grounded": true|false }. More: AI Visibility Audit.
Status codes & limits
| Code | Meaning |
|---|---|
200 | OK — result in field text or report. |
402 | No valid Pro key. |
413 | Request too large (max 16 KB body). |
429 | Rate limit. /api/generate: 20/min (yearly plan 60/min). /api/audit-report: 6/min (yearly 20/min). |
503 | AI temporarily unavailable. |
Fair use & terms
- One key = one person/company. Don't share it, don't embed it in public frontend code (use it server-side).
- No unlawful, misleading or harmful content. You are responsible for how outputs are used and check facts yourself.
- The API returns AI drafts with no warranty — no legal, tax or financial advice.
- Fair use within the limits; abusive load may be throttled.
- Our Terms & Privacy Policy apply. Inputs are processed to generate output, not shared for advertising.
FAQ
Does the API cost extra?
No. API access is included in aban Pro — you use your license key as the API key. No separate plan.
Which model is behind it?
A current Claude model (see the model field in the response). We can update it server-side — nothing changes for you.
Can I use the output commercially?
Yes. The generated texts are yours and usable commercially. You're responsible for how they're used and check facts yourself — they're AI drafts with no warranty.
How safe is my key?
Use it server-side only, never in public frontend code. Inputs are processed to generate output, not shared for advertising (privacy).
What happens with too many requests?
You get 429. Limits: /api/generate 20/min (yearly 60/min), /api/audit-report 6/min (yearly 20/min).