Domain Provenance & Crawler Discovery

Expose Your Canonical Dataset via robots.txt

Just as Sitemap: tells search engines where to find URLs, a Dataset: line tells AI agents and retrieval crawlers where to stream your verified structured data — while proving domain ownership on DatasetAPI.

How It Works

After publishing a dataset to the DatasetAPI Hub, add a single line at the bottom of your domain’s https://yourdomain.com/robots.txt:

User-agent: *
Allow: /

Sitemap: https://yourdomain.com/sitemap.xml
Dataset: https://datasetapi.ai/datasets/your-org/your-dataset

Why Add a Dataset: Directive?

  • Cryptographic-equivalent domain provenance: Clicking Verify robots.txt in the DatasetAPI Console (or calling POST /v1/projects/{id}/verify-robots) checks your live robots.txt and awards the Verified Domain badge on your public Dataset Card.
  • Canonical deduplication protection: A verified domain dataset always takes canonical precedence over third-party crawls of the same hostname.
  • Clean structured ingestion for AI bots: Instead of scraping client-rendered DOM chrome, compliant AI agents can follow the URL straight to schema.org/Dataset JSON-LD and clean JSONL downloads.
Publish & Verify Your Dataset →