---
title: "GeoIP lookup"
method: GET
path: "/api/geoip"
tags: ["geoip"]
---

# GeoIP lookup

`GET /api/geoip`

Server-side proxy for ipapi.co's IP geolocation lookup, used by the Timezone/GeoLocation "Lookup"/"Detect" buttons on settings.php. ipapi.co does not send Access-Control-Allow-Origin, so the browser can't call it directly from FPP's UI (blocked by the Same Origin Policy) - PHP isn't subject to that, so we fetch it here and hand back the same JSON.

## Response `200`

ipapi.co's JSON response, passed through unmodified

- object

## Other responses

- `502` — Lookup failed

## Changes

- **2026-07-28** `09e446cb7926` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/falconchristmas/apis/fpp-api/changes/api/geoip/get.md)

---

[API](https://skmtc.dev/falconchristmas/apis/fpp-api.md) · [All operations](https://skmtc.dev/falconchristmas/apis/fpp-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/falconchristmas/fpp-api/revisions/2d744b175449/schema)
