Free food shelf-life API

Structured shelf-life data for 3178+ opened foods. No API key, no rate card, CORS enabled. License: CC BY 4.0 — link back to tossorkeep.co.uk wherever the data is shown.

Endpoints

GET /api/v1/items
GET /api/v1/shelf-life/{slug}

Example

curl https://tossorkeep.co.uk/api/v1/shelf-life/hummus
{
  "name": "Hummus",
  "days_after_opening_uk": 2,
  "days_after_opening_us": 5,
  "can_freeze": true,
  "spoilage_signs": { "look": "…", "smell": "…", "texture": "…" }
}

Embeddable widget

Prefer a drop-in card? See the embed generator — one script tag, no API code.

Bulk data

Full dataset as CSV on the dataset page.

Fair use

Cache responses for at least an hour, keep the attribution link, and email [email protected] if you expect heavy volume. Guidance is planning-level: the product label always wins.

Free while it stays attributed. Questions: [email protected]