Developer API

15 Free Endpoints for DNS, SSL, SEO, IP & More

A clean REST API covering the developer utilities you reach for most. No credit card required to get started. Available on RapidAPI.

Get Started on RapidAPI Browse Endpoints
Base URL https://imperialproducts.tech
15Endpoints
RESTProtocol
JSONFormat
FreeTier
HTTPSOnly

Imperial Products Developer API

A lightweight, developer-first REST API providing 15 utility endpoints. Every endpoint returns structured JSON, uses standard HTTP verbs, and requires no complex setup to get running. Ideal for automation scripts, internal dashboards, SaaS tools, and browser extensions.

⚡
Fast & Lightweight
All responses include a latency_ms field. Median response under 300 ms for cached lookups.
🔒
HTTPS Only
All endpoints are served over TLS 1.2+. Plain HTTP requests are redirected automatically.
📦
JSON Everywhere
Every response uses Content-Type: application/json. Consistent envelope with status, data, and meta.

Authentication

Pass your API key via the X-RapidAPI-Key header on every request. You can obtain a free key by subscribing on RapidAPI.

Requests without a valid key return HTTP 401 Unauthorized. Keep your key private — do not expose it in client-side JavaScript or public repositories.

Rate Limits

The free tier allows 100 requests / day and 10 requests / minute per API key. Response headers include X-RateLimit-Requests-Remaining and X-RateLimit-Requests-Reset so you can track usage programmatically.

When the rate limit is exceeded the API returns HTTP 429 Too Many Requests with a retry_after value in seconds.

Error Format

All errors follow the same JSON envelope. HTTP status codes map to standard semantics: 400 bad request, 401 unauthorized, 422 unprocessable entity, 429 rate limited, 500 server error.

// Error envelope example (HTTP 400)
{
  "status": "error",
  "error": {
    "code":    "INVALID_PARAM",
    "message": "The 'domain' parameter is required.",
    "param":   "domain"
  },
  "meta": {
    "request_id": "req_01JD4K8QXMCZ",
    "latency_ms": 4
  }
}

Network & Security
GET
/v1/dns/lookup
Query any DNS record type for a domain. Returns structured results with TTL, priority, and raw values.
#1
Query Parameters
ParameterTypeRequiredDescription
domainstringrequiredDomain name to query (e.g. example.com)
record_typestringoptionalDNS record type. One of: A, AAAA, MX, TXT, CNAME, NS, SOA. Default: A
Request
curl -G https://imperialproducts.tech/v1/dns/lookup \
  -d "domain=example.com" \
  -d "record_type=A" \
  -H "X-RapidAPI-Key: YOUR_KEY"
Response — 200 OK
{
  "status": "success",
  "data": {
    "domain":      "example.com",
    "record_type": "A",
    "records": [
      {
        "value": "93.184.216.34",
        "ttl":   3600
      }
    ]
  },
  "meta": {
    "request_id": "req_01JD4K",
    "latency_ms": 42
  }
}
GET
/v1/ssl/check
Retrieve SSL/TLS certificate details including issuer, expiry, SANs, and chain validity for any domain.
#2
Query Parameters
ParameterTypeRequiredDescription
domainstringrequiredHostname to check. Omit https:// — the API handles the TLS handshake.
Request
curl -G https://imperialproducts.tech/v1/ssl/check \
  -d "domain=github.com" \
  -H "X-RapidAPI-Key: YOUR_KEY"
Response — 200 OK
{
  "status": "success",
  "data": {
    "domain":      "github.com",
    "valid":       true,
    "issuer":      "DigiCert TLS Hybrid ECC SHA384",
    "subject":     "github.com",
    "issued_at":   "2024-03-07T00:00:00Z",
    "expires_at":  "2025-03-07T23:59:59Z",
    "days_left":   138,
    "sans":        ["github.com", "www.github.com"],
    "chain_valid": true,
    "protocol":    "TLSv1.3"
  },
  "meta": { "latency_ms": 210 }
}
GET
/v1/http/headers
Fetch all response headers for a URL and audit for security best-practices (HSTS, CSP, X-Frame-Options, etc.).
#6
Query Parameters
ParameterTypeRequiredDescription
urlstringrequiredFull URL including scheme, e.g. https://example.com
Request
curl -G https://imperialproducts.tech/v1/http/headers \
  --data-urlencode "url=https://example.com" \
  -H "X-RapidAPI-Key: YOUR_KEY"
Response — 200 OK
{
  "status": "success",
  "data": {
    "status_code": 200,
    "headers": {
      "content-type":              "text/html; charset=UTF-8",
      "strict-transport-security": "max-age=31536000",
      "x-frame-options":           "DENY"
    },
    "security_audit": {
      "hsts":             true,
      "csp":              false,
      "x_frame_options":  true,
      "x_content_type":  true,
      "referrer_policy": false,
      "score":           60
    }
  },
  "meta": { "latency_ms": 318 }
}
GET
/v1/ip/geolocation
Resolve an IPv4 or IPv6 address to country, region, city, ASN, and timezone.
#11
Query Parameters
ParameterTypeRequiredDescription
ipstringrequiredIPv4 or IPv6 address, e.g. 8.8.8.8
Request
curl -G https://imperialproducts.tech/v1/ip/geolocation \
  -d "ip=8.8.8.8" \
  -H "X-RapidAPI-Key: YOUR_KEY"
Response — 200 OK
{
  "status": "success",
  "data": {
    "ip":           "8.8.8.8",
    "version":     "IPv4",
    "country":     "United States",
    "country_code":"US",
    "region":      "Virginia",
    "city":        "Ashburn",
    "latitude":    39.0438,
    "longitude":   -77.4874,
    "timezone":    "America/New_York",
    "asn":         "AS15169",
    "org":         "Google LLC"
  },
  "meta": { "latency_ms": 18 }
}
Domain & Web Analysis
GET
/v1/whois/lookup
Retrieve WHOIS registration data: registrar, registrant, dates, nameservers, and status flags.
#5
Query Parameters
ParameterTypeRequiredDescription
domainstringrequiredDomain name to look up, e.g. google.com
Request
curl -G https://imperialproducts.tech/v1/whois/lookup \
  -d "domain=google.com" \
  -H "X-RapidAPI-Key: YOUR_KEY"
Response — 200 OK
{
  "status": "success",
  "data": {
    "domain":      "google.com",
    "registrar":   "MarkMonitor Inc.",
    "created_at":  "1997-09-15T04:00:00Z",
    "updated_at":  "2023-09-08T00:00:00Z",
    "expires_at":  "2028-09-14T04:00:00Z",
    "nameservers": [
      "ns1.google.com",
      "ns2.google.com"
    ],
    "status": ["clientDeleteProhibited"]
  },
  "meta": { "latency_ms": 540 }
}
GET
/v1/techstack/detect
Detect CMS, frameworks, analytics, CDN, server software, and JavaScript libraries used by any website.
#3
Query Parameters
ParameterTypeRequiredDescription
urlstringrequiredFull URL to analyze, e.g. https://example.com
Request
curl -G https://imperialproducts.tech/v1/techstack/detect \
  --data-urlencode "url=https://example.com" \
  -H "X-RapidAPI-Key: YOUR_KEY"
Response — 200 OK
{
  "status": "success",
  "data": {
    "url": "https://example.com",
    "technologies": [
      {
        "name":       "Nginx",
        "category":   "Web Servers",
        "confidence": 95
      },
      {
        "name":       "Bootstrap",
        "category":   "UI Frameworks",
        "confidence": 82
      }
    ]
  },
  "meta": { "latency_ms": 870 }
}
GET
/v1/seo/analyze
Audit a page's on-page SEO: title, meta description, headings structure, Open Graph tags, canonical URL, and schema.org markup.
#4
Query Parameters
ParameterTypeRequiredDescription
urlstringrequiredURL of the page to audit
Request
curl -G https://imperialproducts.tech/v1/seo/analyze \
  --data-urlencode "url=https://example.com" \
  -H "X-RapidAPI-Key: YOUR_KEY"
Response — 200 OK
{
  "status": "success",
  "data": {
    "url":          "https://example.com",
    "score":        74,
    "title": {
      "text":        "Example Domain",
      "length":      14,
      "ok":          true
    },
    "meta_desc": {
      "text":        null,
      "ok":          false
    },
    "headings": {
      "h1_count":    1,
      "h2_count":    0
    },
    "canonical":    "https://example.com",
    "og_tags": {
      "title":       null,
      "description": null,
      "image":       null
    },
    "schema_types": []
  },
  "meta": { "latency_ms": 620 }
}
GET
/v1/performance/check
Measure page load time, TTFB, response size, compression, and redirect chain for any URL.
#7
Query Parameters
ParameterTypeRequiredDescription
urlstringrequiredURL to measure
Request
curl -G https://imperialproducts.tech/v1/performance/check \
  --data-urlencode "url=https://example.com" \
  -H "X-RapidAPI-Key: YOUR_KEY"
Response — 200 OK
{
  "status": "success",
  "data": {
    "url":              "https://example.com",
    "ttfb_ms":         188,
    "total_time_ms":   402,
    "response_size_kb":1.27,
    "gzip_enabled":    true,
    "http2":           true,
    "redirects": [],
    "final_url":       "https://example.com"
  },
  "meta": { "latency_ms": 415 }
}
GET
/v1/url/metadata
Fetch title, description, favicon, and Open Graph preview data for any URL. Ideal for building link-preview widgets.
#13
Query Parameters
ParameterTypeRequiredDescription
urlstringrequiredURL to fetch metadata for, e.g. https://github.com
Request
curl -G https://imperialproducts.tech/v1/url/metadata \
  --data-urlencode "url=https://github.com" \
  -H "X-RapidAPI-Key: YOUR_KEY"
Response — 200 OK
{
  "status": "success",
  "data": {
    "url":          "https://github.com",
    "title":        "GitHub: Let's build from here",
    "description":  "GitHub is where over 100 million developers shape the future of software.",
    "favicon":      "https://github.githubassets.com/favicons/favicon.svg",
    "og_image":     "https://github.githubassets.com/images/modules/open_graph/github-logo.png",
    "og_type":      "website",
    "twitter_card": "summary"
  },
  "meta": { "latency_ms": 490 }
}
Utilities & Data Tools
GET
/v1/email/validate
Validate an email address: syntax check, MX record verification, disposable domain detection, and role-account flagging.
#8
Query Parameters
ParameterTypeRequiredDescription
emailstringrequiredEmail address to validate, e.g. test@gmail.com
Request
curl -G https://imperialproducts.tech/v1/email/validate \
  -d "email=test@gmail.com" \
  -H "X-RapidAPI-Key: YOUR_KEY"
Response — 200 OK
{
  "status": "success",
  "data": {
    "email":       "test@gmail.com",
    "valid":       true,
    "syntax_ok":   true,
    "mx_found":    true,
    "disposable":  false,
    "role_account":false,
    "domain":      "gmail.com",
    "suggestion":  null
  },
  "meta": { "latency_ms": 95 }
}
GET
/v1/qrcode/generate
Generate a QR code for any text or URL. Returns a base64-encoded PNG or SVG image embedded in JSON.
#9
Query Parameters
ParameterTypeRequiredDescription
datastringrequiredThe content to encode, e.g. https://example.com
sizeintegeroptionalImage size in pixels (64–1024). Default: 256
formatstringoptionalpng or svg. Default: png
Request
curl -G https://imperialproducts.tech/v1/qrcode/generate \
  --data-urlencode "data=https://example.com" \
  -d "size=256" \
  -d "format=png" \
  -H "X-RapidAPI-Key: YOUR_KEY"
Response — 200 OK
{
  "status": "success",
  "data": {
    "format":    "png",
    "size":      256,
    "mime_type": "image/png",
    "image_b64": "iVBORw0KGgoAAAANSUhEU...",
    "data_uri":  "data:image/png;base64,iVBORw0..."
  },
  "meta": { "latency_ms": 55 }
}
GET
/v1/hash/generate
Generate MD5, SHA-1, SHA-256, and SHA-512 hashes for any input string. Pass algorithm=all to get all four at once.
#12
Query Parameters
ParameterTypeRequiredDescription
textstringrequiredInput string to hash
algorithmstringoptionalOne of: md5, sha1, sha256, sha512, all. Default: all
Request
curl -G https://imperialproducts.tech/v1/hash/generate \
  -d "text=hello" \
  -d "algorithm=all" \
  -H "X-RapidAPI-Key: YOUR_KEY"
Response — 200 OK
{
  "status": "success",
  "data": {
    "input":  "hello",
    "hashes": {
      "md5":    "5d41402abc4b2a76b9719d911017c592",
      "sha1":   "aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d",
      "sha256": "2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824",
      "sha512": "9b71d224bd62f3785d96d46ad3ea3d1..."
    }
  },
  "meta": { "latency_ms": 6 }
}
GET
/v1/password/strength
Analyze password entropy, strength score (0–100), crack time estimate, and character composition.
#14
Query Parameters
ParameterTypeRequiredDescription
passwordstringrequiredPassword string to evaluate. Transmitted over HTTPS only — never log or store passwords.
Always call this endpoint over HTTPS. Passwords are evaluated server-side and immediately discarded; they are never logged or persisted.
Request
curl -G https://imperialproducts.tech/v1/password/strength \
  -d "password=Tr0ub4dor%26Mu" \
  -H "X-RapidAPI-Key: YOUR_KEY"
Response — 200 OK
{
  "status": "success",
  "data": {
    "score":      82,
    "strength":   "strong",
    "entropy":    74.1,
    "crack_time": "centuries",
    "length":     14,
    "composition": {
      "uppercase": true,
      "lowercase": true,
      "numbers":   true,
      "symbols":   true
    },
    "suggestions": []
  },
  "meta": { "latency_ms": 8 }
}
POST
/v1/text/analyze
Analyze body text for readability score (Flesch-Kincaid), word count, sentence count, keyword density, and estimated reading time.
#10
Request Body (application/json)
FieldTypeRequiredDescription
textstringrequiredThe text content to analyze (max 50,000 characters)
top_keywordsintegeroptionalNumber of top keywords to return. Default: 10
Request
curl -X POST \
  https://imperialproducts.tech/v1/text/analyze \
  -H "Content-Type: application/json" \
  -H "X-RapidAPI-Key: YOUR_KEY" \
  -d '{
    "text": "The quick brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs.",
    "top_keywords": 5
  }'
Response — 200 OK
{
  "status": "success",
  "data": {
    "word_count":      17,
    "sentence_count":  2,
    "char_count":      86,
    "reading_time_sec":4,
    "flesch_score":    72.4,
    "grade_level":     "6th grade",
    "keywords": [
      { "word": "fox",    "count": 1, "density": 5.88 },
      { "word": "quick",  "count": 1, "density": 5.88 }
    ]
  },
  "meta": { "latency_ms": 12 }
}
POST
/v1/json/validate
Validate, parse, and pretty-format a JSON string. Returns a detailed parse error with line/column on failure.
#15
Request Body (application/json)
FieldTypeRequiredDescription
textstringrequiredThe JSON string to validate and format
indentintegeroptionalIndentation spaces for formatted output (1–8). Default: 2
Request
curl -X POST \
  https://imperialproducts.tech/v1/json/validate \
  -H "Content-Type: application/json" \
  -H "X-RapidAPI-Key: YOUR_KEY" \
  -d '{
    "text": "{\"name\":\"Alice\",\"age\":30}",
    "indent": 2
  }'
Response — 200 OK
{
  "status": "success",
  "data": {
    "valid":     true,
    "formatted": "{\n  \"name\": \"Alice\",\n  \"age\": 30\n}",
    "keys":      2,
    "depth":     1,
    "type":      "object"
  },
  "meta": { "latency_ms": 3 }
}
Response — 422 (invalid JSON)
{
  "status": "error",
  "data": {
    "valid":   false,
    "error":   "Unexpected token '}' at position 14",
    "line":    1,
    "column":  14
  },
  "meta": { "latency_ms": 2 }
}
⚡

Ready to start building?

Get your free API key on RapidAPI. The free tier includes 100 requests per day with no credit card required. Paid plans unlock higher rate limits and priority support.

Subscribe on RapidAPI — Free

All Endpoints at a Glance

# Method Path Description
1GET/v1/dns/lookupDNS record lookup
2GET/v1/ssl/checkSSL certificate checker
3GET/v1/techstack/detectWebsite tech stack detector
4GET/v1/seo/analyzeSEO analyzer (title, meta, headings, OG, schema)
5GET/v1/whois/lookupWHOIS domain info
6GET/v1/http/headersHTTP headers & security audit
7GET/v1/performance/checkPerformance measurement
8GET/v1/email/validateEmail validation
9GET/v1/qrcode/generateQR code generator (returns base64 image)
10POST/v1/text/analyzeText analysis (readability, keyword density)
11GET/v1/ip/geolocationIP geolocation
12GET/v1/hash/generateHash generator (MD5, SHA1, SHA256, SHA512)
13GET/v1/url/metadataURL metadata / link preview
14GET/v1/password/strengthPassword strength checker
15POST/v1/json/validateJSON validator & formatter