DataFresh

Is this dataset or API still fresh? Newest record, update cadence check and schema drift.

Public http(s) JSON or CSV, max 2 MiB.

More options

Leave empty to detect (updated_at, date, …). Nested: parent.child

hours

24 = daily, 168 = weekly, 720 ≈ monthly, 8760 = yearly.

Stores only a hash of the URL plus the field list.

Try an example: ·

More about this tool

Part of RavingDesk Developer & data tools

How it works

Point DataFresh at a public JSON or CSV endpoint (or paste the content). It finds the records, infers a schema with a stable fingerprint, finds the newest timestamp, compares its age with the update cadence you expect, and reports schema changes since the last check – as one of: healthy, stale, schema_changed, unavailable, no_timestamp.

  • Records: a JSON root array, or the largest array of objects within 3 levels; CSV uses the first row as header (comma or semicolon).
  • Schema: every field (one nesting level flattened as parent.child) with its observed value types and presence ratio; the fingerprint is the first 16 hex chars of SHA-256 over sorted "field:types" lines.
  • Timestamp: the field you name, otherwise the first field named like updated/modified/timestamp/date/time/year where ≥ 80% of values parse as dates (ISO 8601, epoch s/ms, YYYY, YYYY-Qn, DD.MM.YYYY). Years count as 31 Dec, quarters as their last day.
  • Freshness: age = now − newest timestamp. healthy if age ≤ 1.5 × expected interval, otherwise stale. Without a timestamp field the HTTP Last-Modified header is used if present.
  • Drift: compared with the previous schema you paste or, with "remember", the schema stored for the same URL (key = SHA-256 of the URL). Any added/removed field or type change → schema_changed (takes precedence over healthy, not over unavailable).

Use this tool in an app

These free programs for your browser have this tool built in, next to everything else the task needs.

  • RavingDesk Paper trading & data workspace

    Practise trading on paper and chart your data: orders, risk, datasets, analyses, reports.

    Open RavingDesk

Related tools

  • HeaderLens – Is a website down? Multi-region status, redirects, TLS and security headers.
  • CiteShape – Paste a DOI, ORCID iD, ISBN or arXiv ID: validated, resolved, and formatted as APA, BibTeX and RIS.

How to use DataFresh

Check whether a JSON or CSV dataset or API is still being updated on schedule, and detect schema drift such as removed fields or changed types.

What it is for

Dashboards, reports and data pipelines often break quietly. An upstream feed stops updating, or someone renames a column, and the chart keeps showing last month's numbers. DataFresh is a quick health check for a public JSON or CSV source. Give it a URL (or paste the content) and the update interval you expect. It finds the records, works out the newest timestamp, compares its age with your interval, and fingerprints the schema so you can spot changes.

The verdict is one of five statuses: healthy, stale, schema_changed, unavailable or no_timestamp. That makes it easy to use by hand or from a script through the API.

DataFresh judges freshness from the data itself, using the newest record (or the HTTP Last-Modified header if there's no timestamp field). A file that's regenerated every night with old contents still counts as stale. It doesn't check whether the values are correct. It only checks whether they're recent and shaped as before.

Worked example

Stale daily feed (checked on 25 October 2026): a pasted JSON object with meta and an items array of two records, updated at 2026-10-01 and 2026-10-03, expected interval 24 h.

  • Records found at $.items, timestamp field detected automatically: updated_at.
  • Newest record: 2026-10-03T06:00Z, 534 hours (22 days) old.
  • Status: stale, since 534 h is far above 1.5 × 24 h = 36 h.
  • Schema: id number, updated_at datetime, value number. Fingerprint 13b0771d6cac49a1.

Yearly CSV with schema change: country;year;value with rows for 2024 and 2025, expected interval 8,760 h (one year), and a previous schema that also contained a unit column.

  • Timestamp field year. The year 2025 counts as 31 December 2025, which is 7,164 hours (299 days) old. That's within the yearly cadence.
  • Status: schema_changed. Drift shows removed: unit, with nothing added and no type changes. The fingerprint changed from 7d489e74234f9a2c to 7be4013fcde7ef25.

A schema change takes precedence over "healthy". The data is recent, but anything that reads unit will now break.

How to read the result

  • status: the one-word verdict to act on.
  • newestRecordAt and ageHours: how old the newest data is.
  • recordPath: where in the JSON the records were found, such as $.items.
  • timestampField: the field used for freshness. Make sure it's the one you meant.
  • schema: each field with its observed types and presence ratio (1 = in every record).
  • schemaFingerprint: a short hash of the field list and types. Store it and compare it next time.
  • drift: added, removed and type-changed fields compared with the previous schema.

Tips and common mistakes

  • Set the expected interval to what the publisher promises: 24 for daily, 168 weekly, 720 roughly monthly, 8,760 yearly. The 1.5× grace factor already covers small delays.
  • If detection picks the wrong date column (say created_at instead of updated_at), name the field explicitly. Use parent.child for nested fields.
  • Yearly statistics use 31 December as the reference date, so a "2025" dataset only starts ageing from the end of that year.
  • To track drift across checks, either paste the previous schema JSON or leave remember on. For URLs, only a hash of the URL and the field list are stored.
  • Large APIs may return paged results. DataFresh only sees the page you give it, so point it at the page containing the newest records.

FAQ

What's the difference between "stale" and "no_timestamp"?

Stale means a timestamp was found and it's too old. No_timestamp means DataFresh couldn't find a date field where at least 80% of values parse as dates, and there was no Last-Modified header to fall back on.

Which date formats are recognised?

ISO 8601, Unix epoch in seconds or milliseconds, plain years (YYYY), quarters (YYYY-Qn, counted as the quarter's last day) and DD.MM.YYYY.

Can I monitor a dataset automatically?

Call the JSON API on a schedule, for example from cron or CI, with remember enabled, and alert when the status isn't "healthy".

Guide last updated:

For scripts and AI agents

  • JSON API: POST https://datafresh.usefulweb.site/api/v1/calculate (same calculation as this page)
  • Interface description: OpenAPI 3.1 · AI guide: llms.txt
  • MCP server (Streamable HTTP): https://datafresh.usefulweb.site/mcp · tool name datafresh
Example request
curl -s -X POST https://datafresh.usefulweb.site/api/v1/calculate \
  -H 'content-type: application/json' \
  -d '{"content":"{\"meta\":{\"source\":\"example\"},\"items\":[{\"id\":1,\"value\":3.2,\"updated_at\":\"2026-10-01T06:00:00Z\"},{\"id\":2,\"value\":4.1,\"updated_at\":\"2026-10-03T06:00:00Z\"}]}","expectedCadenceHours":24}'
Feedback · ideas & bug reports welcome