Talk to the same IsraelGPT that powers the main chat, from your own code. Comes with a reference Python Discord bot: see Discord Bot.
IsraelGPT is normally reached through the web chat at israelgpt.site. The public API gives your server, script or bot the same persona, lore and models as a plain JSON HTTP endpoint.
One endpoint (POST /chat), every persona, IsraelBot 1 and YahooBot 1, High effort and Uncensored mode, and a free tier: no credit card, just a free account.
POST https://www.israelgpt.site/api/v1/chat, from your server.reply from the JSON answer. That's it.curl -X POST https://www.israelgpt.site/api/v1/chat \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-A "MyApp/1.0" \
-d '{
"messages": [{ "role": "user", "content": "What time is it in Tel Aviv?" }],
"personaId": 1,
"selectedModel": "israelbot-1",
"effort": "low"
}'const res = await fetch("https://www.israelgpt.site/api/v1/chat", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json",
"User-Agent": "MyApp/1.0",
},
body: JSON.stringify({
messages: [{ role: "user", content: "What time is it in Tel Aviv?" }],
personaId: 1,
selectedModel: "israelbot-1",
effort: "low",
}),
});
if (!res.ok) {
const err = await res.json();
throw new Error(`${err.error.code}: ${err.error.message}`);
}
const data = await res.json();
console.log(data.reply);import httpx
response = httpx.post(
"https://www.israelgpt.site/api/v1/chat",
headers={"Authorization": "Bearer YOUR_API_KEY", "User-Agent": "MyApp/1.0"},
json={
"messages": [{"role": "user", "content": "What time is it in Tel Aviv?"}],
"personaId": 1,
"selectedModel": "israelbot-1",
"effort": "low",
},
timeout=60,
)
response.raise_for_status()
data = response.json()
print(data["reply"])"Give to your AI agent" copies a full plain-text spec of this API (auth, parameters, response shape, errors) — paste it into Claude Code, Cursor, or any coding assistant and ask it to wire up the integration for you.
Set a User-Agent that names your app, like MyApp/1.0: the key's request log on the dashboard shows it, so you can tell your apps apart.
IsraelGPT is a satirical, deliberately biased chatbot. The persona's tone (see the Terms of Service) is intentional, not a bug in your integration.