
Requests received by Serverless Functions on Pro and Enterprise Teams 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 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:
X-Vercel-IP-Country: JPX-Vercel-IP-Country-Region: 13X-Vercel-IP-City: TokyoThis feature is now automatically activated for all new and existing Serverless Functions on Pro and Enterprise Teams — no code or configuration change needed.
Check out the documentation as well.
Reference Architecture
Choose a stack and work through the decisions behind it, with curated documentation, guides, templates, and courses to help you build.
- Agent stack: Build and operate agents with models, tools, and durable workflows.
- Web applications: Choose rendering, data, authentication, and caching approaches.
- Backends: Choose a runtime, connect services, and run background work.
Build with prompts
Build an app, extend an agent, or improve your project with ready-to-use prompts for your coding agent.