Skip to content

Configure the Proxy API ​

Proxy API is intended for providers that return an available proxy address through a fetch URL. When saving, the desktop client requests the URL and extracts IPv4:port from the text response. The URL must therefore be reachable and return a valid IPv4 address and port. The fetched proxy can use either a provider IP allowlist or username and password authentication.

Add a Proxy API ​

On the Proxy API page, click Add Proxy, enter the name, protocol, fetch policy, authentication type, and URL, then click Check URL. ZYBrowser fetches the current IP and port again when saving.

FieldDescription
NameRequired; identifies the fetch URL
Proxy protocolHTTP, HTTPS, or SOCKS5
IP lookup serviceCurrently supports ip2location
IP protocolCurrently supports IPv4 only
Fetch policyFetch a new IP every time the profile opens or Fetch again only when the previous IP is no longer valid
Authentication TypeWhitelist is the default; select Credentials when the provider requires proxy credentials
API URLMust begin with http:// or https:// and return text containing IPv4:port
AccountDisplayed and required only for Credentials; used to connect to the fetched proxy
PasswordDisplayed and required only for Credentials; used to connect to the fetched proxy
Assigned profilesSelect existing profiles while saving
NotesStore nonsensitive information only; never paste a key or token from the URL
Add a credential-authenticated Proxy API
Add a credential-authenticated Proxy API
No.FeatureDescription
1NameRequired; preferably identifies the provider or use case
2Proxy protocolMust match the protocol of the fetched proxy
3IP lookup serviceCurrently uses ip2location
4IP protocolCurrently supports IPv4 only
5Fetch policyControls when the client requests the URL while launching an assigned profile
6Authentication TypeSelects provider allowlist or credential authentication
7API URLAccepts only a valid HTTP or HTTPS URL
8Check URLConfirms that the URL returns a parseable IPv4:port
9AccountRequired for credential authentication and used exactly as entered
10PasswordRequired for credential authentication; use the field icon to reveal it temporarily
11Assigned profilesAssigns the API proxy directly to existing profiles
12NotesDescribes its purpose without exposing the URL or proxy credentials

Check URL and IP fetching require the desktop client. The web app cannot perform the local check. Check URL confirms only that the URL returns a proxy address; it does not validate the allowlist or credentials for that address. Save the Proxy API, then use Test Proxy to test the actual connection.

Choose an Authentication Type ​

Authentication typeUse whenConnection behavior
WhitelistThe provider has allowlisted the current device's network egress IPThe client connects directly to the fetched address without sending a proxy account or password
CredentialsThe provider supplies an account and password for its proxy nodesZYBrowser uses the account and password to connect to the fetched address when testing the proxy and launching a profile

Whitelist is the default. Existing Proxy API records that do not contain an authentication type also use this mode. With Credentials, both fields must contain a non-whitespace value and are used exactly as entered. Switching back to Whitelist clears the saved account and password.

These credentials authenticate the connection to the fetched proxy address; they are not used to request the API URL. If the URL itself requires a token or signature, continue to include it as required by the provider and protect the complete URL.

Understand Fetch Policies ​

Fetch policySuitable provider behaviorResult
Fetch a new IP every time the profile opensEach request should return a new egress IPRequests the API URL whenever an assigned profile launches
Fetch again only when the previous IP is no longer validReuse the current IP whenever possibleTests the saved IP first and requests a new one only after it becomes unavailable

Confirm the provider's rotation rules and rate limits before choosing a policy. Do not use frequent fetching against a rate-limited endpoint.

Proxy IP Lifetime

Proxy APIs generally provide rotating proxies, and each IP has a limited lifetime. If the active proxy expires while a profile is running, ZYBrowser does not automatically fetch a replacement. Restart the profile so the client can update the IP according to the configured policy. Confirm the provider's IP lifetime and plan profile usage and restart times accordingly.

Do not use a rotating proxy if your workflow requires an immutable proxy.

Test and Update the IP ​

When you click Test Proxy in the list, the client tests the saved IP and port with the selected authentication type. If they work, it updates only the test status. If they fail, it requests the API URL, parses a new IPv4:port, retains the authentication type, saves the endpoint, and tests again.

If the URL does not return a parseable address, the list reports a fetch failure. Confirm that the URL is complete, whether the provider requires an IP allowlist, whether the response is plain text, and whether the port is between 1 and 65535.

Maintain Records ​

Filter Proxy API records by ID, name, notes, or protocol. Edit the name, notes, or protocol directly in the list. Use the full edit form to change the URL, fetch policy, authentication type, account, password, or assigned profiles. Before deleting, confirm that no profile still relies on the proxy.

Next Steps ​