ONION: fraud2q2as4nmgs7dt7m6d5mbs4im7twvkztvz6rksb44jrbluec5vid.onion

API Documentation

Integrate FRAUDGPT directly into your tools, bots, and workflows. RESTful. Stateless. Anonymous.

Authentication Endpoints Examples Response Rate Limits

Authentication

All requests require an X-API-Key header. Obtain your key from the Dashboard after registration.

X-API-Key: your_api_key_here

Never expose your API key in client-side JavaScript. Use a backend proxy.

Endpoints

GET /chat_stream.php?mode=ask&prompt=TEXT&model=MODEL

SSE streaming chat. Returns word-by-word token stream. Use EventSource client.

POST /chat_api.php

JSON API for single-turn completion. Returns full response in one request.

GET /api.php?action=balance

Check remaining token balance for authenticated user.

Code Examples

cURL (SSE Streaming)

# Streaming chat via EventSource
curl -N -H "X-API-Key: YOUR_KEY" \
  "https://fraudgpt.gl/chat_stream.php?mode=ask&prompt=Hello&model=default"

Python (Single-turn)

import requests

url = "https://fraudgpt.gl/chat_api.php"
headers = {
  "X-API-Key": "YOUR_KEY",
  "Content-Type": "application/json"
}
payload = {
  "mode": "ask",
  "prompt": "Analyze this target",
  "model": "hermes-405b"
}

resp = requests.post(url, json=payload, headers=headers)
print(resp.json()["reply"])

JavaScript (EventSource)

const source = new EventSource(
  "https://fraudgpt.gl/chat_stream.php?mode=ask&prompt=Hello&model=default&api_key=YOUR_KEY"
);
source.onmessage = (e) => {
  const data = JSON.parse(e.data);
  if (data.token) process.stdout.write(data.token);
};

Response Format

{
  "reply": "Here is the analysis you requested...",
  "tokens_used": 336,
  "balance": 14856,
  "model": "venice-uncensored"
}

Rate Limits

TierRequests / MinuteRequests / HourMax Tokens / Request
Initiate305002,048
Operator1205,0004,096
Ghost50025,0008,192
WhALESUnlimitedUnlimited32,768

Exceeding limits returns HTTP 429 with a Retry-After header. Upgrade your tier to increase quotas.