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.
{
"status" : "error" ,
"error" : {
"code" : "INVALID_PARAM" ,
"message" : "The 'domain' parameter is required." ,
"param" : "domain"
},
"meta" : {
"request_id" : "req_01JD4K8QXMCZ" ,
"latency_ms" : 4
}
}
Network & Security
Query Parameters
Parameter Type Required Description
domain string required Domain name to query (e.g. example.com)
record_type string optional DNS 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
}
}
Query Parameters
Parameter Type Required Description
domain string required Hostname 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 }
}
Query Parameters
Parameter Type Required Description
ip string required IPv4 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
Query Parameters
Parameter Type Required Description
domain string required Domain 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 }
}
Query Parameters
Parameter Type Required Description
url string required Full 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 }
}
Query Parameters
Parameter Type Required Description
url string required URL 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 }
}
Query Parameters
Parameter Type Required Description
url string required URL 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 }
}
Query Parameters
Parameter Type Required Description
url string required URL 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
Query Parameters
Parameter Type Required Description
email string required Email 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 }
}
Query Parameters
Parameter Type Required Description
data string required The content to encode, e.g. https://example.com
size integer optional Image size in pixels (64–1024). Default: 256
format string optional png 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 }
}
Query Parameters
Parameter Type Required Description
text string required Input string to hash
algorithm string optional One 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 }
}
Query Parameters
Parameter Type Required Description
password string required Password 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 }
}
Request Body (application/json)
Field Type Required Description
text string required The text content to analyze (max 50,000 characters)
top_keywords integer optional Number 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 }
}
Request Body (application/json)
Field Type Required Description
text string required The JSON string to validate and format
indent integer optional Indentation 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
1 GET /v1/dns/lookup DNS record lookup
2 GET /v1/ssl/check SSL certificate checker
3 GET /v1/techstack/detect Website tech stack detector
4 GET /v1/seo/analyze SEO analyzer (title, meta, headings, OG, schema)
5 GET /v1/whois/lookup WHOIS domain info
6 GET /v1/http/headers HTTP headers & security audit
7 GET /v1/performance/check Performance measurement
8 GET /v1/email/validate Email validation
9 GET /v1/qrcode/generate QR code generator (returns base64 image)
10 POST /v1/text/analyze Text analysis (readability, keyword density)
11 GET /v1/ip/geolocation IP geolocation
12 GET /v1/hash/generate Hash generator (MD5, SHA1, SHA256, SHA512)
13 GET /v1/url/metadata URL metadata / link preview
14 GET /v1/password/strength Password strength checker
15 POST /v1/json/validate JSON validator & formatter