Web Data

ads.txt and sellers.json validation API

Check which companies are authorized to sell a site's ad inventory. Parse ads.txt or app-ads.txt, flag invalid lines and duplicates, and confirm each seller against the ad system's own sellers.json.

CategoryWeb Data
Endpoints1
Key Features4
Frequently asked questions4

Used by people at these companies

InstantOutseerMongoDBRespondentSage Expense ManagementInstantlyD.R. HortonWhatConvertsAdobeLLM Pulse

Trust signals before you integrate

Transparent docs, authenticated requests, and visible reliability details make it easier to evaluate DomScan before you ship.

LiveService status

Check live service health and documented failure responses before you integrate.

OpenAPIAPI artifacts

OpenAPI, Swagger, Postman, CLI, SDK, and MCP links are one click away.

API keysProtected access

Authenticated endpoints use API keys with clear credit costs before you call them.

1,000Free credits

Start with 1,000 free credits every month. Need more? Pick a monthly plan or buy a one-time pack.

What this API helps you ship

Use this page as a production brief: endpoints, examples, response shape, and the workflow pieces needed to plug DomScan into your own product.

Product workflows

Embed domain checks, DNS intelligence, risk signals, or enrichment into onboarding, search, and internal tools.

Analyst automation

Replace repeated manual lookups with scheduled jobs, alerting, and reproducible investigation steps.

Clean JSON data

Use predictable fields, documented status codes, and credit costs instead of scraping provider pages.

AI and ops tooling

Feed agents, dashboards, SOAR playbooks, and CRMs through OpenAPI, SDK, Postman, or MCP.

Integration workflow

A simple path from first request to repeatable production usage.

1
Authenticate once

Send your API key with the documented header and keep requests consistent across services.

2
Query with examples

Start from the curl and HTTP samples, then map the parameters into your application code.

3
Operate and monitor

Use status codes, credit costs, and response fields to build retries, logs, and alerts.

Developer kit

Jump from this page into machine-readable docs, request collections, SDKs, or agent tooling.

Parameters and response map

Scan the inputs, output fields, and status codes before wiring the endpoint into your client.

Request parameters

Parameter

urlfileverify_sellers
Response fields

Example response

statussummarysummary.recordssummary.directsummary.resellersummary.ad_systemsvariablesvariables.ownerdomainissuessellerssellers.systems_checkedsellers.confirmed
Status coverage

HTTP status codes

200400401402429

Endpoints

GET /v1/ads-txt
Credits: 2-5Authentication: Authentication required

Trust signals before you integrate

Transparent docs, authenticated requests, and visible reliability details make it easier to evaluate DomScan before you ship.

LiveService status

Check live service health and documented failure responses before you integrate.

OpenAPIAPI artifacts

OpenAPI, Swagger, Postman, CLI, SDK, and MCP links are one click away.

API keysProtected access

Authenticated endpoints use API keys with clear credit costs before you call them.

1,000Free credits

Start with 1,000 free credits every month. Need more? Pick a monthly plan or buy a one-time pack.

Key Features

ads.txt and app-ads.txt

Validate the web file or the mobile and connected TV version, with every record, relationship and certification authority ID.

Seller confirmation

With verify_sellers=true, each seller ID is looked up in the ad system's sellers.json and marked confirmed, confidential, type mismatch or not found.

Syntax checks

Invalid lines, unknown relationships, missing account IDs, bad domains and duplicate records are counted with their line numbers.

Variables

OWNERDOMAIN, MANAGERDOMAIN, CONTACT, SUBDOMAIN and INVENTORYPARTNERDOMAIN declarations are returned as found.

Example request

GET /v1/ads-txt?url=example.com&verify_sellers=truebash
curl -H "X-API-Key: $DOMSCAN_API_KEY" "https://domscan.net/v1/ads-txt?url=example.com&verify_sellers=true"

Example response

200 OKjson
{
  "status": "found",
  "summary": { "records": 401, "direct": 94, "reseller": 307, "ad_systems": 98 },
  "variables": { "ownerdomain": ["example.com"] },
  "issues": [{ "code": "duplicate_record", "count": 47, "lines": [68, 76, 77] }],
  "sellers": {
    "systems_checked": 10,
    "confirmed": 58,
    "type_mismatch": 7,
    "seller_not_found": 16,
    "unknown": 9
  }
}

Frequently asked questions

What does type_mismatch mean?

The sellers.json lists the seller ID, but with a type that does not match the relationship, for example a PUBLISHER entry for a RESELLER line.

Why are some sellers unknown?

The ad system's sellers.json could not be read, was too large or was malformed. Unknown never means the seller is missing.

How many ad systems are verified?

Up to 10 per request, starting with the systems that have the most records and DIRECT relationships.

How many credits does it cost?

Two credits, or five with verify_sellers=true. Results that end in status unknown are refunded.

Related tools and resources

HTTP status codes

These are the HTTP status codes to handle, so you can tell apart successful responses, auth issues, credits, rate limits, missing data, and upstream failures.

OK200

Request successful

Bad Request400

Invalid parameters

Unauthorized401

Missing or invalid API key/session.

Payment Required402

Not enough credits to run this request.

Too Many Requests429

Rate limit exceeded

What customers say

4.9/5 from 34 verified buyer reviews

Having those checks in one place is what sold me on DomScan.

Verified buyer · November 2026

It suits the domain hunts, watching certificates and domain expiry hassles I have done manually for years.

Verified buyer · November 2026