Centralized routing-based GST API for lookup, verification, risk analysis, PAN summary, and bulk operations.
All endpoints are managed through a centralized routing system in
public/index.php. Direct .php files are no longer used.
https://api.tweekersnut.com/
All routes work with or without /public/ prefix for backward compatibility.
/health /public/health
{
"status": "healthy",
"service": "GST API",
"version": "1.0.0",
"timestamp": "2026-01-20T12:30:00Z"
}
GET /gst/details
POST /gst/details
/public/gst/details
Fetch complete GST details. Scrapes data if not cached.
gstin (optional)
pan (optional)
business_name (optional)
{
"success": true,
"query": {"gstin": "03FKXPS8899K1ZM"},
"data": {...},
"meta": {...},
"disclaimer": "Data is fetched from public sources..."
}
GET /api/gst/verify
GET /gst/verify
{
"success": true,
"data": {
"valid": true,
"gstin": "03FKXPS8899K1ZM",
"status": "ACTIVE",
"cached": true
}
}
GET /api/gst/risk-score
GET /gst/risk-score
{
"success": true,
"data": {
"risk_score": 85,
"risk_level": "LOW"
}
}
GET /api/pan/summary
GET /pan/summary
{
"success": true,
"data": {
"pan": "FKXPS8899K",
"total_gstins": 3,
"states": ["Punjab", "Delhi"]
}
}
POST /api/gst/bulk-verify?action=create
GET /api/gst/bulk-verify?action=status
GET /api/gst/bulk-verify?action=process
{
"success": true,
"data": {
"job_id": "job_xxx",
"status": "completed"
}
}
X-API-Key: your_api_key
RapidAPI headers are also supported.
X-RateLimit-Limit-Minute
X-RateLimit-Remaining-Minute
{
"success": false,
"error": {
"code": "ERROR_CODE",
"message": "Human readable message"
}
}
curl https://api.tweekersnut.com/gst/details?gstin=03FKXPS8899K1ZM \
-H "X-API-Key: your_key"