Analyze Web Page
diffbot.pages.analyzeExtract structured data from any URL by auto-detecting page type (product, article, image, video) using AI. Supports forced modes and fallback extraction.
Instructions
Auto-detect page type (product, article, image, video) and extract structured data from any URL using AI (Diffbot)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Web page URL to auto-detect type and extract structured data | |
| mode | No | Force extraction mode instead of auto-detection | |
| fallback | No | Fallback extraction type if auto-detection fails | |
| timeout | No | Request timeout in milliseconds (5000-30000, default 15000) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. | |
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. |