# End-of-Life Date Checker API

> Release, support and end-of-life dates of 480+ products (PHP, Node.js, Ubuntu, MySQL, Windows…), batch checks from headers and an .ics calendar.

- Endpoint: `GET | POST https://apibox.io.vn/v1/eol-check`
- Category: Developer utilities
- HTML docs: https://apibox.io.vn/docs/eol-check/ (Vietnamese: https://apibox.io.vn/vi/docs/eol-check/)
- Online tool: https://apibox.io.vn/tools/eol-check/
- Authentication: `Authorization: Bearer <API key>` or `X-API-Key: <API key>` (free key: https://apibox.io.vn/dashboard/#signup)

Running software past its end of life means no more security fixes. Give a product and a version (`product=php&version=7.4.33`, `q=Ubuntu 20.04`, `product=windows server&version=2016`) and get its release cycle, release date, end of active support, end of life (end of security support), extended / commercial support where it exists, whether it is LTS, the latest patch release, whether your version is up to date and the number of days left. Without a version you get every cycle and the list still supported. Product names are matched with aliases (`node`, `postgres`, `k8s`, `mssql`, `.net`…) and versions with the longest matching cycle (`7.4.33` → `7.4`, `18.19.0` → `18`, codenames such as `bookworm`).

Batch mode (`items` array, or `text` with one item per line) understands `nginx/1.18.0`, `PHP 8.1`, `node@18` and raw `Server:` / `X-Powered-By:` header lines, so you can feed it the output of the tech-detect or http-headers endpoints and flag everything that is out of support; the summary counts end_of_life, security_only, supported and unknown items. `format=ics` returns an iCalendar file with the upcoming milestones to subscribe to. Statuses are recomputed from the dates at request time (`date=` to check another day, `warn_days` for the "EOL soon" flag, default 180).

Data: endoflife.date (MIT licence), about 490 products and 9,400 release cycles, refreshed weekly. Dates are the vendors' published policies; some vendors sell longer paid support that is not always listed.

## Parameters

| Name | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
| `product` | query | string | no |  | Product name, id or alias (`php`, `nodejs`, `ubuntu`, `windows-server`…). |
| `version` | query | string | no |  | Version or cycle (`7.4.33`, `20.04`, `bookworm`). Omit to list all cycles. |
| `q` | query | string | no |  | Free text instead of product + version, e.g. `PHP/7.4.33` or `Ubuntu 22.04`. |
| `items` | body | array | no |  | Batch: array of `{product, version}` objects or strings (max 500). |
| `text` | body | string | no |  | Batch: one item per line; HTTP `Server:` / `X-Powered-By:` lines are understood. |
| `action` | query | string | no |  | `products` lists all products (filter with `category`, `search`). |
| `format` | query | string | no | `json` | `json` or `ics` (calendar of upcoming milestones). |
| `date` | query | string | no |  | Check the status at this date (YYYY-MM-DD). Default today. |
| `warn_days` | query | number | no | `180` | Days before EOL that set `eol_soon`. |

## Example request

```bash
curl "https://apibox.io.vn/v1/eol-check?product=php&version=7.4.33" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

## Example response

```json
{
  "source": "endoflife.date (https://endoflife.date), MIT licence",
  "data_generated_at": "2026-11-14T22:22:52+00:00",
  "as_of": "2026-11-15",
  "product": "php",
  "name": "PHP",
  "category": "lang",
  "aliases": [],
  "purl": [
    "pkg:deb/ubuntu/php",
    "pkg:deb/debian/php",
    "pkg:generic/php",
    "pkg:generic/php-cli",
    "pkg:generic/php-fpm"
  ],
  "cpe": [
    "cpe:2.3:a:php:php",
    "cpe:/a:php:php"
  ],
  "version_command": "php --version",
  "labels": {
    "eoas": "Active Support",
    "discontinued": null,
    "eol": "Security Support",
    "eoes": null
  },
  "release_policy": "https://www.php.net/supported-versions.php",
  "url": "https://endoflife.date/php",
  "cycle": "7.4",
  "label": "7.4",
  "release_date": "2019-11-28",
  "lts": false,
  "status": "end_of_life",
  "maintained": false,
  "eol_soon": false,
  "active_support_until": "2021-11-28",
  "eol": "2022-11-28",
  "days_to_eol": -1448,
  "latest": "7.4.33",
  "latest_date": "2022-11-03",
  "version": "7.4.33",
  "up_to_date": true,
  "newest_cycle": "8.5",
  "newest_latest": "8.5.12"
}
```

## Use cases

- Find every server in an audit still running PHP 7 or an unsupported Ubuntu
- Flag outdated stacks from Server / X-Powered-By headers of client websites
- Add an end-of-support check to CI for your runtime and database versions
- Subscribe a team calendar to the EOL dates of the products you run

## FAQ

### What is the difference between end of active support and end of life?

After active support ends a version usually only gets security fixes; at end of life (end of security support) it gets nothing. Some products also have paid extended support, shown as extended_support_until.

### Where do the dates come from?

From endoflife.date, a community project (MIT licence) that collects the vendors' official release policies. APIBox refreshes it weekly and recomputes the status for today.

### My product is not found.

Try the product id from action=products (e.g. apache-http-server, mssqlserver) or a common alias. The error lists close matches.
