Scraper API
Webweb.dnsAvailable
DNS records
Its DNS records: addresses, aliases, mail servers, name servers, TXT, SOA, CAA and, when asked, SRV.
Give it a host name.
1 unit a run, for runs that return data. Runs that fail cost nothing. How units work
- Counted
- 1 unit a run
- Inputs
- 2, 1 required
- Record
- 14 fields
- A run takes
- up to 5 minutes
- Records kept
- 7 days
- Measured
- its success, on the status page
POST/v1/scrapers/web.dns/runs
sent, and answered
a record of the run14 fields
ok1 unit a run
A record this scraper returned for this input. The first 9 of its 14 fields are set down here; the whole record is below.
What it is used for
- See who handles a domain's mail
- Read
mxandtxtto find the mail provider and the domain's SPF and DMARC policies before you write to it. - Audit your own records
- Check
a,aaaa,cname,nsandcaafor every host you run, on a schedule, and catch a record that changed or went missing. - Find where a site is hosted
- The addresses and aliases a host name points to show its hosting and CDN. A name that does not resolve comes back with
existsfalse.
What you send
A host name. These are its 2 inputs, as its schema has them.
domainstring Required- The host name to look up, e.g.
example.comormail.example.com. A web address is reduced to its host. typeslist of strings Optional- The record types to ask for. All but SRV by default.
A request, ready to send
It starts a run with the input shown at the top of this page, waits up to 60 seconds for it, and reads its records. Put your key in the variable it reads.
# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/web.dns/runs?wait=60" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"domain":"wikipedia.org","types":["A","AAAA","CNAME","MX","NS","SOA","CAA"]}}'
# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY"from enrichednow import EnrichedNow
client = EnrichedNow() # reads ENRICHEDNOW_API_KEY
# Start a run, wait for it to end, and get its records
result = client.scrape("web.dns", {
"domain": "wikipedia.org",
"types": ["A", "AAAA", "CNAME", "MX", "NS", "SOA", "CAA"],
})
print(result.run.id, result.run.status, result.run.record_count)
# Read its records: pages are fetched as you go
for record in result.records:
print(record)Install it with pip install enrichednow, then save as run.py and run python3 run.py
import EnrichedNow from "enrichednow";
const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("web.dns", {
domain: "wikipedia.org",
types: ["A", "AAAA", "CNAME", "MX", "NS", "SOA", "CAA"],
});
console.log(run.id, run.status, run.record_count);
// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);Install it with npm install enrichednow, then save as run.mjs and run node run.mjs
package main
import (
"context"
"fmt"
"log"
"time"
enrichednow "github.com/enrichednow/enrichednow-go"
)
func main() {
client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
if err != nil {
log.Fatal(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
defer cancel()
// Start a run, wait for it to end, and get its records
run, records, err := client.Scrape(ctx, "web.dns", map[string]any{"domain": "wikipedia.org", "types": []any{"A", "AAAA", "CNAME", "MX", "NS", "SOA", "CAA"}})
if err != nil {
log.Fatal(err)
}
fmt.Println(run.ID, run.Status, run.RecordCount)
// Read its records: pages are fetched as you go
for records.Next() {
fmt.Println(string(records.Current()))
}
if err := records.Err(); err != nil {
log.Fatal(err)
}
}Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go
import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.List;
import java.util.Map;
public class Run {
public static void main(String[] args) {
EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
ScrapeResult result = client.scrape("web.dns", Map.of("domain", "wikipedia.org", "types", List.of("A", "AAAA", "CNAME", "MX", "NS", "SOA", "CAA")));
System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
// Read its records: pages are fetched as you go
for (Map<String, Object> record : result.records()) {
System.out.println(record);
}
}
}Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java
enrichednow run web.dns --input-json '{"domain":"wikipedia.org","types":["A","AAAA","CNAME","MX","NS","SOA","CAA"]}'Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh
What comes back
Its DNS records: addresses, aliases, mail servers, name servers, TXT, SOA, CAA and, when asked, SRV. A record has 14 fields. One we could not read is null, never an empty string or a zero.
{
"domain": "wikipedia.org",
"exists": true,
"a": [
"103.102.166.224"
],
"aaaa": [
"2001:df2:e500:ed1a::1"
],
"cname": null,
"mx": [
{
"priority": 10,
"host": "mx-in1001.wikimedia.org"
},
{
"priority": 10,
"host": "mx-in2001.wikimedia.org"
}
],
"ns": [
"ns0.wikimedia.org",
"ns1.wikimedia.org",
"ns2.wikimedia.org"
],
"txt": [],
"soa": {
"primary": "ns0.wikimedia.org",
"contact": "hostmaster.wikimedia.org",
"serial": 2026111814,
"refresh": 43200,
"retry": 7200,
"expire": 1209600,
"minimum": 3600
},
"caa": [
{
"flags": 0,
"tag": "issue",
"value": "letsencrypt.org"
},
{
"flags": 0,
"tag": "issue",
"value": "pki.goog"
}
],
"srv": [],
"records": [
{
"type": "A",
"ttl": 180,
"value": "103.102.166.224"
},
{
"type": "AAAA",
"ttl": 156,
"value": "2001:df2:e500:ed1a::1"
}
],
"types_asked": [
"A",
"AAAA",
"CNAME"
],
"fetched_at": "2026-11-19T18:07:42.172407Z"
}The scraper returned this record for the input above, reading a saved copy of the page, not the live site.
Values shortened for this page: records: 10 items, the first 2 shown; types_asked: 7 items, the first 3 shown.
The fields of a record
domainstring- The host name that was looked up, in lower case (ASCII form for an internationalised name).
existsboolean- False when the name does not exist in the DNS at all (NXDOMAIN).
alist of strings- The name's IPv4 addresses.
aaaalist of strings- The name's IPv6 addresses.
cnamestring or null- The name this one is an alias of; null when it is not an alias.
mxlist of objects- The mail servers for the name, the most preferred first.Each holds
priority,host. nslist of strings- The name servers of the zone, where the name is a zone's top.
txtlist of strings- The name's TXT records, each as one string (SPF, site verifications and the like).
soaobject or null- The zone's start-of-authority record, where the name is a zone's top.Holds
primary,contact,serial,refresh,retry,expire,minimum. caalist of objects- Which certificate authorities may issue for the name.Each holds
flags,tag,value. srvlist of objects- The name's SRV records (asked for only when
typesnames SRV).Each holdspriority,weight,port,target. recordslist of objects- Every record that was returned, with its type and time to live.
types_askedlist of strings- The record types that were asked for.
fetched_atdatetime- When the lookups ended, in UTC.
Units and limits
- Counted per request
- Billed per request: a run that returns data costs 1 unit, however many records it returns.
- A miss costs nothing
- A run that fails, that meets something not supported yet, or that you cancel costs nothing. You pay for runs that return data.
- What bounds a run
- A run may take up to 5 minutes. Its records are read in pages of up to 1,000 and are kept for 7 days.
What it does not do
- A name that does not exist is still an answer: the run ends as ok and the record's exists field is false.
The bounds its schema sets
types- at most 9 items
Questions
What does DNS records return?
Its DNS records: addresses, aliases, mail servers, name servers, TXT, SOA, CAA and, when asked, SRV. A record has 14 fields, among them domain, exists, a, aaaa, cname and mx. A value that could not be read is null, never an empty string or a zero.
What do I send?
A host name. The input domain is required. Optional: types.
How is it counted?
Billed per request: a run that returns data costs 1 unit, however many records it returns. A run that fails, that meets something not supported yet, or that you cancel costs nothing. The first 1,000 units each month are free.
How much does one run return?
Its schema sets these bounds: types at most 9 items. A run may take up to 5 minutes.
What does it not do?
A name that does not exist is still an answer: the run ends as ok and the record's exists field is false.
How long are the records kept, and in what format do they come?
Records are kept for 7 days after the run ended, and read in pages of up to 1,000. They come as JSON, as NDJSON with one record a line, or as CSV with a column for each field.
Can an AI assistant call it?
Yes. Through the EnrichedNow MCP server an assistant calls the tool run_scraper with the scraper_id web.dns and the same input. It costs what the same API call costs.
Used in these playbooks
A playbook runs DNS records as one of its steps and hands back the finished list. Its runs of this scraper cost what they cost here, and the playbook adds nothing.
Sales
Account Research
For each company domain, what its site and company page say, a line of research and a compliment built only from facts.
Finance
Acquisition Universe
Every business of your acquisition thesis in your metros, off the market from Google Maps and on it from sale listings.
Sales
Ad-Activity Trigger
Companies running ads about your topic on Meta and LinkedIn now, sized up, with their marketing lead to contact.
Other
Agency Lists
Agencies by service and place with size, age, rates, minimum project, services and reviews, for partnering or buying.
Public sector
Award Teaming Leads
Companies that just won government contracts in your field, with what they won, their website and the email they publish.
Marketing
Broken Link Prospects
Resource pages on your topic that link to pages or sites that are gone, each with the dead link and the site's email.
Finance
Broker Directory
The business brokers of your states, one row for each firm, with specialties, designations and their current listings.
Recruiting
Candidate Reverse Marketing
Companies hiring for what your best candidate does, with the skills they ask for, who decides, and an opening line.
Sales
Crowdfunding Leads
Kickstarter and Indiegogo projects with traction, each with funding, backers, the creator's website and the email it publishes.
Local business
Directory to Leads
The businesses a directory lists, each with its website and the email that site publishes, checked.
Events
Exhibitor Prospects
The companies exhibiting at the trade shows you name, with booth, website, location, categories and contact address.
Marketing
Footprint Prospects
Sites on your topic that take guest posts or keep resource pages, found by search footprints, each with its email.
Recruiting
Funded and Hiring
Companies that just raised a round and are hiring on their own careers page, with the founder or talent lead to contact.
Sales
Funding and Announcement Trigger
Companies that just announced funding, an expansion, a launch or a senior hire, with who to contact and the fact.
Sales
Hiring-Signal Outbound
Companies whose job posts reveal a need for what you sell, with the decision-maker and a true line to open with.
Local business
Home-Services Pros
The plumbers, electricians or cleaners of a place, with ratings, licences, years in business and an email.
Recruiting
Job Order Hunter
Companies newly hiring for your roles and places, qualified by size and industry, with the person to contact.
Recruiting
Job Seeker Targets
Employers hiring now for the job you want, with the person who decides, their address and a first line to send.
Sales
Launch and Batch Lists
The startups of a Y Combinator batch, newest launches first, with their founders and a way to reach each one.
Marketing
Link Intersect
Sites that link to two or more of your competitors but not to you, each with the page and the email the site publishes.
Local business
Local Business Leads
Businesses of a kind in your places, with their phone and website, and an email where their own site publishes one.
Recruiting
Long-Open Roles
Jobs open for a month or more at companies that are struggling to fill them, with who decides on the hire.
Sales
Lookalike Companies
Startups like the accounts you won, found where the Y Combinator directory files them, with the people to contact.
Public sector
Supplier Discovery
Suppliers of a product from IndiaMART, Google Maps, Gelbe Seiten and ThomasNet, each with location, website and email.
Marketing
Unlinked Mentions
Pages that name your brand but do not link to your site, each read to be sure, with the email the site publishes.
Web
Public web pages: as the server sends them, after their scripts ran, as Markdown or as a picture, and what is in them. A domain's registration and its DNS records.
Web page
web.fetchThe address of a public web page. The status, headers and body its server sent.
Web page to Markdown
web.markdownThe address of a public web page. The page as clean Markdown, with its title, description, links and metadata.
PDF document
web.documentThe address of a public PDF, how many of its pages to read (up to 500), and whether to read scanned pages with OCR. Each page's text in reading order, the whole document as Markdown, its tables as rows and columns with their page, and its title, author and dates.
RSS and Atom feed
web.feedThe address of an RSS, Atom or JSON feed. Each entry of the feed: its title, link, summary and content as plain text, author, categories, dates, image and attached files.
Sitemap
web.sitemapA sitemap's address, or a website's address to find its sitemap from robots.txt. Every address the sitemap lists, with the last-modified date, change frequency, priority, images, language versions and news details it states.
Rendered web page
web.renderThe address of a public web page that builds its content with JavaScript. The page's HTML after a browser has loaded it and run its scripts.
Web page extraction rules
web.extractThe address of a public web page, and your own CSS or XPath rules, each with a name. One record with what each rule selected, under its name: text, an attribute, HTML, a list, or an object of fields.
News or blog article
web.articleThe address of a public news or blog article. Its title, authors, dates, section and tags, the body as text and as Markdown, the lead image, the site and the language.
Website technologies
web.techThe address of a public web page. The technologies it reveals, each with its category, version where shown, and the evidence it was recognised by.
Product page
web.productThe address of a product's page in any online shop. The product the page declares: name, brand, description, category, price and price range, list price, currency, availability, condition, rating and reviews, images, SKU, GTIN and part number, and each offer or variant.
Web page screenshot
web.screenshotThe address of a public web page, and what to take: the window, the whole page or one element, on a desktop, tablet or phone. A PNG or JPEG of the page, to download from the address in the record, with its size, format and checksum.
Page speed and weight
web.speedThe address of a public web page, a phone or a desktop, and how many times to load it (one to three). Load timings, Core Web Vitals, page weight by file type, the largest files, a 0 to 100 score and plain findings such as "3.1 MB of JavaScript".
Domain registration
web.whoisA domain name. Its registrar, creation, update and expiry dates, statuses, name servers, DNSSEC, and the registrant where the registry publishes one.
Website contacts
web.contactsA company's domain. The contact details its own website publishes: e-mail addresses, phone numbers, social profiles and postal address.
Website to Markdown
web.crawlA start page on a public website. The site's pages as clean Markdown, one record for each page.
- Industry
- Search and the open web
- Where
- Worldwide
Run it on an input of your own.
Create an account, make a key, and send the request above with your own input. The first 1,000 units each month are free.