📘 API Docs

InfiniUm Tools API

A simple, fast REST API for DNS lookups, SSL checking, HTTP header inspection, WHOIS queries, redirect tracing, meta tag analysis, and sitemap validation. All endpoints return JSON.

Overview

The InfiniUm Tools API gives programmatic access to all live tools. Use it to integrate domain monitoring, SEO auditing, or security checks into your own applications, CI/CD pipelines, or dashboards.

✓ Free tier — no API key required right now. All endpoints are currently open with IP-based rate limiting. API key authentication is coming with the Pro plan launch — when it does, free tier keys will be issued automatically.
⚠ Breaking changes notice: The API is in v1. We'll maintain backwards compatibility within v1 and announce breaking changes with a new version prefix (v2) with 30 days notice.

Base URL

HTTPShttps://infinium.tools/api/v1

All requests must use HTTPS. HTTP requests are redirected to HTTPS automatically. All responses are application/json with UTF-8 encoding.

Request format

All endpoints accept GET requests with query parameters. No request body or special headers are required for free tier access.

Example
curl "https://infinium.tools/api/v1/dns?domain=infinium.tools&type=A"

Authentication

🔒 API key authentication is coming with the Pro plan. Currently all endpoints are accessible without a key subject to rate limits. When Pro launches, pass your key as a header:
Future auth header (Pro)
Authorization: Bearer YOUR_API_KEY

API keys will be available from your dashboard after subscribing to the Pro plan ($9/mo). Pro keys remove the per-IP rate limit and increase to unlimited requests.

Rate Limits

PlanLimitWindowEnforcement
Free (no key)50 requestsPer dayPer IP address
Pro ($9/mo)UnlimitedPer API key
Team ($29/mo)UnlimitedPer API key, 5 seats

When the rate limit is exceeded the API returns 429 Too Many Requests with a Retry-After header indicating when the limit resets.

429 response
{"error": "Rate limit exceeded. Upgrade to Pro for unlimited access.", "retryAfter": "2026-05-12T00:00:00Z"}

Error Responses

All errors return a JSON object with an error field and an appropriate HTTP status code.

Status
Meaning
400
Bad request — invalid or missing parameters. Check the error field for details.
404
Resource not found — domain doesn't exist or returned no data.
422
Unprocessable — URL returned unexpected content type (e.g. not HTML/XML).
429
Rate limit exceeded — see rate limits section above.
500
Server error — unexpected failure. Includes a details field where available.
502
Bad gateway — upstream lookup service unavailable. Retry after a moment.
504
Gateway timeout — target host took too long to respond.
Error response shape
{"error": "Invalid domain", "details": "Domain must not include https:// prefix"}

DNS Lookup

GET /api/v1/dns Live Try it →

Query DNS records for any domain. Supports A, AAAA, MX, TXT, CNAME, NS, SOA, and CAA record types.

ParameterTypeDescription
domain*stringDomain to query (e.g. infinium.tools). Do not include https://
typestringRecord type. One of: A AAAA MX TXT CNAME NS SOA CAA. Default: A
Request
curl "https://infinium.tools/api/v1/dns?domain=infinium.tools&type=MX"
Response
{"domain":"infinium.tools","type":"MX","records":[{"exchange":"mail.infinium.tools","priority":10}],"ttl":300,"queryTime":42}

SSL Checker

GET /api/v1/ssl Live Try it →

Check SSL/TLS certificate validity, expiry date, issuer, subject alternative names, and full certificate chain for any domain.

ParameterTypeDescription
domain*stringDomain to check (e.g. infinium.tools). Port 443 is used by default.
Request
curl "https://infinium.tools/api/v1/ssl?domain=infinium.tools"
Response
{"domain":"infinium.tools","valid":true,"subject":"CN=infinium.tools","issuer":"Let's Encrypt","validFrom":"2026-01-01","validTo":"2026-04-01","daysRemaining":45,"sans":["infinium.tools","www.infinium.tools"],"protocol":"TLSv1.3","grade":"A"}

HTTP Headers

GET /api/v1/http-headers Live Try it →

Fetch and return all HTTP response headers for any URL. Includes status code, server, content-type, caching headers, and security headers.

ParameterTypeDescription
url*stringFull URL to inspect including protocol (e.g. https://infinium.tools)
Request
curl "https://infinium.tools/api/v1/http-headers?url=https://infinium.tools"
Response
{"url":"https://infinium.tools","statusCode":200,"statusText":"OK","headers":{"content-type":"text/html; charset=UTF-8","server":"nginx","strict-transport-security":"max-age=31536000","x-frame-options":"SAMEORIGIN"},"responseTime":210}

WHOIS Lookup

GET /api/v1/whois Live Try it →

Look up domain registration information including registrar, registration and expiry dates, nameservers, ICANN status flags, and raw WHOIS data.

ParameterTypeDescription
domain*stringDomain to look up (e.g. infinium.tools). Do not include https://
Request
curl "https://infinium.tools/api/v1/whois?domain=infinium.tools"
Response
{"domain":"infinium.tools","registrar":"Namecheap, Inc.","createdDate":"2024-01-15","updatedDate":"2024-12-01","expiryDate":"2026-01-15","daysUntilExpiry":253,"status":["clientTransferProhibited"],"nameservers":["ns1.example.com","ns2.example.com"],"dnssec":"unsigned"}

Redirect Checker

GET /api/v1/redirect-checker Live Try it →

Follow the full HTTP redirect chain for any URL. Returns every hop with status code, response time, and the final destination URL. Detects redirect loops.

ParameterTypeDescription
url*stringFull URL to trace including protocol (e.g. https://infinium.tools). Max 15 hops.
Request
curl "https://infinium.tools/api/v1/redirect-checker?url=https://infinium.tools"
Response
{"url":"https://infinium.tools","chain":[{"url":"http://infinium.tools","status":301,"ms":88,"error":null},{"url":"https://infinium.tools","status":200,"ms":210,"error":null}],"hops":1,"totalMs":298,"loop":false,"finalUrl":"https://infinium.tools"}

Meta Tag Checker

GET /api/v1/meta-checker Live Try it →

Fetch and extract all meta tags from any URL including title, description, Open Graph tags, Twitter Card tags, canonical URL, robots, and viewport.

ParameterTypeDescription
url*stringFull URL to inspect including protocol (e.g. https://infinium.tools)
Request
curl "https://infinium.tools/api/v1/meta-checker?url=https://infinium.tools"
Response
{"url":"https://infinium.tools","statusCode":200,"meta":{"title":"InfiniUm Tools","description":"Free developer and DevOps tools.","canonical":"https://infinium.tools","ogTitle":"InfiniUm Tools","ogImage":"https://infinium.tools/og.jpg","twitterCard":"summary_large_image","viewport":"width=device-width, initial-scale=1","lang":"en"}}

Sitemap Validator

GET /api/v1/sitemap-validator Live Try it →

Fetch and validate any XML sitemap. Detects sitemap index files, counts URLs, validates structure, checks for common errors, and returns all URL entries with metadata.

ParameterTypeDescription
url*stringFull URL to the sitemap XML file (e.g. https://infinium.tools/sitemap.xml)
Request
curl "https://infinium.tools/api/v1/sitemap-validator?url=https://infinium.tools/sitemap.xml"
Response
{"url":"https://infinium.tools/sitemap.xml","type":"urlset","valid":true,"urlCount":24,"sizeKb":8.2,"ms":310,"encoding":"UTF-8","lastmod":"2026-05-01","issues":[],"urls":[{"loc":"https://infinium.tools/","lastmod":"2026-05-01","changefreq":"weekly","priority":"1.0"}]}

Port Scanner

GET /api/v1/port-scanner Live Try it →

Check which TCP ports are open on any host. Scans all requested ports in parallel and returns status (open/closed/filtered) and response time per port.

ParameterTypeDescription
host*stringHostname or IP address to scan (e.g. infinium.tools)
ports*stringComma-separated port numbers to scan. Max 100 ports. e.g. 80,443,8080,3306
Request
curl "https://infinium.tools/api/v1/port-scanner?host=infinium.tools&ports=80,443,8080,3306"
Response
{"host":"infinium.tools","ms":3240,"ports":[{"port":80,"status":"open","ms":88},{"port":443,"status":"open","ms":92},{"port":8080,"status":"closed","ms":45},{"port":3306,"status":"filtered","ms":3001}]}

JSON Formatter

POST /api/v1/json-formatter 🔓 Free Try it →

Format, validate, and minify JSON. Returns formatted JSON with syntax validation.

ParameterTypeDescription
json*stringRaw JSON string to format
indentnumberIndentation spaces (default: 2)
minifybooleanMinify instead of beautify (default: false)
curl -X POST "https://infinium.tools/api/v1/json-formatter" -H "Content-Type: application/json" -d '{"json":"{"name":"test"}","indent":2}'

Base64 Tool

GET /api/v1/base64 🔓 Free Try it →

Encode or decode Base64 strings.

ParameterTypeDescription
input*stringString to encode or decode
action*stringencode or decode
curl "https://infinium.tools/api/v1/base64?input=Hello+World&action=encode"

JWT Decoder

GET /api/v1/jwt-decoder 🔓 Free Try it →

Decode and inspect JWT tokens. Returns header, payload, and expiry information. Does not verify signatures.

ParameterTypeDescription
token*stringJWT token to decode
curl "https://infinium.tools/api/v1/jwt-decoder?token=eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1c2VyMTIzIn0.signature"

Hash Generator

GET /api/v1/hash-generator 🔓 Free Try it →

Generate cryptographic hashes (MD5, SHA-1, SHA-256, SHA-512) for any input string.

ParameterTypeDescription
input*stringString to hash
algorithmstringmd5, sha1, sha256, sha512 (default: sha256)
curl "https://infinium.tools/api/v1/hash-generator?input=hello+world&algorithm=sha256"

AI Log Detective Pro

POST /api/v1/ai/log-detective 🔐 Pro Try it →

AI-powered log analysis. Paste any server log (Nginx, Apache, Node.js, systemd) and get root cause analysis with fix suggestions.

ParameterTypeDescription
log*stringLog content to analyze (max 8KB)
curl -X POST "https://infinium.tools/api/v1/ai/log-detective" -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d '{"log":"[error] connect() failed..."}'

AI Config Reviewer Pro

POST /api/v1/ai/config-review 🔐 Pro Try it →

AI security and performance audit for Nginx, Apache, Docker, and other config files.

ParameterTypeDescription
config*stringConfiguration file content
typestringnginx, apache, docker, auto (default)

AI SEO Analyzer Pro

POST /api/v1/ai/seo-analyze 🔐 Pro Try it →

Full AI-powered SEO audit for any URL. Returns prioritised action plan with technical and content recommendations.

ParameterTypeDescription
url*stringFull URL to analyze

AI Cron Builder Pro

POST /api/v1/ai/cron-build 🔐 Pro Try it →

Describe a schedule in plain English and get the exact cron expression with explanation.

ParameterTypeDescription
description*stringPlain English schedule description
formatstringcron, systemd, kubernetes (default: cron)
curl -X POST "https://infinium.tools/api/v1/ai/cron-build" -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d '{"description":"every weekday at 9am"}'

Coming Soon

The following endpoints are in development and will be available in upcoming releases.

Security Headers

GET /api/v1/security-headers Live Try it →

Audit HTTP security headers for any URL. Returns a graded analysis of CSP, HSTS, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy, and more.

ParameterTypeDescription
url*stringFull URL to audit including protocol (e.g. https://infinium.tools)
Request
curl "https://infinium.tools/api/v1/security-headers?url=https://infinium.tools"
Response
{"url":"https://infinium.tools","statusCode":200,"ms":210,"headers":{"content-security-policy":"default-src 'self'","strict-transport-security":"max-age=31536000; includeSubDomains","x-frame-options":"SAMEORIGIN","x-content-type-options":"nosniff","referrer-policy":"strict-origin-when-cross-origin","permissions-policy":null},"allHeaders":{"server":"nginx","content-type":"text/html"}}

CORS Checker

GET /api/v1/cors-checker Live Try it →

Test CORS configuration for a URL and origin. Sends both a simple request and an OPTIONS preflight, returning all Access-Control headers and a policy evaluation.

ParameterTypeDescription
url*stringTarget URL to test CORS on
origin*stringOrigin to simulate (e.g. https://yoursite.com)
methodstringHTTP method to test. Default: GET. Options: GET POST PUT DELETE PATCH
Request
curl "https://infinium.tools/api/v1/cors-checker?url=https://api.example.com&origin=https://yoursite.com&method=GET"
Response
{"url":"https://api.example.com","origin":"https://yoursite.com","method":"GET","ms":180,"corsHeaders":{"access-control-allow-origin":"*","access-control-allow-methods":"GET, POST","access-control-allow-headers":null,"access-control-allow-credentials":null,"access-control-max-age":null},"preflight":{"statusCode":204,"ms":95,"headers":{"access-control-allow-origin":"*","access-control-allow-methods":"GET, POST, OPTIONS"}}}
POST /api/v1/ai/log-detective Pro
Pro — coming with auth launchSubmit server logs and receive AI-powered analysis identifying errors, root causes, and recommended fixes.
POST /api/v1/ai/seo-analyzer Pro
Pro — coming with auth launchSubmit a URL and receive a full AI-powered SEO action plan including meta tags, content, links, and technical issues.