build_proxy_connection_string
Generates Evomi proxy connection strings with geo targeting, sticky sessions, and expert filters, plus a curl command to verify them. Validates targeting and explains unsupported combos.
Instructions
Build ready-to-use Evomi proxy connection strings with geo targeting, sticky sessions and expert filters encoded into the password, plus a curl command to verify them. This is the tool to use when someone asks for 'a US residential proxy', 'proxies for Berlin', 'a sticky session', or how to configure a proxy in code. Fetches the account's own credentials, so the output CONTAINS THE PROXY PASSWORD. Validates the targeting against the chosen product and explains any unsupported combination instead of returning a string that would fail at connect time. Read-only. SECRET HANDLING: the password inside each connection string is a live credential. Use it to carry out the task — write it into the config, command or code the user asked for — and do not repeat the value back in your reply. Show it only if the user explicitly asks to see it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asn | No | Autonomous system number, e.g. 'AS7922'. | |
| isp | No | ISP, as the 'id' from list_proxy_targeting_options, e.g. 'comcastcable'. It is not the ISP's name in lower case. Not available on Core Residential. | |
| udp | No | Enable UDP support. | |
| city | No | City, as the 'id' from list_proxy_targeting_options, e.g. 'new.york'. | |
| mode | No | Residential pool selection: standard (largest pool), speed (lowest latency), quality (highest success rate, smallest pool). | |
| count | No | How many connection strings to build (1-50). Each gets its own session id when a session is requested. Capped at 50 because every entry embeds a live proxy password; for a larger pool use the Evomi dashboard's generator rather than a conversation. | |
| http3 | No | Allow HTTP/3 to the target. | |
| device | No | Exit device OS. Premium Residential only. | |
| format | No | url = scheme://user:pass@host:port (use this for code), 1 = user:pass@host:port, 2 = host:port:user:pass, 3 = user:pass:host:port. | url |
| region | No | Region/state, as the 'id' from list_proxy_targeting_options, e.g. 'uttar.pradesh'. | |
| adblock | No | Block ads at the proxy. Not available on Core Residential. | |
| product | Yes | rp = Premium Residential, rpc = Core Residential, dcp = Datacenter (Shared), mp = Mobile, static_residential = Static Residential | |
| session | No | Keep the same exit IP across requests. 'sticky' favours success rate and may swap IP; 'hard' keeps one IP for as long as it stays online. Omit for a new IP on every request. | |
| protocol | No | http carries HTTPS traffic fine and is fastest; https encrypts the hop to the proxy (Premium Residential, Mobile, Datacenter only); socks5 carries any TCP traffic. | http |
| zip_code | No | Postal code, e.g. '90210'. Premium Residential and Core Residential only. | |
| continent | No | Continent, lowercase and dot-separated: 'africa', 'asia', 'europe', 'north.america', 'oceania', 'south.america'. | |
| countries | No | Two-letter ISO 3166-1 alpha-2 country codes, e.g. ['US','DE'] (the United Kingdom is 'GB'). Several codes means one is picked at random per connection. City and region targeting accept at most one country, and work without one. | |
| geosource | No | Which geolocation database the geo filters are matched against. Default ipapi. | |
| local_dns | No | Resolve DNS at the exit node rather than at the gateway. | |
| static_ip | No | Static Residential only: which rented IP to exit from. All rented IPs are returned if omitted. | |
| session_id | No | Reuse an existing session identifier (6-10 alphanumeric characters). One is generated and reported back if omitted. | |
| gateway_host | No | Static Residential only: override the gateway hostname. Gateways are assigned per account and the API does not report which one, so pass the host shown next to the IPs in the dashboard if the default does not work. | |
| extended_pool | No | Use the 4-6x larger extended pool. Disables expert filters. Premium Residential only. | |
| max_fraudscore | No | Maximum fraud score, 0-100. Premium Residential only. | |
| max_latency_ms | No | Only use IPs below this latency in ms. Premium Residential only. | |
| lifetime_minutes | No | How long a sticky session holds its IP, 1-1440 (default 30). Not valid with a hard session. | |
| active_since_minutes | No | Only use IPs online at least this many minutes. Premium Residential only. | |
| runnable_curl_example | No | Put the real password into curl_example so it can be pasted and run. Off by default: curl_example is the field most likely to be copied into a terminal, a ticket or a screenshot, and the password is masked in it. The connection strings themselves always carry the real password either way. |