Website Data API: What It Returns and How to Use It
Headerline Review explains how a website data API turns a domain name into structured answers about crawler access, AI readability and email setup, and where those answers stop being reliable.
A website data API takes a domain and returns facts about that site as structured data instead of a web page for a human to read. The useful ones answer narrow, checkable questions: does robots.txt let AI crawlers in, does the site publish an llms.txt file, are SPF, DKIM and DMARC records set up, does a page expose tools to browser agents. You send example.com, you get a verdict you can store, diff and alert on.
That is different from a scraping API, which hands you raw HTML, and from a traffic-estimate API, which guesses at visits. A checks API does the fetching, DNS lookups and interpretation for you, and charges per call. The trade-off is scope: you get the checks the vendor built, not arbitrary page extraction.
One concrete example is BusinessMCP’s website checks API. It exposes four per-domain endpoints under a single bearer token: an AI readiness grade at $0.03 per call, and AI crawler access, WebMCP detection and email authentication at $0.01 each. Each endpoint has a REST route and an MCP tool of the same name, so a script and an AI agent can use the same service. The wider BusinessMCP data API catalogue also covers company, IP, people and trust lookups, which are a different job. New accounts get $5 of credit for 7 days, so you can test the checks on your own domains before paying anything. If you want to try one without code first, the free AI readiness grader runs the same scoring check in a browser form.
This publication is organised by the decisions you actually face when adopting one.
- Is an API the right tool at all? Start with what a website data API is and the comparison with DIY scraping.
- What will it cost? Work through the per-call pricing maths before you commit to a monthly audit schedule.
- How do I call it? See the Python example and the notes on using it from an AI agent.
- What do the individual checks mean? Read about AI readiness scores, AI crawler access in robots.txt, llms.txt, WebMCP and email authentication.
- How do I run it at scale? Try bulk domain audits and scheduled monitoring.
Two cautions apply to every service of this type. First, a check measures what a machine can read today, not what any AI product will do with it; a clean score does not mean assistants will cite you. Second, an inconclusive result is data too: when a DNS lookup does not complete or a robots.txt file cannot be read, a good API says unknown rather than guessing allowed or failed. Build your code to keep that third state.
We are an independent publication. We name the products we discuss, say what they do and where they stop, and link to primary pages so you can verify. Prices and features change, so confirm on the vendor’s page before you budget.
All articles
Fundamentals
What Is a Website Data API? Types, Uses and Limits
What is a website data API? It turns a domain into structured facts such as crawler access or email setup. See the main types, real uses and where they fall short.
FundamentalsWebsite Data API vs Scraping: Which Should You Use?
Website data API vs scraping: compare cost, upkeep, legal risk and reliability for per-domain checks, and learn when each approach is the right tool.
FundamentalsWebsite Data API Pricing: What Per-Domain Checks Cost
Website data API pricing explained: per-call rates, free credit, how to budget audits for 10 to 1,000 domains and the hidden costs to count before you commit.
Workflows
Website Data API Python Example: Call a Domain Check
A website data API Python example: authenticate with a bearer token, call a per-domain check, handle errors and store results for comparison, step by step.
WorkflowsWebsite Data API for AI Agents: Using MCP Tools for Checks
How a website data API works for AI agents: call per-domain checks as MCP tools, what the agent needs, where it helps and the guardrails to put around spend.
WorkflowsBulk Domain Audit: Check Many Websites Without a Crawler
How to run a bulk domain audit: build a domain list, call per-domain checks, store results, rank the fixes and keep the cost predictable. Includes cost maths.
WorkflowsScheduled Website Monitoring: Catch robots.txt and DNS Drift
Set up scheduled website monitoring for robots.txt, AI crawler access and email authentication: what to check, how often, how to diff results and avoid noisy alerts.
WorkflowsWebsite API Error Handling: 402s, Unknowns and Retries
Website API error handling for per-domain checks: handle 402 balance errors, unknowns, timeouts and refunds, with a retry policy and a reusable state model.
AI Readiness
AI Readiness Score API: What the 0-100 Grade Measures
An AI readiness score API grades how readable a site is to AI engines. See the five weighted checks, what a score can and cannot tell you, and how to act on it.
AI ReadinessCheck AI Crawler Access in robots.txt: GPTBot and Others
How to check AI crawler access in robots.txt: which user agents matter, how rules are parsed, common mistakes and how to automate the check for many domains.
AI Readinessllms.txt Checker: How to Validate Your File and Format
Use an llms.txt checker to confirm your file exists, returns 200, follows the proposed format and is reachable by AI crawlers. Includes a validation checklist.
AI ReadinessWebMCP Checker: Detect Whether a Site Exposes Agent Tools
A WebMCP checker shows whether a page exposes in-page tools to browser agents. Learn what WebMCP is, how detection works, its status and how to test.
Email Authentication
DMARC Checker API: Automate SPF, DKIM and DMARC Checks
A DMARC checker API lets you test SPF, DKIM and DMARC for many domains from code. See what it checks, how to read results, costs and the gaps it cannot cover.
Email AuthenticationSPF Record Too Many Lookups: Causes and How to Fix It
Seeing an SPF permerror? The 10 DNS lookup limit is the usual cause. Learn which mechanisms count, how to audit your record and how to fix it without breaking mail.
Frequently asked questions
What is a website data API?
A web service that accepts a domain and returns structured facts about the site, such as crawler access, metadata, DNS-based email settings or an AI readiness score, instead of raw page content.
Is a website data API the same as a web scraping API?
No. Scraping APIs return page HTML or extracted content. A checks API runs predefined tests and returns a verdict. Scraping is flexible; checks are cheaper to interpret and maintain.
How much does a website data API cost?
Pricing models vary. BusinessMCP’s website checks are prepaid per call, at $0.03 for the AI readiness grade and $0.01 for each of the other three checks, with $5 free for 7 days.
Can I call a website data API from an AI agent?
Yes if the vendor offers an MCP endpoint. BusinessMCP exposes each website check as an MCP tool with the same name, input and price as the REST route.
What are the limits of these checks?
They report what is readable today. They cannot tell you whether an AI assistant will cite your site, and checks that read served HTML may miss content that only scripts render.