Generate headers
Generate request headers for one protected API call.
session_id to generate a follow-up header set from cached challenge state.
If the target page is a Shape interstitial, Evade discovers its embedded
one-time challenge automatically; omit shape_js_url and supply the browser
session’s current cookies.
"one_time": true instead of a session_id.
Replay them once as the same method and URL used in target_url.Body
- Fresh solve request
- Session continuation request
Complete context required to start a reusable solve or solve a one-time interstitial.
Task discriminator. Must be shape.
"shape"Absolute proxy URL used for challenge generation and replay. Supported
schemes are http, https, socks4, and socks5.
"http://username:password@proxy.example:8080"
Absolute URL of the protected page that loads the challenge.
Absolute destination URL of the protected API request.
Exact browser user agent used for fingerprint selection, challenge execution, and replay. It must have a complete stored Evade fingerprint.
1Absolute URL of the Shape loader JavaScript. Optional when
target_url returns an embedded Shape interstitial; required when
the page has no embedded challenge.
HTTP method of the protected destination request.
GET, POST Optional absolute referrer URL used while loading the page.
Optional page title. Evade extracts it from the target page when omitted.
Optional current browser cookies installed before the target page is fetched. Interstitials that require authentication need these values. Cookies are accepted only on a fresh solve and are scoped to target_url.
Include session, challenge, generation, and timing diagnostics.
Response
Headers generated successfully.
Complete header set to apply to the protected request.
Exact browser user agent to use for the protected request.
Short-lived session ID for follow-up solves. Omitted for one-time interstitial challenges.
^[A-Za-z0-9_-]{32}$True when the embedded challenge and returned headers can be replayed only once. Such responses have no session_id.
Whether cached session state generated this result. Returned only in debug mode when true.
Resolved Shape loader URL. Returned only in debug mode.
Resolved Shape VM URL. Returned only in debug mode.
Header generation strategy. Returned only in debug mode.
Solve timing diagnostics. Returned only in debug mode.