Skip to main content

Echo caller's source IP

GET 

/settings/my-ip

Returns the source IP of the current request, canonicalized to the same form the allowlist matcher would use. IPv4-mapped IPv6 (::ffff:203.0.113.10) is flattened to dotted-quad IPv4 (203.0.113.10); native IPv6 is preserved.

Drives the "Use my current IP" affordance in the Developer tab — a caller hits this endpoint, copies the value into the allowlist field, and the value will match the source IP of their outbound /v1/* calls (assuming they're behind the same egress).

May return {"ip": null} when the hosting environment doesn't expose a remote address (rare, but possible under some proxies before middleware fills in X-Forwarded-For).

Responses

Caller's canonicalized source IP