Getting Started

1. Get Your API Key

To get an API key instantly. No credit card required.

2. Authentication

Include your API key in every request using the X-API-Key header:

curl -H "X-API-Key: YOUR_API_KEY" \
  https://hub.toolweb.in/security/cve-scanner/docs

3. Base URL

All API calls go through:

https://hub.toolweb.in/

4. URL Structure

APIs are organized by category:

Category Path Pattern Example
🔒 Security & Essentials /security/* /security/cve-scanner
🛡️ System Hardening /hardening/* /hardening/system-checklist
📋 Compliance & GRC /compliance/* /compliance/risk-assessment
🎯 Career Roadmaps /career/* /career/ciso
🔧 Productivity & Business /tools/* /tools/scheduly
🔮 Spiritual Living /lifestyle/* /lifestyle/birth-chart

5. Code Examples

Python

import requests

API_KEY = "YOUR_API_KEY"
BASE = "https://hub.toolweb.in"
headers = {"X-API-Key": API_KEY}

# SOC2 Readiness Check
r = requests.get(f"{BASE}/compliance/soc2-readiness/", headers=headers)
print(r.json())

# Windows Hardening Guide
r = requests.get(f"{BASE}/hardening/windows/", headers=headers)
print(r.json())

JavaScript (Node.js)

const API_KEY = "YOUR_API_KEY";
const BASE = "https://hub.toolweb.in";

const response = await fetch(`${BASE}/compliance/soc2-readiness/`, {
  headers: { "X-API-Key": API_KEY }
});
const data = await response.json();
console.log(data);

cURL

curl -H "X-API-Key: YOUR_API_KEY" https://hub.toolweb.in/hardening/kubernetes/

6. Rate Limits

Every response includes rate limit headers:

Header Description
X-RateLimit-Limit-DayMax calls per day
X-RateLimit-Remaining-DayCalls remaining today
X-RateLimit-Limit-MonthMax calls per month
X-RateLimit-Remaining-MonthCalls remaining this month

When you exceed your limit, you'll get a 429 Too Many Requests response.

7. Interactive API Docs

Every API has interactive Swagger documentation. Add /docs to any API path:

https://hub.toolweb.in/security/cve-scanner/docs
https://hub.toolweb.in/compliance/soc2-readiness/docs
https://hub.toolweb.in/hardening/windows/docs

Or browse the full catalog: API Catalog →