Help / API
API reference
Every tool is a plain GET endpoint. No key, no account.
Formats
- Plain text: the default for curl and scripts. Easy to read or grep.
- JSON: add ?format=json (or &format=json). Field names are stable.
- HTML: what browsers get.
curl https://tools.nexayori.com/ip curl "https://tools.nexayori.com/dns?q=example.com&type=MX" curl -s "https://tools.nexayori.com/ssl?q=example.com&format=json" | jq .leaf
Behavior
- Bad input returns HTTP 400 with {"error": "…"} in JSON, or an Error: line in text.
- CORS is open, so browser apps can call it directly.
- Responses aren’t cached; every call is a live check.
- It’s a free service: please keep automated use reasonable. Abuse may be blocked.
Endpoints
| /ip What’s my IP |
format text (default for curl), json, or html |
| /ping Ping |
q Host or public IP to ping from near (default), world, server, a region (Europe), country, city, US-NY, AS13335, AWS… proto icmp (default) or tcp port TCP port (default 443); also used with from=server id A saved result ID format text (default for curl), json, or html |
| /traceroute Traceroute |
q Host or public IP to trace from near (default), world, a region, country, city, US-NY, AS13335, AWS… proto icmp (default), udp or tcp port Port for TCP/UDP (default 443 for TCP) id A saved result ID paste Traceroute output to annotate (text, up to 8,000 characters) format text (default for curl), json, or html |
| /asn IP / ASN lookup |
q IP address, AS number (AS13335 or 13335) or hostname; empty = your own IP format text (default for curl), json, or html |
| /ports Open port check |
q Ports, comma-separated, ranges allowed (max 20) format text, json or html |
| /subnet Subnet calculator |
q Address/prefix or “address mask” format text, json or html |
| /mac MAC vendor lookup |
q MAC address or prefix (6–12 hex digits) format text, json or html |
| /dns DNS lookup |
q Domain, URL or IP address type ALL (default), A, AAAA, CNAME, MX, NS, TXT, SOA, CAA, SRV, PTR, HTTPS, DS, DNSKEY format text, json or html |
| /propagation DNS propagation |
q Domain type A (default), AAAA, CNAME, MX, NS, TXT, SOA, CAA format text, json or html |
| /authoritative Nameserver check |
q Domain format text, json or html |
| /dnssec DNSSEC chain |
q Domain type A (default), AAAA, MX, TXT, NS, SOA, CAA format text, json or html |
| /email Email health |
q Domain or email address selector DKIM selector(s), comma-separated (optional) format text, json or html |
| /email-headers Email header analyzer |
(POST body) The raw headers, as text or the form field “headers” (up to 64 KB) format text (default for curl), json, or html |
| /whois WHOIS / RDAP |
q Domain, IP address or AS number format text, json or html |
| /ssl SSL certificate check |
q Hostname[:port] format text, json or html |
| /headers HTTP headers |
q URL (empty = your own headers) format text, json or html |
| /seo SEO & meta tag checker |
q Page URL or domain format text (default for curl), json, or html |
| /robots robots.txt tester |
q URL to test (domain = home page) ua Crawler name (default Googlebot) format text (default for curl), json, or html |
| /sitemap Sitemap validator |
q Domain or sitemap URL format text (default for curl), json, or html |