About this endpoint
What it does
Compares multiple web articles from the URLs you submit and returns a JSON object with a comparison object containing the comparison results.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| urls | String Array | Yes | The article URLs to compare. |
Response
Returns a JSON object with a comparison object. The comparison object contains shared_themes as a string array, topic_overlap as an integer, style_differences as a string array, structural_contrast as a string, and perspective_analysis as a string.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| comparison | Object | No | Comparison results for the submitted articles. |
| comparison.shared_themes | String Array | No | Shared themes identified 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 article structure. |
| comparison.perspective_analysis | String | No | Analysis of the perspectives presented in the articles. |