extract_api_data
Navigate to a URL and capture all API/XHR responses, returning parsed JSON data. Optionally filter by URL pattern and extract specific fields.
Instructions
Navigate to URL and capture all API/XHR responses. Returns parsed JSON data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL to navigate to | |
| tabId | No | Tab ID (optional) | |
| timeout | No | Timeout in ms | |
| apiPattern | No | Filter API calls by URL pattern (e.g., "*api*", "*.json") | * |
| extractFields | No | Specific JSON fields to extract (dot notation: "user.name") | |
| waitForSelector | No | Wait for element before capturing |