Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
User Context Parameters

User Context Parameters


Use user context parameters to specify information about the user. You can increase the accuracy of a location result when you specify a user context parameter in your request URL.

When an alias is provided, you can use the alias to shorten the length of the query parameter.

Parameter Alias Description Values



Optional. The geographic region that corresponds to the current viewport.

A rectangular area on the earth defined as a bounding box object. The sides of the rectangles are defined by latitude and longitude values. For more information, see Location and Area Types. When you specify this parameter, the geographical area is taken into account when computing the results of a location query.

Example: 40.879052728414536,-122.51596324145794,49.77062925696373,-105.74403114616871



Optional. The user’s current position.

A point on the earth specified as a latitude and longitude. When you specify this parameter, the user’s location is taken into account and the results returned may be more relevant to the user.

Example: userLocation=51.504360719046616,-0.12600176611298197



Optional. An Internet Protocol version 4 (IPv4) address.

The default address is the IPv4 address of the request. When you specify this parameter, the location associated with the IP address is taken into account in computing the results of a location query.

Example: userIp=

© 2015 Microsoft