Skip to main content

API Documentation

All tools expose a public REST API. No authentication required.

Base URL
https://codeteck.de
Default rate limit
20 requests / minute / IP
Authentication
None required
Response format
JSON
Errors return a JSON object with an error field and an appropriate HTTP status code (400, 429, 500). Rate-limited responses return HTTP 429.
GET/api/dns-lookup

Query DNS records for a domain.

Parameters
domainstringrequiredDomain name to query (e.g. example.com)
typestringoptionalRecord type: A, AAAA, MX, TXT, CNAME, NS, SOA (default: A)
Example
curl "https://codeteck.de/api/dns-lookup?domain=example.com&type=MX"
Response
{ "domain": "example.com", "type": "MX", "records": [...] }
GET/api/ssl-checker

Check SSL certificate validity, expiry, and issuer for a domain.

Parameters
domainstringrequiredDomain name (without https://)
Example
curl "https://codeteck.de/api/ssl-checker?domain=example.com"
Response
{ "cert": { "subject": "...", "issuer": "...", "validFrom": "...", "validTo": "...", "daysRemaining": 90 } }
GET/api/ip-lookup

Get geolocation, ISP, and ASN info for an IP address or domain.

Parameters
ipstringrequiredIPv4 address, IPv6 address, or domain name
Example
curl "https://codeteck.de/api/ip-lookup?ip=8.8.8.8"
Response
{ "query": "8.8.8.8", "country": "United States", "isp": "Google LLC", "as": "AS15169 Google LLC", ... }
GET/api/whois

Look up domain registration details, registrar, and expiry date.

Parameters
domainstringrequiredDomain name to look up
Example
curl "https://codeteck.de/api/whois?domain=example.com"
Response
{ "domain": "example.com", "data": { "registrar": "...", "createdDate": "...", "expiresDate": "...", ... } }
GET/api/http-headers

Fetch HTTP response headers and redirect chain for a URL.

Parameters
urlstringrequiredTarget URL (https:// is added if omitted)
Example
curl "https://codeteck.de/api/http-headers?url=https://example.com"
Response
{ "url": "...", "status": 200, "headers": { "content-type": "...", ... }, "redirectChain": [...] }
GET/api/uptime-check

Check if a website is reachable and measure response time.

Parameters
urlstringrequiredTarget URL to check
Example
curl "https://codeteck.de/api/uptime-check?url=https://example.com"
Response
{ "url": "...", "up": true, "status": 200, "responseTime": 142 }
GET/api/port-checker15 req / min

Check if a TCP port is open or closed on a host.

Parameters
hoststringrequiredHostname or IP address
portnumberrequiredPort number (1–65535)
Example
curl "https://codeteck.de/api/port-checker?host=example.com&port=443"
Response
{ "host": "example.com", "port": 443, "open": true }
GET/api/reverse-dns

Look up the PTR record (hostname) for an IP address.

Parameters
ipstringrequiredIPv4 or IPv6 address
Example
curl "https://codeteck.de/api/reverse-dns?ip=8.8.8.8"
Response
{ "ip": "8.8.8.8", "hostnames": ["dns.google"] }
GET/api/asn-lookup15 req / min

Get the ASN, ISP, and organisation details for an IP address.

Parameters
ipstringrequiredIPv4 or IPv6 address
Example
curl "https://codeteck.de/api/asn-lookup?ip=8.8.8.8"
Response
{ "ip": "8.8.8.8", "asn": "AS15169", "asnName": "Google LLC", "isp": "Google LLC", "country": "United States", ... }
GET/api/cors-tester

Test whether a URL allows cross-origin requests from a given origin.

Parameters
urlstringrequiredTarget URL to test
originstringoptionalOrigin to test against (default: https://example.com)
Example
curl "https://codeteck.de/api/cors-tester?url=https://api.example.com&origin=https://myapp.com"
Response
{ "passes": true, "corsHeaders": { "access-control-allow-origin": "*", ... }, "status": 200 }
GET/api/http-ping10 req / min

Measure DNS resolution time, TCP connect time, and TTFB for a URL.

Parameters
urlstringrequiredTarget URL to ping
Example
curl "https://codeteck.de/api/http-ping?url=https://example.com"
Response
{ "url": "...", "status": 200, "dnsTime": 12, "connectTime": 45, "ttfb": 120, "totalTime": 350, "server": "nginx" }
GET/api/wp-version10 req / min

Detect the WordPress version running on a website.

Parameters
urlstringrequiredWebsite URL to check
Example
curl "https://codeteck.de/api/wp-version?url=https://example.com"
Response
{ "url": "...", "isWordPress": true, "version": "6.4.2", "sources": [...] }
GET/api/wp-detector10 req / min

Detect WordPress theme, plugins, and other signatures on a website.

Parameters
urlstringrequiredWebsite URL to inspect
Example
curl "https://codeteck.de/api/wp-detector?url=https://example.com"
Response
{ "url": "...", "isWordPress": true, "theme": { "name": "...", "uri": "..." }, "plugins": [...] }
POST/api/hash-generator30 req / min

Generate MD5, SHA-1, SHA-256, and SHA-512 hashes from text.

Parameters
textstring (body)requiredJSON body: { "text": "..." } — max 100 KB
Example
curl -X POST "https://codeteck.de/api/hash-generator" \
  -H "Content-Type: application/json" \
  -d '{"text":"hello world"}'
Response
{ "md5": "5eb63bbbe01...", "sha1": "2aae6c69c2b...", "sha256": "b94d27b9934...", "sha512": "..." }
All endpoints are served from https://codeteck.de. Browse the tools →