datpaq/blog

#dnslookup

Posts tagged dnslookup from the Datpaq team.

Blog/June 16, 2026/By Matt Morris

Network, Domain, and Email Infrastructure APIs for Developers

DatPaq is releasing network, domain, and email infrastructure APIs for developers. The release includes MAC address vendor lookup, DNS lookup, domain lookup, and MX lookup capabilities through the DatPaq API platform.

Network, domain, and email configuration data helps modern software systems understand the infrastructure around them.

Developers often need to answer practical questions:

  • Who manufactured this network device?
  • What DNS records exist for this domain?
  • Does this domain have A, AAAA, MX, or TXT records configured?
  • Which mail servers handle email for this domain?
  • Does the domain publish SPF records?
  • Can these lookups be returned in structured JSON?

These questions show up across SaaS platforms, cybersecurity tools, IT operations, telecom workflows, domain management systems, and infrastructure dashboards.

The DatPaq API platform provides a unified API layer for accessing practical infrastructure APIs through one interface. This release focuses on four infrastructure APIs:

  1. MAC Address API
  2. DNS Lookup API
  3. Domain Lookup API
  4. MX Lookup API

Quick Answer: What is DatPaq releasing?

DatPaq is releasing network, domain, and email infrastructure APIs that help developers look up MAC address vendor metadata, resolve DNS records, inspect domain metadata, and check MX and SPF configuration. These APIs are part of the DatPaq API platform and support developer tools, SaaS products, cybersecurity workflows, telecom systems, domain management tools, and infrastructure operations.


Why infrastructure APIs matter

Infrastructure data is most useful when it is accessible, structured, and easy to integrate.

Without APIs, teams often rely on command-line tools, manual lookup websites, custom scripts, or separate utilities. That creates friction when infrastructure data needs to be used inside a product, dashboard, internal workflow, or automated process.

Infrastructure APIs help developers turn lookup tasks into application-ready data.

The DatPaq API platform reduces integration overhead by making these capabilities available through a unified API layer.


API 1: MAC Address API

What is the MAC Address API?

The MAC Address API lets developers look up hardware vendor metadata using a MAC address prefix or organization name.

A MAC Address API identifies network hardware vendor information from a MAC address prefix. In DatPaq, the MAC Address API returns vendor metadata such as prefix, organization name, and IEEE registry type through the DatPaq API platform.

What it does

The MAC Address API retrieves vendor metadata by querying either:

  • A MAC address prefix, such as 00:1A:2B
  • An organization name substring

A valid prefix returns exact matches. An org search returns partial, case-insensitive matches. At least one of prefix or org is required.

Common use cases

  • Network asset management
  • Device inventory
  • Telecom workflows
  • Security review
  • Hardware vendor identification
  • Network diagnostics
  • Infrastructure transparency

Example request

GET https://datpaq.com/api/v1/mac-address?api_key=your-api-key&prefix=00:1A:2B

Example response

[ { "prefix": "00:1A:2B", "organization": "Cisco Systems", "registry": "MA-L" } ]

Known limitation

The MAC Address API does not include unregistered or private MAC blocks.


API 2: DNS Lookup API

What is the DNS Lookup API?

The DNS Lookup API resolves DNS records for domains and IP addresses and returns the results in structured JSON.

A DNS Lookup API lets developers resolve DNS records such as A, AAAA, MX, TXT, NS, CNAME, SOA, and PTR records through an API. In DatPaq, the DNS Lookup API supports domain lookups, reverse DNS lookups, record-type filtering, and batched domain queries.

What it does

The DNS Lookup API accepts a domain or IP address and returns DNS records in structured JSON format.

Supported record types include:

  • A
  • AAAA
  • MX
  • TXT
  • NS
  • CNAME
  • SOA
  • PTR

The API supports reverse DNS lookup by IP address and batch domain resolution.

Common use cases

  • Network diagnostics
  • Domain management
  • Cybersecurity workflows
  • SaaS onboarding checks
  • Infrastructure monitoring
  • Email configuration review
  • TXT and MX verification

Example single request

GET https://datpaq.com/api/v1/dns?api_key=your-api-key&domain=example.com&type=A

Example batch request

GET https://datpaq.com/api/v1/dns?api_key=your-api-key&domain=example.com&domain=google.com&type=MX

Example response

[ { "domain": "example.com", "records": { "MX": [ { "exchange": "mail.example.com", "priority": 10 } ] } } ]

Known limitations

The DNS Lookup API does not support DNSSEC or DNS trace functionality. Results are resolved in real time and are not cached. CNAME records may return ENODATA if not explicitly configured.


API 3: Domain Lookup API

What is the Domain Lookup API?

The Domain Lookup API retrieves domain metadata, TLD classification, broad region, and DNS presence checks for one or more domains.

A Domain Lookup API helps developers validate domains and retrieve structured metadata such as TLD, category, region, and DNS presence. In DatPaq, the Domain Lookup API checks A, AAAA, MX, and TXT record presence without relying on WHOIS registrant data.

What it does

The Domain Lookup API accepts a single domain or an array of domains and returns:

  • Domain name
  • TLD
  • Category
  • Region
  • A record presence
  • AAAA record presence
  • MX record presence
  • TXT record presence
  • DatPaq WHOIS lookup link when available

Common use cases

  • Domain validation
  • SaaS onboarding workflows
  • Cybersecurity tools
  • Infrastructure monitoring
  • Lead intelligence
  • Marketing operations
  • Dashboard enrichment

Example single request

GET https://datpaq.com/api/v1/domain-lookup?api_key=your-api-key&domain=example.com

Example batch request

GET https://datpaq.com/api/v1/domain-lookup?api_key=your-api-key&domain=github.com&domain=example.com&domain=datpaq.com

Example response

{ "domain": "stripe.com", "tld": "com", "category": "commercial", "region": "Global", "dnsCheck": { "hasA": true, "hasAAAA": true, "hasMX": true, "hasTXT": true }, "whois": { "available": true, "url": "https://datpaq.com/whois?domain=stripe.com" } }

Known limitations

The Domain Lookup API does not include WHOIS or registrar data. It does not currently detect DNSSEC or parked status.


API 4: MX Lookup API

What is the MX Lookup API?

The MX Lookup API checks mail exchange records and optional email infrastructure settings for one or more domains.

An MX Lookup API helps developers inspect email delivery infrastructure by returning MX records, mail server hostnames, resolved IP addresses, SPF record data, and optional SMTP port availability. In DatPaq, the MX Lookup API supports single-domain and batch-domain queries.

What it does

The MX Lookup API accepts one or more domains and can return:

  • MX records sorted by priority
  • Mail server hostnames
  • Resolved A and AAAA IP addresses
  • Optional SMTP port 25 availability
  • Optional SPF TXT record data

Common use cases

  • Email infrastructure monitoring
  • Domain onboarding checks
  • Mail routing diagnostics
  • SPF policy review
  • Cybersecurity workflows
  • IT operations
  • Email verification tools

Example single request

GET https://datpaq.com/api/v1/mx-lookup?api_key=your-api-key&domains=gmail.com&resolveIps=false

Example batch request

GET https://datpaq.com/api/v1/mx-lookup?api_key=your-api-key&domains=gmail.com,protonmail.com&resolveIps=false&validateSmtp=false&includeSpf=true

Example response

[ { "domain": "gmail.com", "mxRecords": [ { "priority": 5, "exchange": "gmail-smtp-in.l.google.com", "ipAddresses": ["142.250.102.27"], "smtpOpen": true } ], "spf": { "record": "v=spf1 include:_spf.google.com ~all", "includes": ["_spf.google.com"], "mechanism": "~all" } } ]

Known limitations

The MX Lookup API does not perform deep SMTP validation. SPF parsing is shallow. IPv6 resolution may be skipped if host DNS does not support it.


Where DatPaq fits

DatPaq is not a traditional API marketplace.

DatPaq is an API platform designed to provide a unified API layer across multiple practical data and utility APIs. For network, domain, and email infrastructure workflows, that means developers can access lookup capabilities without managing separate tools, scripts, vendors, or inconsistent response structures.

The DatPaq API platform functions as data infrastructure and developer tooling for teams that need structured API access across common technical workflows.


FAQ

What does DatPaq do?

DatPaq is an API platform that provides a unified layer for accessing, managing, and integrating multiple data and utility APIs through a single interface.

What infrastructure APIs are included in this release?

This release includes the MAC Address API, DNS Lookup API, Domain Lookup API, and MX Lookup API.

What is the MAC Address API?

The MAC Address API helps developers identify hardware vendor metadata by querying a MAC address prefix or organization name.

What is the DNS Lookup API?

The DNS Lookup API resolves DNS records for domains and IP addresses, including A, AAAA, MX, TXT, NS, CNAME, SOA, and PTR records.

What is the Domain Lookup API?

The Domain Lookup API returns domain metadata such as TLD, category, region, and DNS presence checks for A, AAAA, MX, and TXT records.

What is the MX Lookup API?

The MX Lookup API returns mail exchange records and optional email infrastructure details such as resolved mail server IPs, SPF records, and SMTP port availability.

Who are these APIs for?

These APIs are for developers, SaaS teams, cybersecurity tools, IT operations teams, domain management platforms, telecom platforms, and infrastructure monitoring workflows.

Is DatPaq an API marketplace?

DatPaq is not a traditional API marketplace. DatPaq provides a unified API platform that standardizes access to multiple API capabilities through one interface.

Do these APIs require authentication?

According to the current API details provided for this release, these four APIs do not require authentication. The technical team should confirm whether this remains true in production before publishing.

Do these APIs support batching?

The DNS Lookup API, Domain Lookup API, and MX Lookup API support batching. The MAC Address API does not support batching.

Are these APIs real-time?

Yes. The current API details describe these APIs as real-time lookups. The DNS Lookup, Domain Lookup, and MX Lookup APIs are described as having no caching; the MAC Address API also lists no caching.


Conclusion

Network, domain, and email infrastructure data is useful when teams can access it programmatically. The MAC Address API, DNS Lookup API, Domain Lookup API, and MX Lookup API help developers inspect device vendors, DNS records, domain metadata, and email routing configuration through structured API responses. The DatPaq API platform provides these capabilities through a unified API layer so teams can reduce integration overhead and build infrastructure-aware products, dashboards, and workflows faster. CTA: Start building with DatPaq.