Skip to main content


Learn about the different environments available, and tips to reduce latency by choosing the best base URL for your integration.

UID2 Testing and Production Environments

The following table lists all current testing and production environments for UID2.

EnvironmentCloud RegionCodeBase URL
Integration TestingAWS US East (Ohio)us-east-2
ProductionAutomatically optimized region routing via the AWS Global Acceleratorn/a
ProductionAWS US East (Ohio)us-east-2
ProductionAWS US West (Oregon)us-west-2
ProductionAWS Asia Pacific (Sydney)ap-southeast-2
ProductionAWS Asia Pacific (Tokyo)ap-northeast-1
ProductionAWS Asia Pacific (Singapore)ap-southeast-1

For example,


  • All UID2 endpoints use the same base URL.
  • The integration environment and the production environment require different API keys.
  • The expiration time of the UID2 token returned by the POST /token/generate or POST /token/refresh endpoints is subject to change, but is always significantly shorter in the integration environment than it is in the production environment.

Specifying the Base URL to Reduce Latency

The latency of API calls depends on the proximity of the client to the UID2 servers. To reduce the latency, especially when making API calls from consumer devices, you might consider choosing a server closer to your users.

For example, a publisher in Singapore can set the base URL to This is still the UID2 production environment, but the servers are in Singapore.

By explicitly setting the base URL, you can direct all requests to be processed within a particular country or region.

You might also consider leveraging the AWS global accelerator, which automatically directs requests to the UID2 servers closest to the caller. This option is also great for ensuring higher availability, in case servers in one region are temporarily down.


By default, some implementation options make API calls to a UID2 production environment server in the USA. To verify the default value, and for instructions on how to update the setting, check the documentation for your integration.