DataCrawl API

Simplified API usage. Send data to POST /api, then inspect backend logs from GET /api/logs.

Configure

⚠ Paste your API key above to enable Run buttons.

1

First Call: Create + Learn + Validate

POST /api handles contract creation and schema learning automatically when contract_name is new.

POST https://www.datacrawl.org/api
2

Repeat Calls: Validate Only

Use the same endpoint. Existing contract_name reuses stored contract_id and validates directly.

POST https://www.datacrawl.org/api

learned — first payload learned the schema

passed / passed_with_corrections — valid request

observed — log_only mode, passes without blocking

blocked / low_confidence_blocked — request rejected

3

Backend Logs

Inspect backend request logs from the API service.

GET https://www.datacrawl.org/api/logs

Minimal Endpoints

MethodPathDescription
POST/apiCreate contract if missing, learn schema on first payload, validate payload
GET/api/logsRead backend request logs

cURL Example

curl -X POST https://www.datacrawl.org/api \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{
    "contract_name": "my-contract",
    "mode": "log_only",
    "payload": {
      "email": "user@example.com",
      "event": "purchase",
      "status": "active",
      "ts": "2026-05-24T17:56:16.807Z"
    }
  }'