API · ChatGPT-4 ChatGPT-4
Online
API Reference

ChatGPT-4 API

One endpoint. One parameter. No auth.

Base URL
https://wormgpt.adeelbaloch.dev
Endpoint
GET  /gpt4
ParameterTypeRequiredDescription
query string Yes Your question or prompt
Example request
HTTP
GET https://wormgpt.adeelbaloch.dev/gpt4?query=Hello
Responses
200 Success
json
{
  "status":    "success",
  "response": "AI generated response here...",
  "model":     "GPT-4",
  "query":     "Hello",
  "creator":   { "name": "Adeel Baloch", "telegram": "sigmadev0" }
}
Error
json
{
  "status":    "error",
  "response": "Failed to get response.",
  "query":     "..."
}
Code examples
javascript
const res = await fetch('https://wormgpt.adeelbaloch.dev/gpt4?query=Hello');
const data = await res.json();
console.log(data.response);
Live tester

Test the endpoint and inspect the raw JSON response.