AnvilJSON utilities

Anvil › Changelog

What's new in Anvil

Every new endpoint and user-visible fix, newest first. Everything stays under /v1: fields get added, never renamed or removed.

Follow along in a feed reader: Atom feed. Current version: 1.24.0.

  1. v1.24.0 Broadband speed maths (/v1/broadband-need)

    /v1/broadband-need adds up what a household does at its busiest moment (4K and HD streams, video calls, games, live streaming, cloud cameras, browsing), adds headroom for Wi-Fi and busy evenings, suggests a comfortable plan and upload tier, says whether your plan is Plenty, Tight at busy times or Not enough in each direction, and times big downloads. Same model as the Tooltern broadband speed calculator.

    /v1/broadband-need docs

  1. v1.23.0 Input lag maths (/v1/input-lag)

    /v1/input-lag estimates how long it takes from pressing a button to seeing it on screen for a controller connection, polling rate, frame rate, V-Sync or low-latency setting, refresh rate and TV or monitor: six parts, typical, luckiest and unluckiest totals, a verdict and the biggest fixes ranked by milliseconds saved. mode=compare puts two setups side by side.

    /v1/input-lag docs

  2. v1.22.0 Video file size maths (/v1/video-size)

    /v1/video-size works out how big a video is from a recording setting (720p to 4K, H.264 or HEVC, slow motion, screen recordings) or a custom bitrate, how many minutes fit in free space, and the bitrate, resolution and two-pass ffmpeg commands that land a clip under a size limit, with FAT32 and GiB checks.

    /v1/video-size docs

  1. v1.21.0 Streaming data maths (/v1/stream-data)

    /v1/stream-data turns streaming habits into GB: typical GB per hour for video from 240p to 4K, feeds, calls, music and cloud gaming, a monthly allowance planner that says whether it lasts, the run-out day, a safe daily budget and the one quality change that saves most (with a mid-month mode), plus film size and hours from an allowance.

    /v1/stream-data docs

  2. v1.20.0 Power bank maths (/v1/battery)

    /v1/battery says how many real charges a power bank gives once mAh are converted to Wh and conversion losses are counted, plus the bank size for N charges, the airline 100 Wh / 160 Wh rule and refill time. mode=plan checks a whole list of gadgets against one bank, in list order or shared evenly, and says which one it runs out on.

    /v1/battery docs

  1. v1.19.0 Data rates on /v1/units (Mbps to MB/s)

    /v1/units gains category=rate: bps, kbps, Mbps and Gbps (bits) plus B/s, KB/s, MB/s, GB/s and the binary KiB/s, MiB/s and GiB/s (bytes). Compact spellings keep the b-versus-B meaning, so Mbps is megabits and MBps is megabytes. Existing length, mass, temperature and data-size conversions are unchanged.

    /v1/units docs

  1. v1.18.0 Canadian statutory holiday sets

    Pass set=statutory on /v1/holidays, the calendar feed and working-day maths to get each Canadian province or territory's employment-standards paid holidays (Ontario's nine ESA days, Quebec's eight, Nova Scotia's six, and so on) instead of the federal list plus extras. The default set=observed is unchanged, except Yukon now correctly uses Discovery Day (third Monday in August) and the territories include National Indigenous Peoples Day and Nunavut Day.

    /v1/holidays docs /v1/holidays.ics docs /v1/workdays docs

  2. fix Australia Day on a weekend moves to Monday

    When 26 January falls on a Saturday or Sunday, only the following Monday is now returned as the public holiday (for example Monday 28 January 2030), flagged substitute=true. The weekend date is no longer listed as a holiday in any Australian state or territory.

    /v1/holidays docs

  3. fix Honest dates on every docs page

    Each docs page now shows when it was first published and when its content last changed, and the sitemap uses those dates instead of the build date.

  1. fix Australian additional days skip days already taken

    When Christmas falls on a Saturday and Boxing Day on a Sunday, the additional days are now Monday 27 and Tuesday 28 December, as the states publish them.

    /v1/holidays docs

  2. v1.17.0 Canada, Australia and New Zealand holidays

    Public holidays for Canadian provinces, Australian states and territories, and New Zealand, on /v1/holidays, the .ics calendar feed and working-day maths.

    /v1/holidays docs /v1/holidays.ics docs

  3. v1.16.0 Countdown endpoint

    /v1/countdown says how long until a date: days, sleeps, weekdays and weekend days, progress through the wait, and named events.

    /v1/countdown docs

  4. v1.15.0 German Bundesland holidays

    All sixteen German states (de-bw to de-th) on /v1/holidays, the calendar feed and working-day counts.

    /v1/holidays docs

  5. v1.14.0 Germany, France and the Netherlands

    National public holidays for three more countries, including Easter-based dates.

    /v1/holidays docs

  6. v1.13.0 HTTP status codes by path

    /v1/http-status/404 now works as well as ?code=404, and answers include the reason phrase, category and related codes.

    /v1/http-status docs

  7. v1.12.0 Bank holiday calendar feed

    /v1/holidays.ics is a subscribable calendar of public holidays for any supported region.

    /v1/holidays.ics docs

  8. v1.11.0 QR codes as SVG

    /v1/qr.svg draws a QR code as an SVG you can use directly as an image, with a JSON twin at /v1/qr.

    /v1/qr.svg docs /v1/qr docs

  9. v1.10.0 Placeholder text

    /v1/lorem returns lorem ipsum paragraphs, sentences or words, optionally wrapped in HTML, with a seed for repeatable output.

    /v1/lorem docs

  1. v1.9.0 Percentage calculator

    /v1/percent works out a percentage of a number, what percent one number is of another, percentage change, applying a percentage, and reversing one.

    /v1/percent docs

  2. v1.8.0 Unit converter

    /v1/units converts length, mass, temperature and data-size units.

    /v1/units docs

  3. v1.7.0 Date differences

    /v1/date/diff does age, duration and ISO week maths between two dates.

    /v1/date/diff docs

  1. v1.6.0 Cron explainer

    /v1/cron/explain turns a cron schedule into plain English and lists its next runs.

    /v1/cron/explain docs

  2. v1.5.0 Unicode text X-ray

    /v1/text/inspect shows code points, graphemes, UTF-8 and UTF-16 lengths and invisible characters in a piece of text.

    /v1/text/inspect docs

  3. v1.4.0 Clickjacking header check

    /v1/frame/check reads clickjacking headers and says who may embed a page in a frame.

    /v1/frame/check docs

  4. v1.3.0 Content-Security-Policy checker

    /v1/csp/parse grades a Content-Security-Policy header and checks what it blocks.

    /v1/csp/parse docs

  5. v1.2.0 Set-Cookie checker

    /v1/cookie/parse explains a Set-Cookie header: will the browser accept this cookie, and if not, why not?

    /v1/cookie/parse docs

  6. v1.1.0 Link X-ray

    /v1/url/inspect shows who really owns a link and its warning signs, using the Public Suffix List.

    /v1/url/inspect docs

  1. fix HTTP status code lookup

    /v1/http-status explains any HTTP status code: meaning, causes, fixes and retry advice.

    /v1/http-status docs

  1. v1.0.0 Anvil launches

    A free, keyless JSON API for UUIDs, ULIDs, nano IDs, passwords, random numbers, time zones, cron schedules, UK bank holidays, working days, hashes, slugs and colour contrast, with live docs and an OpenAPI 3.1 spec.

All docs · OpenAPI 3.1 spec · Limits and privacy