Molixa API
Run Molixa AI tools from your own scripts, apps, and workflows. One endpoint per tool, JSON in and out. API access is included with Pro and Plus — and during your 3-day signup trial, so you can build against it before you subscribe.
Building object removal / image cleanup into your own product? The Object Removal API is a separate B2B product — its own partner keys, prepaid image credits, and a precise boxes/mask interface. Apply at /partners.
1. Get an API key
Sign in, then create a key in Dashboard → Settings → API Keys. The full key (mlx_...) is shown once; we store only a hash. Revoke a key any time from the same page.
2. Call a tool
curl -X POST https://molixa.app/api/v1/tools/ai-detector \
-H "Authorization: Bearer mlx_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"input": "Text you want to analyze..."}'The same call in JavaScript:
const res = await fetch("https://molixa.app/api/v1/tools/ai-detector", {
method: "POST",
headers: {
Authorization: "Bearer mlx_YOUR_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({ input: "Text you want to analyze..." }),
});
const { success, data, meta } = await res.json();3. Response
{
"success": true,
"data": { ...tool-specific result... },
"meta": {
"tool": "ai-detector",
"provider": "...",
"model": "...",
"durationMs": 1234,
"creditsCharged": 3, // credits this call cost
"creditsRemaining": 19997 // your balance after the call
}
}Some tools accept an options object alongside input (the same options the tool page exposes). GET the endpoint without auth to list available tools.
Credits & limits
Every call spends credits from the same monthly/daily balance as the dashboard — there is no separate API quota. Each response reports creditsCharged and creditsRemaining in meta. Cost scales with the tokens a call actually uses (roughly 1 credit per 1,000 tokens, more for heavier models). See your balance and plan on the pricing page.
When your balance runs out, calls return 402until it refills on your plan's reset. Each key is rate-limited to 60 requests per minute.
Errors
401 — missing, malformed, or revoked key
402 — out of credits (balance refills on your plan's reset)
403 — free account; API access needs Pro/Plus or an active trial
400 — bad input (too short/long, wrong shape, browser-only tool)
404 — unknown tool slug (response lists valid slugs)
422 — the AI provider failed; retry
429 — too many requests (60/min per key); slow down
API-capable tools (16)
Browser-only tools (QR, image, formatters that never touch our servers) are not exposed over the API.