Get & Post API Service
NdSQL provides a ready-to-use PHP & MySQL API server for React and React Native applications.
Step 1: Create API Key
POST https://api.ndsql.top/create-key
{
"project": "myapp"
}
Response:
{
"api_key": "ND-API-89sd9f8sd9f"
}
Step 2: GET Data
GET https://api.ndsql.top/myapp/api/get
Headers:
Authorization: ND-API-89sd9f8sd9f
React Example
useEffect(() => {
fetch("https://api.ndsql.top/myapp/api/get", {
headers: {
"Authorization": "ND-API-89sd9f8sd9f"
}
})
.then(res => res.json())
.then(data => console.log(data));
}, []);
PHP Backend (Server)
<?php
$headers = getallheaders();
$key = $headers['Authorization'] ?? '';
if ($key !== 'ND-API-89sd9f8sd9f') {
http_response_code(401);
echo json_encode(['error'=>'Invalid API key']);
exit;
}
echo json_encode(['status'=>'success']);
?>
Upcoming Features
- 🔐 API Key Dashboard & Regenerate
- 📊 Request Limit & Usage Analytics
- ⏱ Rate Limiting & IP Whitelist
- 🔄 Token Expiry & Auto-Renew
- 🧩 Plugin Support for Laravel & Next.js
Buy API Key
Upgrade to premium API access with higher limits, priority support, and advanced security.
Free
৳0 / month
✔ 1 Project
✔ 1,000 Requests
✖ Rate Limit Control
Pro
৳299 / month
✔ Unlimited Projects
✔ 100k Requests
✔ Priority Support
Contact & Support
Email: nahid@ndsql.top
Phone: +88 09638-573063