Introduction
Welcome to Kelvin APIs documentation. Our platform provides free, powerful REST APIs for developers worldwide.
Base URL
https://api.ktech.net.ng
Response Format
All Kelvin API responses follow this format:
Example Response
{
"creator": "Kelvin Steven",
"status": 200,
"success": true,
"result": "Success message here",
"timestamp": "2025-01-15T10:30:00.000Z"
}
Quick Start
Make your first API call in seconds:
// Test Kelvin API connectivity
fetch('https://api.ktech.net.ng/health')
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
import requests
response = requests.get('https://api.ktech.net.ng/health')
print(response.json())
<?php
$response = file_get_contents('https://api.ktech.net.ng/health');
$data = json_decode($response, true);
print_r($data);
?>
curl -X GET "https://api.ktech.net.ng/health"
API Test Console
Test any endpoint directly from the documentation:
Response
Status: Waiting...
{
"message": "Enter URL and click Send to test Kelvin API"
}
AI APIs
Kelvin AI APIs provide powerful artificial intelligence capabilities.
AI Chat Endpoint
Endpoint
GET /api/ai/chat?query=Your+message
Parameters:
query(required) - Your message to the AI
Example Request:
fetch('https://api.ktech.net.ng/api/ai/chat?query=Hello%20Kelvin')
.then(response => response.json())
.then(data => console.log(data.result));
Error Codes
| Code | Description | Solution |
|---|---|---|
| 400 | Bad Request | Check your request parameters |
| 404 | Not Found | Verify endpoint URL |
| 429 | Too Many Requests | Slow down your requests |
| 500 | Server Error | Try again later or contact support |