# Website & Domain Intelligence APIs

Canonical URL: https://dataroute.dev/apis/sites/
Specification Snapshot: 2026-11-22 | Planned Endpoints: 6

Inspect domain traffic bands, technical infrastructure profiles, authority benchmarks, and organic search overlap through one structured API contract powered by Vaneform.

Open-standard infrastructure lookups (DNS records, TLS certificate chains, WHOIS/RDAP metadata) and public authority benchmarks (Tranco, Majestic Million, CrUX) deliver deterministic provenance timestamps on every response.

Source Compliance Policy: before any Vaneform-backed traffic, keyword, or competitor attribute opens for external commercial API resale, DataRoute audits upstream licensing terms field by field and exposes only cleared attributes with explicit provenance.

## Endpoint Catalog
| Method | Planned Path | Platform | Capability | Stage | Engine | MCP Tool |
| --- | --- | --- | --- | --- | --- | --- |
| GET | `/v1/sites/{domain}/traffic` | Domain Traffic | Traffic Scale Estimates | V1 Flagship | Vaneform (compliance-cleared) | `site_traffic` |
| GET | `/v1/sites/{domain}/profile` | Infrastructure | DNS, TLS, WHOIS & RDAP Profile | V1 Flagship | Vaneform First-Party Prober | `site_profile` |
| GET | `/v1/sites/{domain}/ranks` | Authority Ranks | Tranco, Majestic & CrUX Ranks | V1 Flagship | Vaneform Authority Warehouse | `site_ranks` |
| GET | `/v1/sites/{domain}/keywords` | Search Visibility | Organic Keyword Slice | V1 Flagship | Vaneform (compliance-cleared) | `site_keywords` |
| GET | `/v1/sites/{domain}/competitors` | Competitive Graph | Domain Competitors Slice | V1 Flagship | Vaneform (compliance-cleared) | `site_competitors` |
| GET | `/v1/sites/{domain}/history` | Longitudinal Data | Historical Monthly Snapshots | V2 Hard-Source | Vaneform Monthly Ledger | `site_history` |

## Target Fields & Failover Policies
- `GET /v1/sites/{domain}/traffic` (V1 Flagship, Tier 1 · First-Party Warehouse): fields `domain, monthly_visits_est, traffic_band, top_countries[], channel_mix, observation_month` — First-party monthly snapshot store; commercial resale fields pass licensing review before GA.
- `GET /v1/sites/{domain}/profile` (V1 Flagship, Tier 1 · Open Standards): fields `domain, dns_records, tls_issuer, tls_valid_to, rdap_registrar, nameservers[]` — Direct standards-based DNS, TLS, and RDAP probes with multi-resolver retry.
- `GET /v1/sites/{domain}/ranks` (V1 Flagship, Tier 1 · Public Benchmarks): fields `domain, tranco_rank, majestic_million_rank, crux_origin_rank, snapshot_date` — Deterministic local warehouse reads with pinned snapshot dates and source provenance.
- `GET /v1/sites/{domain}/keywords` (V1 Flagship, Tier 2 · Licensed Upstream): fields `domain, market, top_keywords[], estimated_etv, position_distribution` — Field-level licensing clearance enforced before public resale; explicit source attribution in envelope.
- `GET /v1/sites/{domain}/competitors` (V1 Flagship, Tier 2 · Licensed Upstream): fields `domain, competitors[], keyword_overlap_score, traffic_scale_ratio` — Warehouse-backed domain overlap graph gated by per-field source compliance policy.
- `GET /v1/sites/{domain}/history` (V2 Hard-Source, Tier 2 · Time-Series Archive): fields `domain, months[], rank_deltas, traffic_series[]` — Stage 2 historical ledger delivering immutable month-over-month domain comparisons.

## Questions & Answers
### How does DataRoute enforce third-party compliance on Sites intelligence fields?
Before any Vaneform-backed traffic scale, organic keyword, or competitor field opens for external API resale, DataRoute reviews upstream provider terms field by field. Open-standard DNS, TLS, WHOIS/RDAP, Tranco, Majestic Million, and CrUX attributes ship with deterministic snapshot dates and clear provenance.

### Which authority rank indices are exposed on /v1/sites/{domain}/ranks?
The planned ranks endpoint combines Tranco global domain ranks, Majestic Million backlink ranks, and Chrome UX Report (CrUX) origin popularity buckets into a single normalized JSON response stamped with its snapshot date.

### What is the difference between Vaneform (vaneform.com) and DataRoute Sites APIs?
Vaneform (vaneform.com) is an independent public website analytics and domain ranking web portal built for human researchers and analysts. DataRoute consumes compliance-cleared Vaneform data services over HTTP to provide unified developer API keys, shared USD prepaid credits, and MCP tool access.

### Are historical monthly domain snapshots included in V1?
Single-snapshot traffic, infrastructure profile, rank, keyword, and competitor endpoints target V1 Flagship rollout. Multi-month longitudinal snapshot endpoints (/v1/sites/{domain}/history) are scheduled for V2 as retention workloads.
