HomeChatAPI DocsAbout
Developer Documentation

API Reference

One endpoint. One parameter. Instant AI response. No auth needed.

Base URL
https://wormgpt.adeelbaloch.dev
Endpoint
GET /wormgpt
Ask any question โ€” returns an AI-generated response in JSON.
Parameter Type Required Description
query string Yes Your question or prompt for the AI
Example Request
GET request
GET https://wormgpt.adeelbaloch.dev/wormgpt?query=What is artificial intelligence?
cURL Example
terminal
curl "https://wormgpt.adeelbaloch.dev/wormgpt?query=Hello"
Response Format
200 OK โ€” application/json
{
  "status": "success",
  "reply": "Artificial intelligence (AI) refers to...",
  "question": "What is artificial intelligence?",
  "creator": {
    "name": "Adeel Baloch",
    "telegram": "sigmadev0"
  }
}
Error Response
400 Bad Request
{
  "error": "Missing 'query' parameter",
  "usage": "/wormgpt?query=YOUR_QUESTION",
  "creator": { "name": "Adeel Baloch" }
}
Code Examples
JavaScript (fetch)
script.js
const res = await fetch('https://wormgpt.adeelbaloch.dev/wormgpt?query=Hello');
const data = await res.json();
console.log(data.reply);
Python (requests)
script.py
import requests
res = requests.get('https://wormgpt.adeelbaloch.dev/wormgpt', params={'query': 'Hello'})
print(res.json()['reply'])
PHP
script.php
$res = file_get_contents('https://wormgpt.adeelbaloch.dev/wormgpt?query=Hello');
$data = json_decode($res, true);
echo $data['reply'];
Live Tester
Try the API Now
Enter a query and see the raw JSON response