Skip to main content

ProxyInfo

Provides information about a proxy connection that is used for requests.

Index

Properties

country_code

country_code: str | None

If set and relevant proxies are available in your Apify account, all proxied requests will use IP addresses that are geolocated to the specified country. For example GB for IPs from Great Britain. Note that online services often have their own rules for handling geolocation and thus the country selection is a best attempt at geolocation, rather than a guaranteed hit. This parameter is optional, by default, each proxied request is assigned an IP address from a random country. The country code needs to be a two letter ISO country code. See the full list of available country codes. This parameter is optional, by default, the proxy uses all available proxy servers from all countries.

groups

groups: list[str]

An array of proxy groups to be used by the Apify Proxy. If not provided, the proxy will select the groups automatically.

Page Options