> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter-d02e98a0-mintlify-7021d5f4.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# UserLocation - Go SDK

> UserLocation type definition

<Warning>
  The Go SDK and docs are currently in beta.
  Report issues on [GitHub](https://github.com/OpenRouterTeam/go-sdk/issues).
</Warning>

Approximate user location for location-biased search results. Passed through to native providers that support it (e.g. Anthropic).

## Fields

| Field      | Type                                                                                       | Required             | Description |
| ---------- | ------------------------------------------------------------------------------------------ | -------------------- | ----------- |
| `City`     | optionalnullable.OptionalNullable\[`string`]                                               | :heavy\_minus\_sign: | N/A         |
| `Country`  | optionalnullable.OptionalNullable\[`string`]                                               | :heavy\_minus\_sign: | N/A         |
| `Region`   | optionalnullable.OptionalNullable\[`string`]                                               | :heavy\_minus\_sign: | N/A         |
| `Timezone` | optionalnullable.OptionalNullable\[`string`]                                               | :heavy\_minus\_sign: | N/A         |
| `Type`     | [components.WebSearchPluginType](/client-sdks/go/api-reference/models/websearchplugintype) | :heavy\_check\_mark: | N/A         |
