middle.network: DNS, Email Auth (SPF/DKIM/DMARC/MTA-STS), Web/TLS, WHOIS/RDAP, ASN & Network Tools
v1.3.080 read-only DNS, email auth, HTTP/TLS, ping/trace, WHOIS/RDAP, ASN/BGP, GeoIP & decoder tools.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
health_check Health check
Run an all-in-one Domain Health Check across DNS, email authentication (MX, SPF, DKIM, DMARC, BIMI, MTA-STS, TLS-RPT, blacklists), website HTTP/redirects/security headers, TLS, network routing/ASN, and WHOIS/GeoIP with a 0 to 100 score and prioritised fixes. domain strips URL parts/trailing dots; optional sections filters to a subset (dns, email, web, tls, network, ownership) and regions picks probes by city, country, continent, or list_probes ID. Start here for full audits; cached full runs replay within 10 min and opted-out domains return isError=true. Requires middle.network auth; uses 15 d…
| Parameter | Type | Description |
|---|---|---|
domain * | string | A domain name, such as example.com. A URL is accepted and its host name is used. |
regions | array | Probe locations to test from: canonical <country>-<city> IDs (for example au-sydney, gb-london, de-frankfurt), city names, ISO-2 country codes (AU, GB, DE, US), continents (@EU, @NA, @AS, @OC, @ME, @S… |
sections | array | Only these parts of the check. Leave out for the full check. |
dns_lookup DNS lookup (all records)
Look up all common DNS records (A, AAAA, CNAME, MX, NS, TXT, SOA, CAA) for a domain. domain strips ports, paths, and trailing dots (rejects IPs); compare diffs a second resolver (ignored if equal to resolver) and dnssec=true sets the DO bit (auto for DS/DNSKEY). Use for a full overview, not single types (dns_record), global spread (dns_propagation), or NS audits (dns_health). NXDOMAIN returns a fail finding and per-type timeouts stay partial warnings; invalid domain returns isError=true. Requires middle.network auth; uses 2 daily quota units.
| Parameter | Type | Description |
|---|---|---|
domain * | string | A domain name, such as example.com. A URL is accepted and its host name is used. |
compare | string | A second resolver to ask at the same time, so the answers can be compared side by side. |
dnssec | boolean | Ask for DNSSEC signatures too (the DO bit). |
resolver | string | Which resolver to ask: a public resolver key, or "authoritative" for the domain’s own nameserver. Leave out for our default. |
types | array | Record types to look up. Leave out for all of them. |
dns_record Single record lookup
Query one DNS record type (A, AAAA, CNAME, MX, NS, TXT, CAA, SOA, SRV, DS, DNSKEY, HTTPS, PTR) from a chosen public or authoritative resolver. domain strips ports/paths/trailing dots (no IPs); type defaults to "A", resolver accepts a key or "authoritative", and dnssec=true sets DO (auto for DS/DNSKEY). Use for targeted lookups, not full overviews (dns_lookup) or global spread (dns_propagation). NXDOMAIN/NODATA return structured answers, timeouts return an error finding, and bad input returns isError=true. Requires middle.network auth; uses 2 daily quota units.
| Parameter | Type | Description |
|---|---|---|
domain * | string | A domain name, such as example.com. A URL is accepted and its host name is used. |
dnssec | boolean | Ask for DNSSEC signatures too (the DO bit). |
resolver | string | Which resolver to ask: a public resolver key, or "authoritative". Leave out for our default. |
type | string | The record type. |
dns_propagation DNS propagation
Check global DNS propagation of one record type across worldwide probes and public resolvers with consensus status. domain strips URL parts/trailing dots; resolvers defaults to 4 core resolvers (Cloudflare, Google, Quad9, OpenDNS) or ["all"], and regions takes probe id/city from list_probes or ["all"] (tier-capped). Use after DNS changes, not single lookups (dns_lookup) or auth diffs (dns_auth_vs_cache). Multi-second fan-out auto-detects CDN/geo-DNS; timed-out probes or SERVFAIL stay partial findings. Requires middle.network auth; uses 3 daily quota units.
| Parameter | Type | Description |
|---|---|---|
domain * | string | A domain name, such as example.com. A URL is accepted and its host name is used. |
regions | array | Probe locations to test from: canonical <country>-<city> IDs (for example au-sydney, gb-london, de-frankfurt), city names, ISO-2 country codes (AU, GB, DE, US), continents (@EU, @NA, @AS, @OC, @ME, @S… |
resolvers | array | Public resolvers each location asks. Public resolver keys, or ["all"]. Leave out for the popular four. |
type | string | The record type. |
reverse_dns Reverse DNS (PTR)
Look up reverse DNS (rDNS / PTR) hostnames for an IPv4 or IPv6 address and verify forward-confirmed rDNS (FCrDNS). ip requires a single IPv4 or IPv6 address and rejects hostnames or CIDR blocks. Use when you already have an IP, not when starting from a domain (reverse_ip) or checking ownership/routing (whois_ip, asn). Missing PTR or failed FCrDNS returns warn findings rather than errors; invalid ip returns isError=true. Requires middle.network auth; uses 2 daily quota units.
| Parameter | Type | Description |
|---|---|---|
ip * | string | An IPv4 or IPv6 address. |
dnssec DNSSEC validation
Validate a domain DNSSEC chain of trust (DS, DNSKEY, RRSIG, AD flag) to verify signing or diagnose SERVFAIL. domain strips URL parts/trailing dots (no IPs); subdomains automatically walk up to validate their parent signed zone. Use for DNSSEC checks before migrations or SERVFAIL triage, not general records (dns_lookup) or NS audits (dns_health). Unsigned zones return an info finding while bogus signatures or DS/DNSKEY mismatches return fail findings; invalid domain returns isError=true. Requires middle.network auth; uses 2 daily quota units.
| Parameter | Type | Description |
|---|---|---|
domain * | string | A domain name, such as example.com. A URL is accepted and its host name is used. |
dns_health DNS health report
Audit every authoritative nameserver for a domain: glue resolution, AA authority, SOA serial sync, open recursion, and latency. domain strips URL parts/trailing dots (no IPs); subdomains without NS records inherit and audit their parent zone. Use for nameserver audits, not record values (dns_lookup), DNSSEC (dnssec), or migration diffs (zone_precheck). Queries each NS directly (non-recursive); unreachable, lame, or open-recursive servers return fail/warn findings without aborting. Requires middle.network auth; uses 2 daily quota units.
| Parameter | Type | Description |
|---|---|---|
domain * | string | A domain name, such as example.com. A URL is accepted and its host name is used. |
dns_blocklists DNS blocklist check
Check a domain and its CNAME targets against 100+ daily-refreshed DNS filter and threat blocklists (AdGuard, Pi-hole, HaGeZi, OISD, URLHaus, Phishing Army, Steven Black, EasyPrivacy, CERT Polska). domain strips URL parts; optional category filters to threat, ads, regional, risk, or policy. Threat hits return fail, ad/tracker hits warn, and TLD/policy notes info. Use for DNS filter lists, not email spam RBLs (blacklist) or HTTP payload scans (hostile_check). Instant local lookup; returns info if still loading. Requires middle.network auth; uses 2 daily quota units.
| Parameter | Type | Description |
|---|---|---|
domain * | string | A domain name, such as example.com. A URL is accepted and its host name is used. |
category | string | Optional category filter: threat (malware/phishing/scam), ads (ad/tracker lists), regional, risk (abused TLDs/bypass/DynDNS), or policy (gambling/NSFW/piracy/social). Leave out to check all categories… |
dns_auth_vs_cache Authoritative vs cached
Compare authoritative nameserver answers against cached public resolvers across global probes to expose stale caches and remaining TTLs. domain strips URL parts/trailing dots; type defaults to "A", resolvers defaults to 4 core resolvers or ["all"], and regions takes probe id/city from list_probes or ["all"] (tier-capped). Use to diagnose stale caches, not general propagation (dns_propagation) or single lookups (dns_record). Multi-second fan-out returns isError=true if no NS exists; probe timeouts stay partial. Requires middle.network auth; uses 3 daily quota units.
| Parameter | Type | Description |
|---|---|---|
domain * | string | A domain name, such as example.com. A URL is accepted and its host name is used. |
regions | array | Probe locations to test from: canonical <country>-<city> IDs (for example au-sydney, gb-london, de-frankfurt), city names, ISO-2 country codes (AU, GB, DE, US), continents (@EU, @NA, @AS, @OC, @ME, @S… |
resolvers | array | Caches to compare with the authoritative answer. Public resolver keys, or ["all"]. Leave out for the popular four. |
type | string | The record type. |
dns_speed DNS resolver speed test
Benchmark cached and uncached DNS query latency (ms) across public resolvers from global probes. domain strips URL parts/trailing dots; resolvers defaults to 4 core resolvers (Cloudflare, Google, Quad9, OpenDNS) or ["all"], and regions takes probe id/city from list_probes or ["all"] (tier-capped). Use to compare resolver speed, not inspect records (dns_record, dns_lookup). Runs 3 fan-out passes (random label uncached, apex twice cached) over a few seconds; timed-out probes stay partial. Requires middle.network auth; uses 3 daily quota units.
| Parameter | Type | Description |
|---|---|---|
domain * | string | A domain name, such as example.com. A URL is accepted and its host name is used. |
regions | array | Probe locations to test from: canonical <country>-<city> IDs (for example au-sydney, gb-london, de-frankfurt), city names, ISO-2 country codes (AU, GB, DE, US), continents (@EU, @NA, @AS, @OC, @ME, @S… |
resolvers | array | Resolvers to time. Public resolver keys, or ["all"]. Leave out for the popular four. |
subdomains Subdomain finder
Discover live subdomains from Certificate Transparency logs and an 85-word prefix list, flagging dangling CNAME takeover risks. domain strips URL parts/trailing dots (no IPs); caps DNS resolution at 400 candidates and HTTP takeover checks at 20 CNAME hosts. Use for live host inventory and takeover triage, not full historical certificate records (ct_logs). Queries crt.sh with Cert Spotter fallback; if both CT sources fail, falls back to the wordlist alone and sets limited. Requires middle.network auth; uses 4 daily quota units.
| Parameter | Type | Description |
|---|---|---|
domain * | string | A domain name, such as example.com. A URL is accepted and its host name is used. |
zone_precheck Zone pre-check (new nameservers)
Compare live apex and www DNS records (SOA, NS, A, AAAA, MX, TXT, CAA) against proposed authoritative nameservers before cutover. domain strips URL parts/trailing dots; ns takes up to 8 comma/whitespace-separated hostnames or IPs (trailing dots stripped), and omitting ns audits current nameservers. Use before registrar NS changes, not offline BIND linting (zone_format). Queries each NS directly; unreachable/lame servers or missing records return fail findings without aborting. Requires middle.network auth; uses 2 daily quota units.
| Parameter | Type | Description |
|---|---|---|
domain * | string | A domain name, such as example.com. A URL is accepted and its host name is used. |
ns | string | The new nameservers, comma-separated. Leave out to check the current ones. |
mx MX lookup
Look up Mail Exchange (MX) records for a domain, verify A/AAAA resolution and PTR reverse DNS, and identify the mail provider. domain strips URL parts/trailing dots (no IPs); checks CNAME violations and up to 2 IPs per MX host for PTR records. Use for mail-routing diagnostics instead of raw dns_lookup, not full deliverability scoring (email_score). Null MX ("0 .") returns info, non-mail subdomains pass (noMail=true), and missing MX on mail domains returns a fail finding. Requires middle.network auth; uses 2 daily quota units.
| Parameter | Type | Description |
|---|---|---|
domain * | string | A domain name, such as example.com. A URL is accepted and its host name is used. |
spf SPF check
Validate a domain live SPF (v=spf1) TXT record by expanding include/redirect chains against the RFC 7208 10-lookup and 2-void limits. domain strips URL parts/trailing dots (no IPs); expansion caps at depth 10 and 30 lookups, adding a flattened draft when lookups >=6. Use to audit live SPF, not draft records (email_generators with type="spf") or full scoring (email_score). Missing/duplicate SPF returns fail findings (protected non-mail subdomains pass); DNS timeouts return isError=true. Requires middle.network auth; uses 2 daily quota units.
| Parameter | Type | Description |
|---|---|---|
domain * | string | A domain name, such as example.com. A URL is accepted and its host name is used. |
dkim DKIM check
Look up published DKIM selector TXT/CNAME keys, checking RSA/Ed25519 strength, syntax, revocation, and dangling CNAMEs. domain strips URL parts/trailing dots; selector takes comma/whitespace-separated names, and omitting it auto-probes ~100 common selectors plus the first label (up to 5 CNAME hops). Use to verify live keys, not draft records (email_generators with type="dkim"). Auto-probing bursts parallel DNS queries; missing keys warn (fail if explicit), and weak/broken keys return findings. Requires middle.network auth; uses 2 daily quota units.
| Parameter | Type | Description |
|---|---|---|
domain * | string | A domain name, such as example.com. A URL is accepted and its host name is used. |
selector | string | DKIM selector(s), comma-separated. Leave out to try the common ones. |
dmarc DMARC check
Inspect a domain _dmarc TXT policy (p, sp, pct, adkim, aspf, rua, ruf) and verify external rua reporting authorization. domain strips URL parts/trailing dots (no IPs); subdomains inherit the registrable organisational domain _dmarc record and apply sp=. Use to audit live DMARC DNS, not parse RUA XML (dmarc_reports) or draft records (email_generators with type="dmarc"). Missing/duplicate records fail and p=none or partial pct warn (not errors); invalid domain returns isError=true. Requires middle.network auth; uses 2 daily quota units.
| Parameter | Type | Description |
|---|---|---|
domain * | string | A domain name, such as example.com. A URL is accepted and its host name is used. |
bimi BIMI check
Validate a domain BIMI (default._bimi) TXT record, lint its SVG Tiny PS logo, and inspect its VMC/CMC certificate alongside DMARC enforcement. domain strips URL parts/trailing dots (no IPs); fetches only http(s) l=/a= URLs up to 64 KB each and enforces the 32 KB SVG cap. Use after enforcing DMARC, not for DMARC alone (dmarc) or drafting records (email_generators with type="bimi"). Missing BIMI returns info (non-mail subdomains pass); invalid SVGs, expired certs, or fetch failures return fail/warn findings. Requires middle.network auth; uses 2 daily quota units.
| Parameter | Type | Description |
|---|---|---|
domain * | string | A domain name, such as example.com. A URL is accepted and its host name is used. |
mta_sts MTA-STS check
Validate a domain MTA-STS (_mta-sts TXT and HTTPS policy at mta-sts.<domain>/.well-known/mta-sts.txt) for enforced inbound SMTP TLS. domain strips URL parts/trailing dots (no IPs) and targets both DNS TXT and the 64 KB-capped HTTPS fetch. Pair with tls_rpt for mail transport security; do not use to draft policies (email_generators with type="mta-sts") or audit sender auth (spf, dkim, dmarc). Missing TXT returns info (non-mail subdomains pass); missing/malformed policies, bad TLS, or unmatched MX return fail findings. Requires middle.network auth; uses 2 daily quota units.
| Parameter | Type | Description |
|---|---|---|
domain * | string | A domain name, such as example.com. A URL is accepted and its host name is used. |
tls_rpt TLS-RPT check
Validate a domain SMTP TLS Reporting (_smtp._tls TXT) record for v=TLSRPTv1 syntax and valid mailto:/https: rua reporting URIs. domain strips URL parts/trailing dots (no IPs) and queries _smtp._tls.<domain> directly. Pair with mta_sts to verify TLS failure reporting; do not use for raw unparsed TXT (dns_record) or inbound policy checks (mta_sts). Missing TLS-RPT returns an info finding (non-mail subdomains pass) and malformed rua URIs return a fail finding, not a tool error. Requires middle.network auth; uses 2 daily quota units.
| Parameter | Type | Description |
|---|---|---|
domain * | string | A domain name, such as example.com. A URL is accepted and its host name is used. |
dane DANE / TLSA
Validate SMTP DANE TLSA records (_25._tcp.<mx>) alongside DNSSEC signing and live STARTTLS certificates on a domain mail servers. domain strips URL parts/trailing dots (no IPs) and tests published MX hosts. Pair with mta_sts and dnssec for inbound mail transport security; do not use for SPF/DKIM/DMARC (email_score) or generic TLS (tls). Missing TLSA returns info, while TLSA mismatches, unsigned DNSSEC, or unreachable MX hosts return fail/warn findings. Requires middle.network auth; uses 2 daily quota units.
| Parameter | Type | Description |
|---|---|---|
domain * | string | A domain name, such as example.com. A URL is accepted and its host name is used. |
blacklist Blacklist check
Check an IPv4/IPv6 address or domain against major spam blacklists and blocklists (DNSBL and RBL zones: Spamhaus, Barracuda, SpamCop, SURBL, URIBL). target accepts an IP (brackets stripped) or domain (resolves up to 6 IPv4s from web A, top 3 MX, and SPF ip4: rules). Use for reputation triage, not overall auth scoring (email_score) or batch IP enrichment (bulk_ip). Self-tests zones via RFC 5782 canaries; refusing or timed-out lists are reported in limited and never marked clean. Requires middle.network auth; uses 4 daily quota units.
| Parameter | Type | Description |
|---|---|---|
target * | string | A domain (its mail servers and website are checked) or an IP address. |
email_headers Email header analyser
Parse raw RFC 5322 email headers offline to trace Received relay hops, inter-hop delays, and Authentication-Results (SPF, DKIM, DMARC, ARC). text requires raw headers from "Show original" (20 chars to 256 KB); parsing stops at the first blank line so bodies are ignored. Use to debug a specific email, not live domain DNS (spf, dkim, dmarc, email_score). Offline; flags clock skew, >300s delays, and auth failures as warn findings, and returns isError=true if no headers exist. Requires middle.network auth; uses 1 daily quota unit.
| Parameter | Type | Description |
|---|---|---|
text * | string | The full headers of one email, as pasted from “Show original”. |
smtp SMTP test
Test live mail server SMTP reachability, banner, EHLO extensions, STARTTLS/implicit TLS cipher and certificate, and open-relay safety. domain accepts a domain (uses its top MX host) or mail server hostname; port tests one port (25, 587, or 465) or all three when omitted. Use for mail server connectivity debugging, not DNS-only mail audits (mx, email_score). Sends polite non-delivering handshakes (never sends mail); blocked ports or timeouts return findings and opted-out hosts return isError=true. Requires middle.network auth; uses 2 daily quota units.
| Parameter | Type | Description |
|---|---|---|
domain * | string | A domain (its first MX host is tested) or a mail server’s host name. |
port | integer | One port to test. Leave out for 25, 587 and 465. |
bulk_sender Bulk sender compliance
Audit a domain against Gmail, Yahoo, and Outlook bulk-sender DNS rules (SPF, DKIM, DMARC, rua, MX) with per-rule pass/fail findings. domain strips URL parts/trailing dots (no IPs); selector takes comma/whitespace-separated DKIM selectors (omitted auto-probes ~100 common selectors). Use for 5,000+/day compliance checklists, not a weighted 0 to 100 score (email_score). Checks DNS-observable rules only (notes non-DNS rules as info); missing records return findings while invalid domains return isError=true. Requires middle.network auth; uses 4 daily quota units.
| Parameter | Type | Description |
|---|---|---|
domain * | string | A domain name, such as example.com. A URL is accepted and its host name is used. |
selector | string | DKIM selector(s), comma-separated. Leave out to try the common ones. |
email_score Domain email score
Compute a weighted 0 to 100 email authentication and deliverability score across MX, SPF, DKIM, DMARC, blacklist, MTA-STS, TLS-RPT, and BIMI with prioritized fixes. domain strips URL parts/trailing dots (no IPs); selector takes comma/whitespace-separated DKIM selectors (omitted auto-probes ~100 selectors). Use as the audit starting point, not compliance checklists (bulk_sender) or single-protocol deep dives (spf, dkim, dmarc, mta_sts, blacklist). Non-mail subdomains skip blacklists; sub-check errors degrade only that weight. Requires middle.network auth; uses 4 daily quota units.
| Parameter | Type | Description |
|---|---|---|
domain * | string | A domain name, such as example.com. A URL is accepted and its host name is used. |
selector | string | DKIM selector(s), comma-separated. Leave out to try the common ones. |
email_generators SPF / DMARC / DKIM / BIMI / MTA-STS record generator
Generate ready-to-paste DNS TXT records (and MTA-STS policy text) for SPF, DMARC, DKIM, BIMI, or MTA-STS. type (default "spf") picks the family and domain defaults to example.com; structured fields (senders, policy/rua, selector/publicKey, logoUrl, mxHosts/stsMode) always override legacy text shorthand. Use to draft records, not audit live DNS - call sibling audit tools (spf, dmarc, dkim, bimi, mta_sts) instead. Offline except type="mta-sts" (queries live MX if mxHosts/text omitted); refuses private keys with isError=true. Requires middle.network auth; uses 1 daily quota unit.
| Parameter | Type | Description |
|---|---|---|
adkim | string | DMARC: DKIM alignment mode: r (relaxed) or s (strict). |
aspf | string | DMARC: SPF alignment mode: r (relaxed) or s (strict). |
domain | string | The domain the record is for. Leave out for example.com. |
fo | string | DMARC: failure reporting trigger (fo=). |
keyType | string | DKIM: key algorithm (k=). |
logoUrl | string | BIMI: HTTPS URL to your SVG Tiny PS logo (l=). |
mxHosts | array | MTA-STS: authorised MX hostnames or wildcards (for example *.mail.protection.outlook.com). Leave out to read live MX records. |
pct | integer | DMARC: percentage of failing messages to apply the policy to (pct=). |
policy | string | DMARC: policy for messages failing authentication (p=). |
publicKey | string | DKIM: optional public key (PEM SPKI or base64) to format into v=DKIM1; k=...; p=... Never send a private key. |
rua | string | DMARC: aggregate report recipient email or mailto: URI (rua=). |
ruf | string | DMARC: optional forensic/failure report email or mailto: URI (ruf=). |
selector | string | DKIM: selector name (for example s1 or mail2026). Defaults to mn1. |
senders | array | SPF: authorised senders (include:_spf.google.com, ip4:192.0.2.1, mx, a, or a bare domain). |
spfPolicy | string | SPF: all-mechanism qualifier (-all hard fail, ~all soft fail, ?all neutral, +all pass). |
stsMaxAge | integer | MTA-STS: policy cache lifetime in seconds (86400 to 31557600). |
stsMode | string | MTA-STS: policy mode (start with testing, then move to enforce). |
subdomainPolicy | string | DMARC: optional policy override for subdomains (sp=). |
text | string | Optional shorthand settings text (legacy/quick mode): spf senders and policy, or semicolon/newline key=value pairs. Structured fields above take precedence when provided. |
type | string | Which email authentication DNS record to build. |
vmcUrl | string | BIMI: optional HTTPS URL to your VMC or CMC PEM certificate (a=). |
dmarc_reports DMARC report analyser
Analyse DMARC aggregate (RUA) reports offline for pass/fail totals, alignment, and failing source IPs. Supply raw RFC 7489 <feedback> XML in text (max 2 MB) or base64 .xml/.gz/.zip in file (max 1 MB binary / 2 MB uncompressed; file overrides text if both sent; filename is optional). Use for RUA triage (follow up with bulk_ip/asn), not live DNS policy (dmarc). Offline with XXE and zip-bomb guards; caps at 5,000 source records (flagged) and returns isError=true on invalid XML or multi-XML ZIPs. Requires middle.network auth; uses 1 daily quota unit.
| Parameter | Type | Description |
|---|---|---|
file | string | Base64-encoded DMARC aggregate report file (.xml, .gz, .xml.gz, or .zip, max 1 MB binary / 2 MB uncompressed). Provide either file or text. |
filename | string | Optional original filename (for example google.com!example.com!1700000000!1700086400.xml.gz). |
text | string | Raw DMARC aggregate report XML (starts with <feedback>). Provide either text or file. |
tls_rpt_reports TLS-RPT report analyser
Analyse SMTP TLS-RPT (RFC 8460) reports offline for TLS session pass/fail totals, MTA-STS/DANE policy state, and failure codes. Supply raw JSON in text (max 2 MB) or base64 .json/.json.gz/.gz/.zip in file (max 1 MB binary / 2 MB uncompressed; file overrides text; filename optional). Use to read daily TLS-RPT attachments, not live DNS checks (tls_rpt, mta_sts). Offline with zip/gzip-bomb guards; caps at 5,000 failure details and returns isError=true on invalid JSON or DMARC XML. Requires middle.network auth; uses 1 daily quota unit.
| Parameter | Type | Description |
|---|---|---|
file | string | Base64-encoded SMTP TLS-RPT report file (.json, .gz, .json.gz, or .zip, max 1 MB binary / 2 MB uncompressed). Provide either file or text. |
filename | string | Optional original filename (for example google.com!example.com!1700000000!1700086400!001.json.gz). |
text | string | Raw SMTP TLS-RPT report JSON (RFC 8460 object with date-range and policies). Provide either text or file. |
http HTTP check
Fetch a URL from global probes to inspect HTTP status, protocol (HTTP/1.1, HTTP/2, HTTP/3), response headers, redirects, timing, and HTML title. url prepends https:// to bare domains; method defaults to GET (or HEAD), ua picks default/chrome/iphone/googlebot, and regions picks probes by city, country, continent, or list_probes ID. Use for single-URL inspection, not regional censorship comparison (geoblock), uptime consensus (is_it_down), or redirect chains (redirects). Respects opt-out and blocks private IPs. Requires middle.network auth; uses 3 daily quota units.
| Parameter | Type | Description |
|---|---|---|
url * | string | The page to fetch. A bare domain gets https:// in front. |
method | string | HTTP method. |
regions | array | Probe locations to test from: canonical <country>-<city> IDs (for example au-sydney, gb-london, de-frankfurt), city names, ISO-2 country codes (AU, GB, DE, US), continents (@EU, @NA, @AS, @OC, @ME, @S… |
ua | string | Which browser to pretend to be. |
redirects Redirect tracer
Trace a URL HTTP/HTTPS redirect chain hop by hop, checking status codes (301, 302, 307, 308), hop count, loops, HTTPS upgrades, and canonical landing URL. url prepends https:// to bare domains. Use for single-URL redirect debugging, not batch URL migration matrices (bulk_redirects) or full response headers (http). Detects redirect loops, mixed-scheme downgrades, and excessive hops as warn/fail findings; invalid URLs or opted-out domains return isError=true. Requires middle.network auth; uses 2 daily quota units.
| Parameter | Type | Description |
|---|---|---|
url * | string | A URL or a bare domain (https:// is added). |
bulk_redirects Bulk redirect checker
Audit a batch of URLs or migration pairs ("old -> new") in one run, checking status codes, hop counts, loops, and expected destination matches. text takes one URL or pair per line; canonicalVariants=true expands bare domains into all 4 http/https x apex/www variants. Use for site migrations and canonical checks, not single-URL debugging (redirects). Caps batch size by account tier; private IPs and opted-out hosts are skipped per row and empty input returns isError=true. Requires middle.network auth; uses 8 daily quota units.
| Parameter | Type | Description |
|---|---|---|
text * | string | URLs or domains (one per line), or migration pairs like "https://old.example/a -> https://new.example/b". Up to 10 signed out, 25 free account, or up to 100-250 with a one-off pass or Pro/Team plan. |
canonicalVariants | boolean | Expand each bare domain into all 4 canonical variants (http/https x apex/www) to verify they collapse cleanly in one hop. |
security_headers Security headers
Grade a URL HTTP security headers (HSTS, CSP, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy, COOP/COEP) from A+ to F with copy-paste fixes. url prepends https:// to bare domains. Use for web hardening audits, not raw response inspection (http), TLS cipher checks (tls), or malware scanning (hostile_check). Follows redirects to the final page; missing or weak headers return prioritised findings and opted-out targets return isError=true. Requires middle.network auth; uses 2 daily quota units.
| Parameter | Type | Description |
|---|---|---|
url * | string | A URL or a bare domain (https:// is added). |
hostile_check Malicious website checker
Safely inspect a URL for hostile or malformed HTTP responses: Log4Shell/JNDI headers, crypto miners, forced downloads, suspicious redirects, and protocol abuse. url prepends https:// to bare domains and uses hardened non-executing fetches. Use for suspicious-link triage, not security header grading (security_headers) or tech fingerprinting (tech_detect). Never executes page scripts; hostile signals return fail/warn findings and private IPs or opted-out hosts return isError=true. Requires middle.network auth; uses 2 daily quota units.
| Parameter | Type | Description |
|---|---|---|
url * | string | A URL or a bare domain (https:// is added). |
tls SSL/TLS checker
Inspect a host live SSL/TLS certificate chain, issuer, SANs, expiry, TLS 1.2/1.3 versions, cipher suite, OCSP/SCT stapling, and HSTS. domain strips URL parts/trailing dots; port defaults to 443. Use for live server certificate and handshake audits, not historical CT logs (ct_logs), pasted PEM text (cert_decoder), or HTTP/2/3 negotiation (protocols). Connects directly to the host; expired, mismatched, or weak-TLS endpoints return fail/warn findings and opted-out hosts return isError=true. Requires middle.network auth; uses 2 daily quota units.
| Parameter | Type | Description |
|---|---|---|
domain * | string | The host name to connect to. |
port | integer | TCP port. |
ct_logs Certificate transparency
Search public Certificate Transparency (CT) logs for unexpired SSL/TLS certificates on a domain and its subdomains, plus CAA and 30-day counts. domain strips URL parts/trailing dots (no IPs) and matches apex and subdomain certs. Use for issuance history and CA audits, not pasted PEM/CSR inspection (cert_decoder) or live host discovery (subdomains). Queries crt.sh with Cert Spotter fallback, deduplicates precerts by serial, and returns up to 50 newest certs (no pagination) with full totals; outages return isError=true. Requires middle.network auth; uses 4 daily quota units.
| Parameter | Type | Description |
|---|---|---|
domain * | string | A domain name, such as example.com. A URL is accepted and its host name is used. |
cert_decoder Certificate / CSR decoder
Decode pasted PEM X.509 certificates, chains, or PKCS#10 CSRs offline, checking expiry, weak RSA keys, missing SANs, and CSR signatures. text requires full "-----BEGIN" / "-----END" PEM delimiters and supports concatenated blocks (never send private keys). Use when you have PEM text, not to search public domain certs (ct_logs). Offline; immediately refuses private keys with status="fail" without parsing, and returns isError=true if no valid PEM block is found. Requires middle.network auth; uses 1 daily quota unit.
| Parameter | Type | Description |
|---|---|---|
text * | string | A PEM certificate or certificate signing request. Never paste a private key. |
ja4 JA4 fingerprint decoder
Decode JA4 and JA4+ fingerprint strings (JA4, JA4_r, JA4S/JA4S_r, JA4H, JA4X, JA4T/JA4TS, JA4SSH) offline into protocol, cipher, extension, and anomaly signals. text must be a single line (case-insensitive, no line breaks, max 4,096 chars); the variant is auto-detected. Use for JA4+ log fingerprints, not PEM certs (cert_decoder) or User-Agent headers (user_agent). Offline against a curated known-client table (exact vs family matches); invalid or multiline strings return isError=true. Requires middle.network auth; uses 1 daily quota unit.
| Parameter | Type | Description |
|---|---|---|
text * | string | A JA4 or JA4+ fingerprint string (JA4, JA4_r, JA4S, JA4H, JA4X, JA4T, or JA4SSH). |
is_it_down Is it down?
Check whether a website is reachable across worldwide probe locations with per-region HTTP status, latency, and outage consensus. url prepends https:// to bare domains; regions selects probe locations by city, country, continent, list_probes ID, or ["all"]. Use for global availability and outage verification, not regional censorship/WAF blocks (geoblock) or full header/timing inspection (http, web_speed). Timed-out probes stay partial findings; invalid URLs or opted-out domains return isError=true. Requires middle.network auth; uses 3 daily quota units.
| Parameter | Type | Description |
|---|---|---|
url * | string | A URL or a bare domain (https:// is added). |
regions | array | Probe locations to test from: canonical <country>-<city> IDs (for example au-sydney, gb-london, de-frankfurt), city names, ISO-2 country codes (AU, GB, DE, US), continents (@EU, @NA, @AS, @OC, @ME, @S… |
geoblock Geoblock checker
Test a URL from global probe regions to detect geo-blocking, country-specific HTTP 403/451 blocks, WAF challenges, and regional content divergence. url prepends https:// to bare domains; ua defaults to "chrome" (or default/iphone/googlebot) and regions picks probes by city, country, continent, or list_probes ID. Use for regional access and censorship checks, not basic uptime (is_it_down) or single-region timing (web_speed). Compares status, block markers, and bodies across regions; opted-out targets return isError=true. Requires middle.network auth; uses 3 daily quota units.
| Parameter | Type | Description |
|---|---|---|
url * | string | A URL or a bare domain (https:// is added). |
regions | array | Probe locations to test from: canonical <country>-<city> IDs (for example au-sydney, gb-london, de-frankfurt), city names, ISO-2 country codes (AU, GB, DE, US), continents (@EU, @NA, @AS, @OC, @ME, @S… |
ua | string | Which browser to pretend to be (default = our own user agent). |
web_speed Website speed
Measure single-URL HTTP/HTTPS performance timings (DNS, TCP, TLS, TTFB, download time, transfer size, compression, and HTTP version). url prepends https:// to bare domains and follows redirects to the final page. Use for backend latency and TTFB diagnostics, not multi-region availability (is_it_down, geoblock) or header security audits (security_headers). Respects robots/opt-out and blocks private IPs; unreachable origins or invalid URLs return fail findings or isError=true. Requires middle.network auth; uses 2 daily quota units.
| Parameter | Type | Description |
|---|---|---|
url * | string | A URL or a bare domain (https:// is added). |
protocols HTTP/2, HTTP/3, IPv6 support
Probe which transport and web protocols a domain supports live: IPv4, IPv6, HTTP/1.1, HTTP/2 (ALPN), HTTP/3 (QUIC/Alt-Svc), TLS 1.2/1.3, and HTTPS upgrade. domain strips URL parts/trailing dots (no IPs). Use for modern protocol and IPv6/HTTP3 readiness checks, not certificate chain audits (tls) or page latency (web_speed). Connects directly to ports 80 and 443; missing IPv6 or HTTP/3 return info/warn findings and opted-out domains return isError=true. Requires middle.network auth; uses 2 daily quota units.
| Parameter | Type | Description |
|---|---|---|
domain * | string | A domain name, such as example.com. A URL is accepted and its host name is used. |
tech_detect What’s that site running?
Identify a website technology stack (CDN, WAF, web server, CMS, frontend frameworks, analytics, and hosting) from live HTTP headers, HTML, cookies, and DNS signals. url prepends https:// to bare domains. Use for stack discovery and vendor checks, not security header grading (security_headers) or SEO metadata inspection (meta_links). Follows redirects to the live landing page; unreachable sites or opted-out hosts return findings or isError=true. Requires middle.network auth; uses 2 daily quota units.
| Parameter | Type | Description |
|---|---|---|
url * | string | A URL or a bare domain (https:// is added). |
web_bot_auth Web Bot Auth checker
Verify whether a URL or origin recognises RFC 9421 Ed25519 Web Bot Auth signed crawler requests, inspecting response status, WAF challenges, and signature headers. url prepends https:// to bare domains. Use to test signed-bot access on your own or partner origins, not to inspect a bot operator key directory (bot_operator) or User-Agent strings (user_agent). Sends a signed request from MiddleNetwork-User; opted-out targets return isError=true. Requires middle.network auth; uses 2 daily quota units.
| Parameter | Type | Description |
|---|---|---|
url * | string | A URL or a bare domain (https:// is added). |
bot_operator Verified bot operator check
Audit a verified bot operator domain against vetted verified-bot directories and its live RFC 9421 Web Bot Auth key directory (/.well-known/http-message-signatures-directory). domain strips URL parts/trailing dots. Use to verify a bot operator signing keys and directory health, not to identify a User-Agent string (user_agent) or test a website response to signed bots (web_bot_auth). Unlisted domains return info; invalid keys or unreachable directories return fail/warn findings. Requires middle.network auth; uses 2 daily quota units.
| Parameter | Type | Description |
|---|---|---|
domain * | string | A domain name, such as example.com. A URL is accepted and its host name is used. |
user_agent User-Agent lookup
Identify a browser or crawler User-Agent against vetted verified-bot directories, returning client family, maturity (L0-L5), and verification steps. text strips any leading "User-Agent:" prefix (max 1,000 chars) and accepts full headers or bot/operator names. Use for traffic attribution; do not treat User-Agent alone as proof - verify IPs with asn, whois_ip, or reverse_dns. Fetches live Web Bot Auth key directories only for signing bots; unknown strings return info with suggestions. Requires middle.network auth; uses 1 daily quota unit.
| Parameter | Type | Description |
|---|---|---|
text * | string | A User-Agent header, bot name or operator name. |
crawler_files robots.txt, sitemap, llms.txt
Fetch and audit a domain live robots.txt, llms.txt, and AI/search crawler access rules (GPTBot, ClaudeBot, Googlebot, PerplexityBot, Bingbot, etc.) alongside sitemap references. domain strips URL parts/trailing dots. Use to inspect a live site crawler policy, not to lint or test draft robots.txt text offline (robots_builder) or validate sitemap XML (sitemap). Flags HTTP 402/403/5xx blocks and misconfigurations in plain English; opted-out domains return isError=true. Requires middle.network auth; uses 2 daily quota units.
| Parameter | Type | Description |
|---|---|---|
domain * | string | A domain name, such as example.com. A URL is accepted and its host name is used. |
robots_builder robots.txt builder and tester
Validate, audit, and test a draft or existing robots.txt offline using RFC 9309 longest-match precedence against search and AI crawlers. text takes raw robots.txt (max 128 KB); optional domain labels it, testUrls checks up to 20 paths, and bots selects up to 25 User-agent tokens. Use to test robots.txt rules, not identify a User-Agent (user_agent). Offline; flags syntax faults and sensitive Disallow path leaks, returning isError=true on empty input. Requires middle.network auth; uses 1 daily quota unit.
| Parameter | Type | Description |
|---|---|---|
text * | string | Draft or existing robots.txt contents to validate, audit for security warnings, and test against URL paths. |
bots | array | Optional list of User-agent tokens to evaluate (defaults to major search, AI search, and AI training bots). |
domain | string | Optional domain label for the draft robots.txt. |
testUrls | array | Optional list of URLs or paths (e.g. /blog/post, /admin/) to test with RFC 9309 longest-match rules. |
sitemap Sitemap inspector
Fetch and validate a website XML sitemap or sitemap index (auto-discovering from robots.txt if given a bare domain), checking XML syntax, URL counts, lastmod, and dead/redirecting URLs. url accepts a domain or direct sitemap URL. Use for sitemap validation, not robots.txt/llms.txt policy checks (crawler_files) or page meta tags (meta_links). Caps nested sitemap expansion; missing sitemaps or broken XML return fail/warn findings and opted-out hosts return isError=true. Requires middle.network auth; uses 4 daily quota units.
| Parameter | Type | Description |
|---|---|---|
url * | string | The site, or the sitemap’s own URL. |
meta_links Meta tag / link checker
Fetch a web page and inspect its SEO, social and chat link-preview metadata: title, description, canonical, robots/X-Robots-Tag, Open Graph, X/Twitter cards, apple-touch-icon, HTML head size, and live broken links (Google, Teams, Slack, Discord, X, LinkedIn, Facebook, WhatsApp, iMessage, Telegram, Reddit, Bluesky). url prepends https:// to bare domains. Use for page-level SEO/link-preview debugging, not sitemaps (sitemap) or robots.txt (crawler_files). Opted-out hosts return isError=true. Requires middle.network auth; uses 2 daily quota units.
| Parameter | Type | Description |
|---|---|---|
url * | string | A URL or a bare domain (https:// is added). |
ping Ping (ICMP)
Run ICMP echo ping from global VM probes to measure reachability, packet loss, and min/avg/max/jitter RTT (ms). target accepts a hostname or IPv4/IPv6; count defaults to 4 (1 to 20) and regions picks VM probes from list_probes (features=["raw-icmp"]). Use for ICMP reachability and jitter, not TCP port latency (tcp_ping) or hop-by-hop paths (traceroute, mtr). Blocks private IPs and opted-out hosts; 100% loss returns fail findings. Requires middle.network auth; uses 6 daily quota units.
| Parameter | Type | Description |
|---|---|---|
target * | string | A host name or an IPv4 or IPv6 address. |
count | integer | Packets to send from each location. |
regions | array | Probe locations to test from: canonical <country>-<city> IDs (for example au-sydney, gb-london, de-frankfurt), city names, ISO-2 country codes (AU, GB, DE, US), continents (@EU, @NA, @AS, @OC, @ME, @S… |
tcp_ping TCP ping
Measure TCP SYN handshake latency (ms) and packet loss to a specific host and port from global probes (works even when ICMP ping is firewalled). target accepts a hostname or IP; port defaults to 443 (port 445 blocked) and count defaults to 4 (1 to 10); regions picks probes by city, country, continent, or list_probes ID. Use when ICMP is blocked or testing a service port, not multi-port checks (port_check) or full routing paths (tcp_traceroute). Respects opt-out and blocks private IPs. Requires middle.network auth; uses 3 daily quota units.
| Parameter | Type | Description |
|---|---|---|
target * | string | A host name or an IPv4 or IPv6 address. |
count | integer | Connection attempts from each location. |
port | integer | TCP port. Port 445 (SMB) is blocked outbound. |
regions | array | Probe locations to test from: canonical <country>-<city> IDs (for example au-sydney, gb-london, de-frankfurt), city names, ISO-2 country codes (AU, GB, DE, US), continents (@EU, @NA, @AS, @OC, @ME, @S… |
traceroute Traceroute
Trace the layer-3 network path hop by hop from global VM probes to a host or IP, identifying intermediate routers, ASNs, and per-hop RTT. target accepts a hostname or IP; mode picks icmp, tcp443, or udp (auto tries all three and keeps the furthest) and regions picks VM probes from list_probes. Use for routing paths, not multi-sample loss stats (mtr) or single-port TCP traces (tcp_traceroute). Respects opt-out and blocks private IPs. Requires middle.network auth; uses 6 daily quota units.
| Parameter | Type | Description |
|---|---|---|
target * | string | A host name or an IPv4 or IPv6 address. |
mode | string | Method. Leave out for auto: ICMP, then TCP 443, then UDP, keeping whichever gets furthest. |
regions | array | Probe locations to test from: canonical <country>-<city> IDs (for example au-sydney, gb-london, de-frankfurt), city names, ISO-2 country codes (AU, GB, DE, US), continents (@EU, @NA, @AS, @OC, @ME, @S… |
tcp_traceroute TCP traceroute
Trace the hop-by-hop network path using TCP SYN packets on a chosen port from global VM probes to bypass ICMP-filtering firewalls. target accepts a hostname or IP; port defaults to 443 (port 445 blocked) and regions picks VM probes from list_probes. Use when standard traceroute stalls at a firewall, not continuous loss/jitter monitoring (mtr) or simple port checks (tcp_ping, port_check). Respects opt-out and blocks private IPs. Requires middle.network auth; uses 6 daily quota units.
| Parameter | Type | Description |
|---|---|---|
target * | string | A host name or an IPv4 or IPv6 address. |
port | integer | TCP port. Port 445 (SMB) is blocked outbound. |
regions | array | Probe locations to test from: canonical <country>-<city> IDs (for example au-sydney, gb-london, de-frankfurt), city names, ISO-2 country codes (AU, GB, DE, US), continents (@EU, @NA, @AS, @OC, @ME, @S… |
mtr MTR
Run multi-cycle MTR (My Traceroute) from global VM probes to measure per-hop packet loss percentage and min/avg/worst RTT along the entire route. target accepts a hostname or IP; regions picks VM probes from list_probes (features=["raw-icmp"]). Use to pinpoint where packet loss or latency spikes start, not single-pass paths (traceroute) or endpoint RTT only (ping). Respects opt-out and blocks private IPs. Requires middle.network auth; uses 6 daily quota units.
| Parameter | Type | Description |
|---|---|---|
target * | string | A host name or an IPv4 or IPv6 address. |
regions | array | Probe locations to test from: canonical <country>-<city> IDs (for example au-sydney, gb-london, de-frankfurt), city names, ISO-2 country codes (AU, GB, DE, US), continents (@EU, @NA, @AS, @OC, @ME, @S… |
port_check Port check
Test whether up to 10 explicit TCP ports are open, closed, or filtered on a host from global probes. target accepts a hostname or IP; ports takes comma-separated numbers (default "80,443", max 10; port 445 blocked) and regions picks probes from list_probes. Use to verify specific service ports (22, 80, 443, 587, 3306), not a 17-port common exposure sweep (port_scan) or TCP latency timing (tcp_ping). Respects opt-out and blocks private IPs. Requires middle.network auth; uses 3 daily quota units.
| Parameter | Type | Description |
|---|---|---|
target * | string | A host name or an IPv4 or IPv6 address. |
ports | string | Up to 10 ports, comma-separated. Port 445 (SMB) is blocked outbound. |
regions | array | Probe locations to test from: canonical <country>-<city> IDs (for example au-sydney, gb-london, de-frankfurt), city names, ISO-2 country codes (AU, GB, DE, US), continents (@EU, @NA, @AS, @OC, @ME, @S… |
port_scan Port scanner
Run a polite perimeter audit of 17 common public TCP service ports (excluding 23, 25, and 445) on a host or IP to flag unintended exposed administrative or database services. target accepts a hostname or IP. Use for perimeter exposure checks, not custom port lists (port_check) or latency timing (tcp_ping). Uses polite pacing, respects opt-out, blocks private IPs, and reports open risky ports as warn/fail findings. Requires middle.network auth; uses 10 daily quota units.
| Parameter | Type | Description |
|---|---|---|
target * | string | A host name or an IPv4 or IPv6 address. |
mtu MTU / PMTU discovery
Discover the Path MTU (maximum transmission unit, bytes) and detect PMTUD blackholes or fragmentation ceilings from global VM probes to a host or IP. target accepts a hostname or IP; regions picks VM probes from list_probes. Use to diagnose VPN, tunnel, or large-packet stalls where pings work but TLS/HTTP hangs, not general latency (ping) or hop loss (mtr). Respects opt-out and blocks private IPs. Requires middle.network auth; uses 6 daily quota units.
| Parameter | Type | Description |
|---|---|---|
target * | string | A host name or an IPv4 or IPv6 address. |
regions | array | Probe locations to test from: canonical <country>-<city> IDs (for example au-sydney, gb-london, de-frankfurt), city names, ISO-2 country codes (AU, GB, DE, US), continents (@EU, @NA, @AS, @OC, @ME, @S… |
asn BGP / ASN lookup
Look up BGP routing prefixes, RPKI ROA validity, upstreams/peers, hijack/leak alerts, and PeeringDB IXPs for an ASN, IP, prefix, or domain. target accepts "AS13335" or bare "13335" (1-4294967295), IPv4/IPv6, CIDR (uses base IP), or hostname. Use for BGP/RPKI and peering context, not RIR abuse contacts (whois_ip), location (geoip), or batch IPs (bulk_ip). Uses Team Cymru DNS with RIPEstat failover; partial outages set limited while invalid targets return isError=true. Requires middle.network auth; uses 4 daily quota units.
| Parameter | Type | Description |
|---|---|---|
target * | string | An AS number (AS13335), an IP, a prefix (1.1.1.0/24) or a domain. |
whois WHOIS / RDAP (domain)
Look up domain WHOIS and RDAP registration records: registrar, creation/expiry dates, EPP locks, and nameservers. domain strips URL parts/trailing dots (no IPs); subdomains automatically resolve to their registrable domain. Use for full ownership and lock status, not IP ownership (whois_ip), quick age/expiry checks (domain_age), or availability (domain_available). Queries RDAP with port-43 WHOIS fallback; unregistered domains return registered=false, redacted dates are noted, and throttled registries return limited info. Requires middle.network auth; uses 2 daily quota units.
| Parameter | Type | Description |
|---|---|---|
domain * | string | A domain name, such as example.com. A URL is accepted and its host name is used. |
whois_ip IP lookup (WHOIS / RDAP)
Look up IPv4/IPv6 ownership across ARIN, RIPE, APNIC, LACNIC, and AFRINIC, returning CIDR netblock, organisation, and abuse contact. ip requires a single public IPv4 or IPv6 address (rejects domains, CIDRs, and invalid inputs). Use for single-IP ownership/abuse contacts, not domains (whois), BGP/RPKI (asn), location (geoip), or batch IPs (bulk_ip). Queries RIR RDAP with RIPEstat and port-43 WHOIS failover; missing abuse returns info while unreachable registries or bad IPs return isError=true. Requires middle.network auth; uses 2 daily quota units.
| Parameter | Type | Description |
|---|---|---|
ip * | string | An IPv4 or IPv6 address. |
domain_age Domain age and expiry
Check a domain registration age, creation date, and days until expiry, flagging newly registered (<30d) or expiring (<60d) domains. domain strips URL parts/trailing dots (no IPs); subdomains resolve to their registrable domain. Use for quick trust or renewal triage, not full registrar/EPP/NS records (whois) or availability checks (domain_available). Queries RDAP with WHOIS fallback; registries that omit dates (.au, .de, .eu) return notPublished=true with status="info" rather than failing. Requires middle.network auth; uses 2 daily quota units.
| Parameter | Type | Description |
|---|---|---|
domain * | string | A domain name, such as example.com. A URL is accepted and its host name is used. |
domain_available Domain availability
Check whether a domain appears unregistered or taken using registry RDAP/WHOIS alongside live NS records. domain strips URL parts/trailing dots (no IPs); subdomains normalise to their registrable domain. Use before registering a domain, not for full metadata on registered domains (whois, domain_age). Queries RDAP with port-43 WHOIS fallback; flags DNS-vs-registry conflicts and premium/reserved caveats, and returns limited info (never false availability) if WHOIS throttles. Requires middle.network auth; uses 2 daily quota units.
| Parameter | Type | Description |
|---|---|---|
domain * | string | A domain name, such as example.com. A URL is accepted and its host name is used. |
geoip IP geolocation
Look up approximate IPv4 or IPv6 geolocation (country, city, coordinates) alongside origin ASN and network owner. ip requires a single IPv4 or IPv6 address and rejects hostnames or CIDR blocks. Use for single-IP geographic attribution, not RIR abuse/netblock records (whois_ip), BGP routing (asn), or batch IP lists (bulk_ip). Queries RIPEstat MaxMind GeoLite and ASN; locations are approximate (especially anycast), and GeoLite outages degrade cleanly to ASN-only data with limited set. Requires middle.network auth; uses 2 daily quota units.
| Parameter | Type | Description |
|---|---|---|
ip * | string | An IPv4 or IPv6 address. |
reverse_ip Reverse IP
Resolve an IPv4/IPv6 address or domain name to all published reverse DNS (PTR) hostnames on that IP. ip accepts an IP address or domain (domains resolve to their first IPv4, or IPv6 fallback). Use when starting from a domain or listing PTRs on a host IP, not for direct IP FCrDNS verification (reverse_dns) or ownership (whois_ip). Missing PTRs return an empty list with status="info" (not an error); unresolvable domains or bad inputs return isError=true. Requires middle.network auth; uses 2 daily quota units.
| Parameter | Type | Description |
|---|---|---|
ip * | string | An IP address, or a domain whose address is used. |
bulk_ip Bulk IP lookup
Batch enrich up to 50 distinct IPv4/IPv6 addresses from raw text with ASN, prefix, country, PTR, organisation, and abuse contact. text scans the first 20,000 chars, auto-refangs obfuscated IPs (1.2.3[.]4, 2001[:]db8::1), deduplicates in order, and caps at 50 IPs (domains alone fail). Use instead of repeated whois_ip, geoip, or asn calls on logs/DMARC IPs, not deep single-IP BGP (asn). Bounded by 20s/15s budgets and 20 new RDAP calls (6h cache); private/over-budget rows return partial data and zero IPs returns isError=true. Requires middle.network auth; uses 8 daily quota units.
| Parameter | Type | Description |
|---|---|---|
text * | string | IP addresses, one per line, or any text that contains them (first 20,000 characters scanned; up to 50 distinct IPs looked up). |
my_ip What is my IP / ISP
Return the caller public IPv4 or IPv6 address, version, ASN, ISP, and approximate GeoIP location as seen by middle.network. Takes no parameters ({}); the client IP is read from the authenticated request context. Use when the user asks for their own current IP or ISP, not to inspect third-party IPs (geoip, whois_ip, asn). Runs locally on the request IP with optional GeoIP enrichment, falling back to IP-only if GeoIP is unavailable. Requires middle.network auth; uses 1 daily quota unit.
domain_report Domain report
Generate a unified domain intelligence dossier combining WHOIS/RDAP, DNS, email auth, live web/TLS, ASN/GeoIP, and CT signals in one call. domain strips URL parts/trailing dots; optional parts selects specific dossier sections and regions picks probes by city, country, continent, or list_probes ID. Use for deep ownership/infrastructure profiling, or health_check for a scored 0 to 100 remediation audit. Respects opt-out; invalid domains return isError=true. Requires middle.network auth; uses 4 daily quota units.
| Parameter | Type | Description |
|---|---|---|
domain * | string | A domain name, such as example.com. A URL is accepted and its host name is used. |
parts | array | Only these parts. Leave out for all of them. |
regions | array | Probe locations to test from: canonical <country>-<city> IDs (for example au-sydney, gb-london, de-frankfurt), city names, ISO-2 country codes (AU, GB, DE, US), continents (@EU, @NA, @AS, @OC, @ME, @S… |
subnet Subnet / CIDR calculator
Calculate IPv4 or IPv6 CIDR subnet boundaries offline: network, broadcast, usable range, netmask/wildcard, host count, and class. text accepts CIDR (192.0.2.0/24, 2001:db8::/48), IP plus space-separated netmask (10.0.0.5 255.255.255.0), or a bare IP (defaults to /32 or /128). Use for single-block CIDR planning, not IP format conversion (ip_convert) or batch IP enrichment (bulk_ip). Offline; host IPs normalise to network base with info, IPv4 /31-/32 omit broadcast, and invalid prefixes return isError=true. Requires middle.network auth; uses 1 daily quota unit.
| Parameter | Type | Description |
|---|---|---|
text * | string | A CIDR block or an address and mask. |
ip_convert IP converters
Convert a single IPv4 or IPv6 address offline across dotted decimal, integer, hex, binary, compressed/expanded IPv6, IPv4-mapped, and PTR forms. text strips whitespace and auto-detects dotted IPv4, 32-bit decimal (<=4294967295), 0x hex (1-8 digits = IPv4, 9-32 = IPv6), 32-bit binary, or IPv6. Use for single-IP format conversion, not CIDR math (subnet) or EUI-64 MAC derivation (mac_ipv6). Offline and deterministic; unrecognised or out-of-range inputs return isError=true. Requires middle.network auth; uses 1 daily quota unit.
| Parameter | Type | Description |
|---|---|---|
text * | string | An IP address in any common form (dotted, decimal, hex, IPv6). |
punycode Punycode / IDN converter
Convert internationalised domain names (IDN) offline between Unicode and xn-- Punycode while detecting mixed-script homograph spoofing. text accepts a Unicode/Punycode domain, URL (strips scheme/path/port), or email address (preserves local@ while converting the domain). Use for IDN conversion and phishing checks, not Base64/URL/hex/JWT transforms (encoders). Offline; flags Latin/Cyrillic/Greek mixing per label as warn and returns isError=true on invalid domain syntax. Requires middle.network auth; uses 1 daily quota unit.
| Parameter | Type | Description |
|---|---|---|
text * | string | A domain in Unicode or punycode (xn--). |
mac_vendor MAC vendor lookup
Look up a MAC address or 6-hex OUI prefix offline against the bundled IEEE OUI (MA-L/MA-M/MA-S) registry with unicast/multicast/LAA flags. text strips non-hex separators (:, -, .) and requires exactly 6 hex digits (OUI) or 12 hex digits (full MAC). Use to identify NIC manufacturers, not derive IPv6 EUI-64 addresses (mac_ipv6). Runs locally; randomized (LAA) and multicast MACs return info findings with vendor=null, and invalid lengths return isError=true. Requires middle.network auth; uses 1 daily quota unit.
| Parameter | Type | Description |
|---|---|---|
text * | string | A MAC address or its first 6 hex digits. |
mac_ipv6 MAC and IPv6 EUI-64 converter
Convert a MAC address offline to IPv6 EUI-64 (plus solicited-node multicast) or extract the MAC from an EUI-64/multicast IPv6 address. text accepts colon, hyphen, Cisco-dot, or bare 12-hex MACs (to IPv6) or any IPv6 (to MAC); optional prefix overrides fe80::/64 and is ignored during IPv6-to-MAC extraction. Use for EUI-64 math, not privacy/randomized SLAAC IPv6 addresses (no embedded MAC) or vendor lookup (mac_vendor). Offline; non-EUI-64 IPv6 returns kind="random" and mac=null, ff00::/8 maps to 33:33:, and invalid input returns isError=true. Requires middle.network auth; uses 1 daily quota uni…
| Parameter | Type | Description |
|---|---|---|
text * | string | A MAC address (to build its IPv6 address) or an IPv6 address (to find its MAC). |
prefix | string | An IPv6 /64 prefix to put in front. Leave out for the link-local fe80::/64. |
encoders Base64 / URL / Hex / JWT encoder and decoder
Encode or decode Base64, Base64URL, URL percent-encoding, and hex, or decode JWT headers/claims offline without signature verification. text holds the payload (max 64 KB); type defaults to "auto" (jwt -> %-URL -> >=8-char hex -> printable base64 -> else encode all), and explicit type overrides auto-detection. Use for text encoding or JWT inspection, not PEM certs (cert_decoder) or IDNs (punycode). Offline; flags alg="none" (fail) and expired JWTs (warn), shows binary as hex, and returns isError=true on malformed JWT/URL escapes. Requires middle.network auth; uses 1 daily quota unit.
| Parameter | Type | Description |
|---|---|---|
text * | string | The text to encode or decode. |
type | string | Operation mode. "auto" auto-detects and decodes Base64, Base64URL, URL percent-encoding, hex, or JWT. Pass "encode", "encode-base64", "encode-url", or "encode-hex" to encode instead of decode. |
zone_format Zone file formatter
Parse, lint, and tidy a BIND or Azure DNS zone file offline, flagging missing trailing dots, apex CNAMEs, duplicate SPF, bad IPs, and TTL issues. Supply raw text (max 1 MB) or base64 .zone/.txt/.db/.dns/.bind/.gz/.zip in file (max 1 MB; file overrides text; filename optional); optional domain supplies $ORIGIN if omitted. Offline with archive-bomb, path-traversal, binary/HTML, BiDi, and $INCLUDE/$GENERATE guards; skips AZURE ALIAS with info and returns isError=true on empty or unsafe input. Requires middle.network auth; uses 1 daily quota unit.
| Parameter | Type | Description |
|---|---|---|
domain | string | The zone's origin, when the file has no $ORIGIN line. |
file | string | Base64-encoded BIND or Azure DNS zone file (.zone, .txt, .db, .dns, .bind, .gz, or .zip, max 1 MB binary / 1 MB uncompressed). Provide either file or text. |
filename | string | Optional original filename (for example example.com.zone or example.com.zone.gz). |
text | string | Raw BIND or Azure DNS zone file text. Provide either text or file. |
time_convert Timestamp and TTL converter
Convert Unix epoch timestamps, ISO-8601/RFC 2822 dates, and DNS TTL durations offline into UTC, optional IANA timezone, and human-readable formats. text classifies bare numbers by magnitude (|n| >= 1e11 = Unix ms, 1e8 <= |n| < 1e11 = Unix s, < 1e8 = duration s) and accepts s/m/h/d/w TTLs (1h30m) or dates; timezone defaults to UTC. Use for log timestamps and TTL math, not live DNS lookups (dns_record) or text decoding (encoders). Offline and deterministic; bad timezones or unrecognised strings return isError=true. Requires middle.network auth; uses 1 daily quota unit.
| Parameter | Type | Description |
|---|---|---|
text * | string | A Unix timestamp (seconds or milliseconds), a date, or a TTL such as 3600 or 1h30m. |
timezone | string | Optional IANA time zone (such as America/New_York or Australia/Sydney) to format alongside UTC. Defaults to UTC. |
list_probes List global probe locations
Return available middle.network global probe locations, per-location features and runtimes, dynamic global fleet counts, and the caller probe fan-out tier. Optional features filters by capability (["http-h3-quic"], ["ipv6"], ["raw-icmp"]). Call first when picking regions by canonical <country>-<city> ID, country, or continent for health_check, geoblock, is_it_down, http, dns_propagation, dns_auth_vs_cache, dns_speed, ping, or mtr; skip for default probes or verify_api_key. No target traffic; requires auth and uses 0 daily quota units.
| Parameter | Type | Description |
|---|---|---|
features | array | Optional feature filter (for example ["http-h3-quic"], ["ipv6"], ["http-tls-details"], ["raw-icmp"]). Returns only locations supporting every requested feature. |
verify_api_key Verify API key and inspect live unit usage
Verify that the caller middle.network API key or OAuth token is valid and active, returning key metadata, live daily/monthly unit-cost usage, remaining quota, and rate limits. Takes no parameters ({}); validates the Authorization bearer token from the request header. Use for setup verification, unit-cost usage inspection, or diagnosing HTTP 401 errors; do not use to list probe locations (list_probes) or check caller IP (my_ip). Returns isError=true if key verification fails; requires middle.network auth and uses 0 daily quota units.
get_domain_drift Inspect historical domain drift and snapshot diffs
Read middle.network historical check timelines or compare two saved runs for a domain to spot DNS, email, web, TLS, or ownership changes over time. domain is required; tool defaults to "health-check" (or another driftable tool id), limit caps timeline rows (2 to 300, default 60), and passing both from and to run keys returns a structured diff instead of the timeline. Use for change auditing and incident timelines, not fresh live checks (health_check). Respects opt-out; requires middle.network auth and uses 0 daily quota units.
| Parameter | Type | Description |
|---|---|---|
domain * | string | Domain or target whose saved history should be inspected (for example example.com). |
from | string | Earlier run key from the timeline to diff against `to`. |
limit | integer | Maximum timeline runs to return when not comparing two specific keys. |
to | string | Later run key from the timeline to diff against `from`. |
tool | string | Driftable tool id (defaults to "health-check"). |
get_asn_parts Poll cached slow ASN enrichment parts
Read cached slow RIPEstat enrichment parts (such as routing history and global visibility) after an asn lookup marks pending parts. asn accepts "AS13335" or bare "13335" (1 to 4294967295); optional parts selects specific part names to inspect. Call after asn returns pending parts, not as a replacement for an initial asn lookup (this endpoint only reads cache and never triggers new upstream calls). No outbound target traffic; requires middle.network auth and uses 0 daily quota units.
| Parameter | Type | Description |
|---|---|---|
asn * | string | AS number with or without "AS" prefix (for example "AS13335" or "13335"). |
parts | array | Optional list of ASN part names to read (defaults to all pollable parts). |
get_service_status Check live middle.network probe and upstream health
Return live middle.network API health, per-probe reachability status across serverless and VM regions (without waking sleeping serverless probes), and upstream data-source health (RDAP, RIPEstat, crt.sh, etc.). Takes no parameters ({}). Use to check whether a probe location or upstream registry is degraded before blaming a target domain, not to list probe region filters (list_probes) or check your API quota (verify_api_key). Read-only cached status; requires middle.network auth and uses 0 daily quota units.