API Documentation
Integrate BHP Solutions cybersecurity tools into your applications with our RESTful API.
Base URL
https://bhp-solutions.com/apiAuthentication
All endpoints are publicly accessible for testing. API key authentication will be added soon for rate limiting and premium features.
Response Format
{
"success": true,
"data": {},
"timestamp": 1707177600000,
"executionTime": 245
}Error Format
{
"success": false,
"error": "Invalid domain format",
"code": "INVALID_INPUT",
"timestamp": 1707177600000
}Anonymous
100
requests / hour / IP
Authenticated
1,000
requests / hour (coming soon)
Premium
10,000
requests / hour (coming soon)
Rate limit headers: X-RateLimit-Limit · X-RateLimit-Remaining · X-RateLimit-Reset
All tools are accessible via POST requests. Each tool accepts a target parameter and returns structured JSON data.
MX Lookup helps you check mail exchange records for a domain, for authoritative DNS validation, resolver checks, and faster troubleshooting.
POST /api/tools/mx-lookup curl -X POST https://bhp-solutions.com/api/tools/mx-lookup \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' DNS Lookup helps you query dns records (a, aaaa, cname, txt, ns, soa), for authoritative DNS validation, resolver checks, and faster troubleshooting.
POST /api/tools/dns-lookup curl -X POST https://bhp-solutions.com/api/tools/dns-lookup \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' AAAA Lookup helps you query ipv6 address (aaaa) records, for authoritative DNS validation, resolver checks, and faster troubleshooting.
POST /api/tools/aaaa-lookup curl -X POST https://bhp-solutions.com/api/tools/aaaa-lookup \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' TXT Lookup helps you query txt records for domain verification and policies, for authoritative DNS validation, resolver checks, and faster troubleshooting.
POST /api/tools/txt-lookup curl -X POST https://bhp-solutions.com/api/tools/txt-lookup \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' CNAME Lookup helps you query canonical name (cname) alias records, for authoritative DNS validation, resolver checks, and faster troubleshooting.
POST /api/tools/cname-lookup curl -X POST https://bhp-solutions.com/api/tools/cname-lookup \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' SOA Lookup helps you query start of authority records for zone information, for authoritative DNS validation, resolver checks, and faster troubleshooting.
POST /api/tools/soa-lookup curl -X POST https://bhp-solutions.com/api/tools/soa-lookup \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' SRV Lookup helps you query service location (srv) records, for authoritative DNS validation, resolver checks, and faster troubleshooting.
POST /api/tools/srv-lookup curl -X POST https://bhp-solutions.com/api/tools/srv-lookup \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' DNS Propagation helps you check dns propagation globally across multiple servers, for DNS validation, resolver checks, and troubleshooting.
POST /api/tools/dns-propagation curl -X POST https://bhp-solutions.com/api/tools/dns-propagation \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' WHOIS Lookup helps you domain registration and ownership information, for authoritative DNS validation, resolver checks, and faster troubleshooting.
POST /api/tools/whois curl -X POST https://bhp-solutions.com/api/tools/whois \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' DNSSEC Check helps you validate dnssec configuration and signatures, for authoritative DNS validation, resolver checks, and faster troubleshooting.
POST /api/tools/dnssec curl -X POST https://bhp-solutions.com/api/tools/dnssec \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' Domain Health helps you comprehensive domain configuration and health check, for authoritative DNS validation, resolver checks, and faster troubleshooting.
POST /api/tools/domain-health curl -X POST https://bhp-solutions.com/api/tools/domain-health \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' SPF Record Check helps you validate sender policy framework records, for email authentication analysis, policy checks, and delivery troubleshooting.
POST /api/tools/spf-check curl -X POST https://bhp-solutions.com/api/tools/spf-check \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' DKIM Lookup helps you check domainkeys identified mail records, for email authentication analysis, policy checks, and delivery troubleshooting.
POST /api/tools/dkim-check curl -X POST https://bhp-solutions.com/api/tools/dkim-check \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' DMARC Analyzer helps you analyze dmarc policy and configuration, for email authentication analysis, policy checks, and delivery troubleshooting.
POST /api/tools/dmarc-check curl -X POST https://bhp-solutions.com/api/tools/dmarc-check \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' SMTP Test helps you test smtp server connectivity and capabilities, for email authentication analysis, policy checks, and delivery troubleshooting.
POST /api/tools/smtp curl -X POST https://bhp-solutions.com/api/tools/smtp \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' Email Header Analyzer helps you parse and analyze email headers for diagnostics, for secure mail validation, policy checks, and troubleshooting.
POST /api/tools/email-header curl -X POST https://bhp-solutions.com/api/tools/email-header \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' BIMI Lookup helps you check brand indicators for message identification, for email authentication analysis, policy checks, and delivery troubleshooting.
POST /api/tools/bimi curl -X POST https://bhp-solutions.com/api/tools/bimi \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' MTA-STS Check helps you validate mta strict transport security policy, for email authentication analysis, policy checks, and delivery troubleshooting.
POST /api/tools/mta-sts curl -X POST https://bhp-solutions.com/api/tools/mta-sts \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' TLSRPT Lookup helps you check tls reporting policy for smtp, for email authentication analysis, policy checks, and delivery troubleshooting.
POST /api/tools/tlsrpt curl -X POST https://bhp-solutions.com/api/tools/tlsrpt \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' Email Deliverability helps you comprehensive email deliverability and authentication test, for secure mail validation, policy checks, and troubleshooting.
POST /api/tools/email-deliverability curl -X POST https://bhp-solutions.com/api/tools/email-deliverability \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' IP Lookup helps you get detailed information about an ip address, for routing analysis, ownership checks, and faster network troubleshooting.
POST /api/tools/ip-lookup curl -X POST https://bhp-solutions.com/api/tools/ip-lookup \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' Bulk IP & Domain Lookup helps you geolocate and analyze up to 200 ips or domains at once, for network validation, routing checks, and troubleshooting.
POST /api/tools/bulk-ip-lookup curl -X POST https://bhp-solutions.com/api/tools/bulk-ip-lookup \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' Ping Test helps you test icmp connectivity and latency, for routing analysis, ownership checks, and faster network troubleshooting.
POST /api/tools/ping curl -X POST https://bhp-solutions.com/api/tools/ping \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' Traceroute helps you trace network path to a destination, for routing analysis, ownership checks, and faster network troubleshooting.
POST /api/tools/traceroute curl -X POST https://bhp-solutions.com/api/tools/traceroute \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' Port Scanner helps you check if specific ports are open, for routing analysis, ownership checks, and faster network troubleshooting.
POST /api/tools/port-check curl -X POST https://bhp-solutions.com/api/tools/port-check \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' Subnet Calculator helps you calculate subnet ranges and cidr notation, for routing analysis, ownership checks, and faster network troubleshooting.
POST /api/tools/subnet curl -X POST https://bhp-solutions.com/api/tools/subnet \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' ARIN Lookup helps you lookup ip block ownership and registration, for routing analysis, ownership checks, and faster network troubleshooting.
POST /api/tools/arin curl -X POST https://bhp-solutions.com/api/tools/arin \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' ASN Lookup helps you lookup autonomous system number information, for routing analysis, ownership checks, and faster network troubleshooting.
POST /api/tools/asn-lookup curl -X POST https://bhp-solutions.com/api/tools/asn-lookup \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' Reverse DNS Lookup helps you reverse lookup to find hostname from ip address, for routing analysis, ownership checks, and faster network troubleshooting.
POST /api/tools/reverse-lookup curl -X POST https://bhp-solutions.com/api/tools/reverse-lookup \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' SSL/TLS Checker helps you analyze ssl/tls certificate and configuration, for certificate inspection, HTTPS validation, and TLS troubleshooting.
POST /api/tools/ssl-check curl -X POST https://bhp-solutions.com/api/tools/ssl-check \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' HTTP Headers helps you view http/https response headers, for certificate inspection, HTTPS validation, and TLS troubleshooting.
POST /api/tools/http-check curl -X POST https://bhp-solutions.com/api/tools/http-check \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' Security Headers helps you check security-related http headers, for certificate inspection, HTTPS validation, and TLS troubleshooting.
POST /api/tools/security-headers curl -X POST https://bhp-solutions.com/api/tools/security-headers \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' SSL Converter helps you convert certificates between pem, der, pfx and crt formats, for certificate inspection, HTTPS validation, and TLS troubleshooting.
POST /api/tools/ssl-converter curl -X POST https://bhp-solutions.com/api/tools/ssl-converter \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' CSR Generator helps you generate certificate signing requests in your browser, for certificate inspection, HTTPS validation, and TLS troubleshooting.
POST /api/tools/csr-generator curl -X POST https://bhp-solutions.com/api/tools/csr-generator \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' CSR Decoder helps you decode and inspect certificate signing request fields, for certificate inspection, HTTPS validation, and TLS troubleshooting.
POST /api/tools/csr-decoder curl -X POST https://bhp-solutions.com/api/tools/csr-decoder \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' Certificate Key Matcher helps you verify that a certificate and private key match, for certificate inspection, HTTPS validation, and TLS troubleshooting.
POST /api/tools/certificate-key-matcher curl -X POST https://bhp-solutions.com/api/tools/certificate-key-matcher \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' SSL Chain Fixer helps you build and verify ssl certificate chain bundles, for certificate inspection, HTTPS validation, and TLS troubleshooting.
POST /api/tools/ssl-chain-fixer curl -X POST https://bhp-solutions.com/api/tools/ssl-chain-fixer \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' Blacklist Check helps you check ip/domain against multiple dnsbls, for reputation scoring, blocklist checks, and abuse investigations.
POST /api/tools/blacklist-check curl -X POST https://bhp-solutions.com/api/tools/blacklist-check \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' IP Reputation helps you comprehensive ip reputation scoring, for reputation scoring, blocklist checks, and abuse investigations.
POST /api/tools/reputation-check curl -X POST https://bhp-solutions.com/api/tools/reputation-check \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' Hash Generator helps you generate md5, sha-1, sha-256, and other hashes, for integrity verification, secure generation, and safer workflows.
POST /api/tools/hash curl -X POST https://bhp-solutions.com/api/tools/hash \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' Password Generator helps you generate strong and secure random passwords, for integrity verification, secure generation, and safer workflows.
POST /api/tools/password-generator curl -X POST https://bhp-solutions.com/api/tools/password-generator \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' PQ Certificate Validator helps you validate certificate quantum resistance and get migration recommendations, for PQC readiness and migration planning.
POST /api/tools/pq-validator curl -X POST https://bhp-solutions.com/api/tools/pq-validator \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' PQ Cipher Suite helps you generate pqc keys and encrypt data with kyber, dilithium, or sphincs+, for PQC readiness and migration planning.
POST /api/tools/pq-cipher curl -X POST https://bhp-solutions.com/api/tools/pq-cipher \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' Domain PQ Status helps you check domain encryption configuration and pqc readiness, for quantum-safe readiness analysis, migration checks, and planning.
POST /api/tools/domain-pq-encryption curl -X POST https://bhp-solutions.com/api/tools/domain-pq-encryption \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' Binary Translator helps you convert text to binary and binary to ascii text instantly, for practical analysis, quick conversion, and daily workflows.
POST /api/tools/binary-translator curl -X POST https://bhp-solutions.com/api/tools/binary-translator \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' Morse Code Translator helps you encode and decode morse code — text to dots and dashes, for practical analysis, quick conversion, and daily workflows.
POST /api/tools/morse-code curl -X POST https://bhp-solutions.com/api/tools/morse-code \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' QR Code Generator helps you generate qr codes from any url or text with custom sizes, for practical analysis, quick conversion, and daily workflows.
POST /api/tools/qr-generator curl -X POST https://bhp-solutions.com/api/tools/qr-generator \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' Online Notepad helps you browser-based notepad with auto-save and download, for fast conversion, practical analysis, and everyday technical workflows.
POST /api/tools/notepad curl -X POST https://bhp-solutions.com/api/tools/notepad \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' Time Card Calculator helps you calculate work hours, breaks, overtime and weekly earnings, for practical analysis, quick conversion, and daily workflows.
POST /api/tools/time-card curl -X POST https://bhp-solutions.com/api/tools/time-card \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' DNS Server Finder helps you browse and compare public dns servers — cloudflare, google, quad9 and more, for DNS validation and troubleshooting.
POST /api/tools/dns-servers curl -X POST https://bhp-solutions.com/api/tools/dns-servers \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' DNS Speed Test helps you test and compare dns resolution speed across cloudflare, google, quad9 and more, for DNS validation and troubleshooting.
POST /api/tools/dns-speed-test curl -X POST https://bhp-solutions.com/api/tools/dns-speed-test \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' QR Code Scanner helps you decode qr codes from uploaded images directly in your browser, for practical analysis, quick conversion, and daily workflows.
POST /api/tools/qr-scanner curl -X POST https://bhp-solutions.com/api/tools/qr-scanner \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' What Is My IP helps you instantly detect your public ip address, browser and os information, for network validation, routing checks, and troubleshooting.
POST /api/tools/what-is-my-ip curl -X POST https://bhp-solutions.com/api/tools/what-is-my-ip \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' IP Location Lookup helps you get detailed geolocation data for any ip address including city, isp and timezone, for network validation and troubleshooting.
POST /api/tools/ip-location curl -X POST https://bhp-solutions.com/api/tools/ip-location \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' MAC Address Lookup helps you look up the manufacturer and vendor of any mac address using the oui database, for network validation and troubleshooting.
POST /api/tools/mac-lookup curl -X POST https://bhp-solutions.com/api/tools/mac-lookup \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' Social Media Name Checker helps you check username availability across major social media platforms instantly, for quick analysis and conversion.
POST /api/tools/social-checker curl -X POST https://bhp-solutions.com/api/tools/social-checker \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' Page Authority Checker helps you analyze domain metrics, https status, dns resolution and seo signals, for quick analysis and conversion.
POST /api/tools/page-authority curl -X POST https://bhp-solutions.com/api/tools/page-authority \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' Word Cloud Live helps you instantly visualize word frequency from any text as a live, interactive word cloud, for quick analysis and conversion.
POST /api/tools/wordcloudlive curl -X POST https://bhp-solutions.com/api/tools/wordcloudlive \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' BGP Looking Glass helps you query global bgp routing sessions by cidr prefix and asn filter, for network validation, routing checks, and troubleshooting.
POST /api/tools/bgp-looking-glass curl -X POST https://bhp-solutions.com/api/tools/bgp-looking-glass \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' Global Routing Information helps you real-time bgp routing dashboard — route leaks, hijacks, top asns and global anomalies, for network validation and tro.
POST /api/tools/routing curl -X POST https://bhp-solutions.com/api/tools/routing \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' Global Routing Dashboard helps you real-time global bgp routing dashboard with moas detection, country stats, and anomaly monitoring, for network validati.
POST /api/tools/global-routing curl -X POST https://bhp-solutions.com/api/tools/global-routing \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' BGP Prefix Inspector helps you analyze bgp routing details, rpki status, and peer visibility for any ip prefix, for network validation and troubleshooting.
POST /api/tools/bgp-prefix curl -X POST https://bhp-solutions.com/api/tools/bgp-prefix \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' RPKI Validator helps you validate rpki route origin authorization for any prefix and asn pair, for network validation, routing checks, and troubleshooting.
POST /api/tools/rpki-validator curl -X POST https://bhp-solutions.com/api/tools/rpki-validator \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' BGP Hijack Monitor helps you monitor bgp hijack events and route leak incidents with educational analysis, for network validation and troubleshooting.
POST /api/tools/bgp-hijack-monitor curl -X POST https://bhp-solutions.com/api/tools/bgp-hijack-monitor \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' IXP Browser helps you browse internet exchange points worldwide, search by name, city or asn, for network validation, routing checks, and troubleshooting.
POST /api/tools/bgp-exchange curl -X POST https://bhp-solutions.com/api/tools/bgp-exchange \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' BGP Global Statistics helps you global bgp routing table statistics — prefix counts, asn counts, growth trends, for network validation and troubleshooting.
POST /api/tools/bgp-stats curl -X POST https://bhp-solutions.com/api/tools/bgp-stats \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' Bogon Prefix Checker helps you check if an ip address or prefix is a bogon (unallocated/private/reserved) range, for network validation and troubleshootin.
POST /api/tools/bgp-bogons curl -X POST https://bhp-solutions.com/api/tools/bgp-bogons \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' IPv6 Adoption Tracker helps you track global ipv6 adoption progress — by region, asn, and country, for network validation and troubleshooting.
POST /api/tools/bgp-ipv6-progress curl -X POST https://bhp-solutions.com/api/tools/bgp-ipv6-progress \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' Super Traceroute helps you enhanced traceroute showing asn, organization and geolocation at each hop, for network validation and troubleshooting.
POST /api/tools/super-traceroute curl -X POST https://bhp-solutions.com/api/tools/super-traceroute \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' IP BGP Lookup helps you find bgp routing information for any ip — origin asn, prefix, rpki status, peer count, for network validation and troubleshooting.
POST /api/tools/ip-bgp curl -X POST https://bhp-solutions.com/api/tools/ip-bgp \
-H "Content-Type: application/json" \
-d '{"target": "example.com"}' Use our API in your favorite programming language. Here are examples for DNS lookup:
// Using fetch (Node.js 18+)
const response = await fetch('https://bhp-solutions.com/api/tools/dns-lookup', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ target: 'example.com' })
});
const data = await response.json();
console.log(data);
// Using axios
const axios = require('axios');
const checkDNS = async (domain) => {
try {
const { data } = await axios.post(
'https://bhp-solutions.com/api/tools/dns-lookup',
{ target: domain }
);
return data;
} catch (error) {
console.error('Error:', error.response?.data || error.message);
}
};🔍 Domain Monitoring
Monitor DNS propagation, SSL certificate expiry, and domain health automatically:
// Monitor multiple domains
const domains = ['example.com', 'example.org'];
const checks = ['dns-lookup', 'ssl-check', 'domain-health'];
for (const domain of domains) {
for (const check of checks) {
const result = await fetch(`/api/tools/${check}`, {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ target: domain })
}).then(r => r.json());
if (!result.success) console.error(`${check} failed for ${domain}`);
}
}Email Security Audit
Verify SPF, DKIM, DMARC for your domains:
const emailChecks = ['spf-check', 'dkim-check', 'dmarc-check'];
const results = await Promise.all(
emailChecks.map(check =>
fetch(`/api/tools/${check}`, {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ target: 'example.com' })
}).then(r => r.json())
)
);
const report = results.map((r, i) => ({ check: emailChecks[i], status: r.success ? 'PASS' : 'FAIL' }));🌐 Network Diagnostics
Comprehensive network analysis for any target:
const target = '8.8.8.8';
const networkChecks = ['ip-lookup', 'ping', 'traceroute', 'reverse-lookup'];
const diagnostics = await Promise.all(
networkChecks.map(check =>
fetch(`/api/tools/${check}`, {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ target })
}).then(r => r.json())
)
);Support & Feedback
Need help integrating our API? Have feature requests or found a bug? We're here to help!