Skip to content
Menu
Structure · Datasets · POST /v2/datasets

A dataset from one sentence — every cell with its source

Describe the table you need — "Hungarian county seats: name, county, population" — and get rows built from the live web. Every cell carries its source URL and the verbatim quote that proves it; a cell counts as verified only if that quote really is on the page. Refresh it on a schedule: only changed cells are rewritten.

Endpoint
POST /v2/datasets
Mode
Asynchronous (a background run; poll the status or the rows)
Credits
page and LLM credits of the run, capped per dataset
Also
GET /v2/datasets/{id}/rows · /export?format=csv|xlsx|ndjson · /populate · /stop · MCP tool engine_dataset · python -m echolot_engine.datasets_cli

What it's for

Market and competitor lists

Companies, products or prices of a sector, each value linked to the page it came from.

Public registers made usable

Institutions, officials or projects collected from many official pages into one table.

Research tables you can audit

Every number with a quote and a URL — check any cell in one click instead of trusting a model.

How it works

  1. Sentence to schema

    Your sentence becomes columns with types and a primary key (or pass your own columns).

  2. Find the entities

    Search finds the candidate rows; parallel collectors read the pages, each entity once.

  3. Verify every cell

    A value is verified only if its verbatim quote is found in the fetched page; missing or unverified cells get a targeted second pass from other sources.

  4. Incremental refresh

    On a schedule (30m to weekly) the dataset is re-checked: unchanged cells are left alone, changes are logged per cell, new entities are added and vanished ones are marked.

Request parameters

Full docs →
FieldType DefaultDescription
queryrequiredstring—The dataset in one sentence.
rowLimitrequiredinteger—Maximum rows (up to 2500).
populatebooleanfalseStart building the rows at once; without it only the schema is created (then call /populate).
schedulestring"manual"manual, 30m, 6h, 12h, daily or weekly.
columnsarray—Your own columns: name, type, description.
primaryKeystring—The column that identifies a row.
capsobject—maxEntities, concurrency, maxUsd, maxSeconds, maxCredits.

Unknown fields do not fail the request — they are listed in the response warning, as are values that were clamped to the engine's limits.

Example request

bash
curl -X POST https://crawl.echolotnews.com/v2/datasets \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "Hungarian county seats: name, county, population", "rowLimit": 10, "populate": true}'
# -> {"success": true, "id": "<id>", ...}

# poll until dataset.status is "live" (or "failed"), then read the rows
curl https://crawl.echolotnews.com/v2/datasets/<id> -H "Authorization: Bearer YOUR_API_KEY"
curl "https://crawl.echolotnews.com/v2/datasets/<id>/rows?limit=50" -H "Authorization: Bearer YOUR_API_KEY"
python · requests
import time
import requests

API = "https://crawl.echolotnews.com"
HEADERS = {"Authorization": "Bearer YOUR_API_KEY"}

r = requests.post(f"{API}/v2/datasets", headers=HEADERS, timeout=60, json={
    "query": "Hungarian county seats: name, county, population", "rowLimit": 10,
    "populate": True})
r.raise_for_status()
ds_id = r.json()["id"]

while True:
    st = requests.get(f"{API}/v2/datasets/{ds_id}", headers=HEADERS, timeout=30).json()
    if st["dataset"]["status"] not in ("building", "refreshing"):
        break
    time.sleep(5)
rows = requests.get(f"{API}/v2/datasets/{ds_id}/rows", headers=HEADERS, timeout=30).json()
for row in rows["rows"]:
    print(row["data"])
javascript · fetch
const API = "https://crawl.echolotnews.com";
const headers = { "Authorization": "Bearer YOUR_API_KEY", "Content-Type": "application/json" };

const { id } = await (await fetch(`${API}/v2/datasets`, {
  method: "POST",
  headers,
  body: JSON.stringify({ query: "Hungarian county seats: name, county, population", rowLimit: 10, populate: true }),
})).json();

let st;
do {
  await new Promise((r) => setTimeout(r, 5000));
  st = await (await fetch(`${API}/v2/datasets/${id}`, { headers })).json();
} while (["building", "refreshing"].includes(st.dataset.status));
const rows = await (await fetch(`${API}/v2/datasets/${id}/rows`, { headers })).json();
rows.rows.forEach((r) => console.log(r.data));
mcp
# 1. Connect once (Claude Code)
claude mcp add --transport http echolot https://crawl.echolotnews.com/mcp \
  --header "Authorization: Bearer YOUR_API_KEY"

# 2. Ask in plain words — the agent calls engine_dataset, e.g.
#    "Build a table of the Hungarian county seats with their population"
# Tool call it makes:
{
  "name": "engine_dataset",
  "arguments": {"action": "create", "query": "Hungarian county seats: name, county, population", "row_limit": 10, "populate": true}
}

Example response

json · trimmed
{
  "success": true,
  "columns": ["name", "county", "population"],
  "rows": [
    {
      "id": 1,
      "data": { "name": "Pécs", "county": "Baranya", "population": 139330 },
      "cells": {
        "population": {
          "value": 139330, "verified": true,
          "sourceUrl": "https://en.wikipedia.org/wiki/P%C3%A9cs",
          "evidence": "Population (2023) 139,330"
        }
      }
    }
  ],
  "nextOffset": null
}
WhatCredits
Pages read by the run1 / page
LLM tokens1 / 1,000 tokens
Reading rows, exporting0

Start with 500 free credits

No card required. Every endpoint, REST and MCP.