REST API v1 Live · api.datasetapi.ai/v1

Ship Clean AI Datasets With One API Call

Push raw JSONL streams, Parquet tables, CSV exports, or presigned URLs over HTTP. DatasetAPI enforces deterministic schema profiling, strips exact & near duplicates, masks PII, and compiles instant streams for PyTorch, Unsloth, HuggingFace, and RAG.

POST /v1/datasets/push POST /v1/datasets/upload 100 MB free per upload Google 1-click sign-in
DatasetAPI high-speed streaming validation and multi-format AI dataset pipeline
Wire IngestJSONL · Parquet
Hygiene EngineDedup + PII Mask
SFT & RAG OutChatML · Alpaca
12 Verified Public Datasets
14,800 Deduplicated Clean Rows
98.4/100 Mean Quality & Hygiene Score
15 Formats Zero-Copy Streaming Exports
API-First Ingestion

Upload From Python, CI/CD, or Edge Workers — No Browser Required

Whether your scraper emits hourly NDJSON batches, your warehouse exports Parquet partitions, or your agent pipeline appends verified traces, one authenticated endpoint turns raw payloads into versioned, training-ready datasets.

STREAMING VALIDATION TRACE HTTP/2 201
Built for Real ML Engineering Pain Points

Why Fine-Tunes & RAG Pipelines Fail Before Epoch 1

Across thousands of 2026 engineering postmortems in open-weight LLM training and enterprise retrieval, bad model behavior overwhelmingly traces back to silent dataset corruption — not model architecture.

Streaming API dataset ingestion 01 · Four Ingestion Modes

Push JSON Arrays, Stream NDJSON, Upload Parquet, or Pull Presigned URLs

Stop writing brittle glue scripts to convert CSVs or stage local temp files. Call POST /v1/datasets/push directly from memory, upload multi-hundred-MB .parquet files, pull from S3/GCS URLs, or incrementally append rows via POST /v1/projects/{id}/append.

Deterministic schema validation and PII redaction 02 · Deterministic Hygiene — Never LLM Guessing

Exact & Shingle Deduplication + Automatic PII Redaction

Never rely on probabilistic prompts to validate data schemas. DatasetAPI deterministically profiles column types & null rates, isolates exact SHA-256 and near-duplicate rows, and masks emails, phone numbers, Luhn card numbers, and IPv4 tokens across public exports.

03 · Model-Agnostic Corpus

Switch Embedding & Base Models Without Re-Scraping

Keep your canonical source-attributed dataset decoupled from vector stores. When you upgrade from Qwen 3.8 to Gemma 4 or swap embedding dimensions, stream fresh chatml.jsonl, alpaca.jsonl, or chunks.jsonl on demand.

04 · Synchronous or Async

Single-Call Results With wait=15

Pass wait=10 on any push or upload request to block until validation finishes and receive your 0–100 Quality Score, detected column roles, and export URLs in one HTTP round-trip — or pass wait=0 for massive async jobs.

Open AI Dataset Catalog network 05 · Instant Public Hub

One Flag Publishes to a Searchable Row Viewer

Set publish=true to ship directly to datasetapi.ai/datasets/{owner}/{slug} complete with an interactive browser Row Viewer, schema.org/Dataset JSON-LD, and ready-to-copy Python snippets.

System Architecture

Inside the 4-Stage Streaming Pipeline

Click any stage below to inspect how raw API payloads move from TLS edge termination into compiled AI formats.

Payload Hygiene Preview

Raw Community & Log Payloads In → Training-Grade Exports Out

Raw API Input Unnormalized · Duplicates · Raw PII
Compiled Stream Output Deduplicated · PII Masked · Scored
Public Dataset Catalog

Stream Verified English Datasets Right Now

Every public dataset includes an interactive Row Viewer, inferred column schema, quality score, and direct streaming URLs for Python datasets, pandas, and curl.

Browse All Datasets →
Developer-First Plans

Start Free With Full REST API Access

Every account includes API key generation, Google & email sign-in, deterministic deduplication, PII masking, and unlimited downloads from the public catalog.

Free Forever

Builder

$0 / month
  • Up to 50 datasets in workspace
  • 100 MB per API upload or stream
  • Up to 1,000,000 rows per dataset
  • 180 API requests / min (`dsapi_*` keys)
  • Website crawl up to 300 pages / site
  • All 15 export formats + Public Hub publishing
Create Free Account
High-Volume Infrastructure

Scale

$149 / month (early access)
  • Up to 5,000 datasets
  • 5 GB per Parquet / JSONL upload
  • Up to 100,000,000 rows per dataset
  • 6,000 API requests / min
  • Website crawl up to 50,000 pages / site
  • Priority worker concurrency & partner feed sync
Start on Free Plan
Technical FAQ

Frequently Asked Questions

How do I upload a dataset via the API without creating temporary files?

Generate an API key (`dsapi_...`) in your console, then call POST https://api.datasetapi.ai/v1/datasets/push with either a JSON object containing {"name": "...", "records": [...]} or stream newline-delimited JSON directly using Content-Type: application/x-ndjson. Pass wait=10 to get the validated dataset summary in the same HTTP response.

Which file formats can I upload, and what formats are compiled automatically?

You can ingest .jsonl, .ndjson, .parquet, .csv, .tsv, .json, .md, and .txt files (plus public website crawls). DatasetAPI automatically maps prompt/answer/context/ChatML roles and streams exports in rows.jsonl, rows.csv, chatml.jsonl, alpaca.jsonl, sharegpt.jsonl, qa.jsonl, chunks.jsonl, report.json, and all.zip.

Does DatasetAPI use LLMs to validate or alter my uploaded rows?

No. Data validation, type inference, exact SHA-256 and shingle near-duplicate detection, and PII masking are 100% deterministic. Your private exports preserve raw values unless you request mask_pii=1; public catalog downloads always mask emails, phone numbers, payment cards, and IPv4 addresses automatically.

Can I sign in with Google and manage multiple API keys?

Yes. One-click Google OAuth 2.0 sign-in works out of the box alongside email/password accounts. Each workspace supports up to 10 independent SHA-256 hashed dsapi_ keys with instant rotation and revocation.