# IP Geolocation for Serverless Functions

**Published:** March 5, 2021 | **Authors:** Naoyuki Kanezawa, Matheus Fernandes, Luc Leray

---

Requests received by Serverless Functions on [Pro and Enterprise Teams](https://vercel.com/pricing) are now enriched with headers containing information about the geographic location of the visitor:

- `X-Vercel-IP-Country` – The 2-letter country code of the IP sending the request.
- `X-Vercel-IP-Country-Region` – The [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) region code associated to the IP.
- `X-Vercel-IP-City` – The city name associated to the IP.

As an example, a request from Tokyo is now enriched with the following headers:

```text
X-Vercel-IP-Country: JP
X-Vercel-IP-Country-Region: 13
X-Vercel-IP-City: Tokyo
```

This feature is now automatically activated for all new and existing Serverless Functions on [Pro and Enterprise Teams](https://vercel.com/pricing) — no code or configuration change needed.

Check out [the documentation](http://vercel.com/docs/edge-network/headers#request-headers) as well.

---

📚 **More updates:** [View all changelog entries](/changelog/sitemap.md) | [Blog](/blog/sitemap.md)