Docs

Type a word or a question. Esc closes the search.

Sign in Start free
Developers/Basics

The addresses checks come from.

If a firewall or WAF in front of your service blocks unknown clients, allow the addresses on this list. GET /v1/ips needs no key and always returns the current list.

Formats

The default is plain text with one IPv4 address per line, for active and reserve addresses, sorted by region and then by address. There are no comments, so a script can feed the output straight into a firewall.

curl https://app.upfour.io/v1/ips

JSON adds region, status and dates, and also lists addresses removed in the last 30 days. Ask for it with the Accept header or with ?format=json.

curl -H 'Accept: application/json' https://app.upfour.io/v1/ips
curl 'https://app.upfour.io/v1/ips?format=json'
{
  "data": [
    { "ip": "203.0.113.10", "region": "eu", "status": "active", "listed_at": "2026-10-01T09:00:00Z", "removed_at": null, "provider": "upcloud", "zone": "de-fra1" },
    { "ip": "203.0.113.11", "region": "eu", "status": "reserve", "listed_at": "2026-11-05T12:00:00Z", "removed_at": null, "provider": "upcloud", "zone": "de-fra1" },
    { "ip": "203.0.113.9", "region": "eu", "status": "removed", "listed_at": "2026-08-01T09:00:00Z", "removed_at": "2026-11-02T08:30:00Z", "provider": "upcloud", "zone": "de-fra1" }
  ]
}

This response is not wrapped in the usual pagination object and is not paged: the whole list is returned.

Fields

FieldTypeMeaning
ipstringThe IPv4 address, canonical form.
regionstringThe check location the address belongs to, for example eu.
statusstringactive, reserve or removed. See below.
listed_atstringRFC 3339 time the address was added to the list.
removed_atstring or nullRFC 3339 time the address was removed. null unless status is removed.
providerstringThe hosting provider of the checker, empty if not known.
zonestringThe provider zone, empty if not known.

Status

StatusMeaning
activeA checker sends checks from this address. Allow it.
reservePublished ahead of use so a new checker under load can start at once. Allow it; no checks come from it yet.
removedNo longer used. Kept in the JSON for 30 days so you can see what changed, then dropped. Not in the text list.

What upfour guarantees

  • An address is on the list before its first check. A checker only receives jobs once its address has been listed for at least 90 seconds.
  • There is no fixed lead time. A new address can appear and start checking within minutes; refresh the list at least every few minutes and do not rely on a notice period.
  • Reserve addresses are published ahead of use. Allowing them costs nothing and means a new checker is never blocked.
  • A removed address stays in the JSON for 30 days with its removal date.

Caching

The response carries Cache-Control: public, max-age=60 and a strong ETag. Send it back as If-None-Match and an unchanged list answers 304 without a body. Vary: Accept is set because text and JSON share one URL. Polling once a minute is enough.

The endpoint needs no authentication, answers HEAD, and allows cross-origin reads from any website (Access-Control-Allow-Origin: *).

Errors

If upfour cannot read the list, the answer is 503 with a Retry-After header and an error object, never an empty list. Treat any status other than 200 and 304 as "keep the current allowlist". See Errors for the object.

Automate your allowlist

Fetch the list, refuse to apply anything that is not a 200 with at least one address, and only then replace the rules.

#!/bin/sh
set -eu
tmp=$(mktemp)
code=$(curl -s -o "$tmp" -w '%{http_code}' https://app.upfour.io/v1/ips)
[ "$code" = "200" ] && [ -s "$tmp" ] || { echo "keeping current allowlist (HTTP $code)" >&2; exit 1; }
grep -Eq '^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$' "$tmp" || exit 1
# replace your firewall set with the lines of "$tmp"

The older https://upfour.io/ips.txt keeps working without following a redirect. Point new automation at https://app.upfour.io/v1/ips.