HTTP API Call (browser session)
gv_api_callMake HTTP requests using the active Google account's browser session to bypass cookie-based auth and TLS fingerprinting, enabling direct API access without page navigation.
Instructions
Make an HTTP request using the active account's browser session.
Uses the browser's cookies + TLS fingerprint, so the request looks identical to one made by the page itself. Bypasses cookie-based auth and TLS fingerprinting. Faster than navigating a page when you just need data from an API endpoint.
Args: method: HTTP method — GET, POST, PUT, PATCH, DELETE. url: The absolute URL to request. headers: Optional dict of HTTP headers (e.g. {"Authorization": "Bearer ..."}). body: Optional request body. Dict/list → JSON-encoded automatically; string → sent as-is. use_session: If True (default), the browser's cookies + TLS are used. Set False to send a "clean" request (no cookies). timeout_ms: Request timeout in ms (default 30000).
Returns {status, status_text, headers, body, url}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| body | No | ||
| method | Yes | ||
| headers | No | ||
| timeout_ms | No | ||
| use_session | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |