About this endpoint
What it does
Compares multiple web articles from the URLs you provide and returns a comparison object summarizing their overlap, differences, structure, and perspective.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| urls | String Array | No | The list of article page URLs to compare. |
Response
Returns a JSON object with a comparison object field. The comparison object contains the comparison results across the supplied articles.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| comparison | Object | No | Comparison results for the provided article URLs. |
| comparison.shared_themes | String Array | No | Themes identified as common across the articles. |
| comparison.topic_overlap | Integer | No | Topic overlap score. |
| comparison.style_differences | String Array | No | Differences in writing style between the articles. |
| comparison.structural_contrast | String | No | Contrast in how the articles are structured. |
| comparison.perspective_analysis | String | No | Analysis of the articles’ perspectives. |