Skip to main content

1. Store your credentials

Keep the API key and proxy on your backend:
See authentication for scopes and quotas.

2. Start a solve session

The proxy supports http, https, socks4, and socks5. time_zone must be a valid IANA name that matches the proxy exit region. retain_session: true keeps the generated challenge state available for the follow-up request in step 5. Omit it when you need only one protected request.
ua is optional. When omitted, Evade selects a browser identity from its pool and returns it as user_agent. Known page profiles are inferred from target_url.

3. Read the response

network_ms is time spent fetching the page, loader, and challenge. other_ms covers the remaining solve work.

4. Replay the request

Send the application request yourself through the same proxy. Copy every entry from headers, use user_agent unchanged, and preserve the destination method, URL, body, and cookies. Add your application-specific headers without replacing any header returned by Evade.
Do not merge values from multiple solves or reuse a generated header set for a different proxy, URL, method, body, browser identity, or session.

5. Generate follow-up headers

See session reuse before forwarding cookies from a completed application request into a continuation solve.