Dynamic SVG countdown badge

target is a tracked event slug (e.g. christmas) or an ISO date. Optional label (max 40 chars, word characters and basic punctuation). Counted in UTC; cache expires at the next UTC midnight. Invalid input returns a deterministic 400 SVG.

get/badge/days-until/{target}.svg

Request

  • Base URL: https://tilwhen.com
  • URL: https://tilwhen.com/badge/days-until/{target}.svg
  • Auth: none declared

Path parameters

targetstring required

Query parameters

labelstring

Response

image/svg+xml badge

Changes

No recorded changes to this operation across all 1 revision of this API.