Spotted something off?Report on Discord
guides

Intercept XHR Request

Capture and return the responses of specific fetch() or XHR requests made during a page load using interceptFetchRequest.

Updated May 28, 2025

Use interceptFetchRequest to capture and return the responses of specific fetch() or XHR requests made during a page load.

Command

"interceptFetchRequest" β€” monitor network activity and return specific XHR/fetch responses. URL matching uses .includes(); if more than one request matches the string, all are returned as an array.

Parameters

Parameter Type Required Description
interceptFetchRequest array Yes List of strings to match against outgoing request URLs
url string Yes URL to be loaded and monitored
browserActions array No Browser interactions (e.g., captcha solving) to perform during request

Example

bash15 lines

You will receive an array of JSON responses from all fetch/XHR requests that matched the string(s) provided.

Notes

Great for:

  • Sites that dynamically load content via JavaScript
  • Skipping complex DOM parsing by getting direct API responses
  • Interacting with protected or hidden endpoints

Leverage interceptFetchRequest to unlock rich backend data directly from dynamic web apps.