apyhub
ARTIFICIAL INTELLIGENCE · DATA EXTRACTION

Extract and Compare Multiple Articles from Web Pages API

What it does

Compare Article Comparison takes multiple web article URLs and returns a structured comparison of their content. Send an array of urls, and get back a comparison object that highlights shared themes, topic overlap, style differences, structural contrast, and perspective analysis.

Use it when you need to quickly understand how several pages relate to each other without reading them side by side. It is useful for editorial review, content research, competitor analysis, and summarising how different sources cover the same subject.

The response is designed for fast downstream use. shared_themes gives you the common topics across the articles, topic_overlap provides an integer score, style_differences captures how the writing differs, structural_contrast describes how the pieces are organised, and perspective_analysis summarises the broader viewpoint differences.

Article Comparison is a good fit when your workflow starts with links and ends with a concise comparison you can store, display, or feed into another analysis step.

POST
Compare multiple articles from web pages
https://api.eu.apyverse.com/namastesumalya/compare-multiple-articles

QUICKSTART

GUIDE

Quickstart

Compare multiple article URLs by sending them in a JSON body.

curl -X POST "https://api.eu.apyverse.com/namastesumalya/compare-multiple-articles" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"urls":["https://example.com/article1","https://example.com/article2"]}'

What you'll get back

Returns a JSON object with a comparison object. That object may include shared_themes as an array of strings, topic_overlap as an integer, style_differences as an array of strings, structural_contrast as a string, and perspective_analysis as a string.

{
  "comparison": {
    "shared_themes": ["AI tools", "automation"],
    "topic_overlap": 70,
    "style_differences": ["Article 1 is technical", "Article 2 is conversational"],
    "structural_contrast": "One is step-based, the other narrative",
    "perspective_analysis": "Both support AI adoption but differ in execution approach"
  }
}
TRY ITLIVE · 1000 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab — never sent to orbit or saved.
body*
urls

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

ParameterTypeMandatoryDescription
urlsString ArrayNoThe 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.

ParameterTypeMandatoryDescription
comparisonObjectNoComparison results for the provided article URLs.
comparison.shared_themesString ArrayNoThemes identified as common across the articles.
comparison.topic_overlapIntegerNoTopic overlap score.
comparison.style_differencesString ArrayNoDifferences in writing style between the articles.
comparison.structural_contrastStringNoContrast in how the articles are structured.
comparison.perspective_analysisStringNoAnalysis of the articles’ perspectives.

Body

Name
Type
Description
bodyREQUIRED
object
▣ COMMON ERRORS

Errors any endpoint can return

400bad_request

Required parameter missing or malformed body.

401unauthorized

API key missing, revoked, or not authorized for this service.

429rate_limited

Your plan's per-second rate exceeded. Retry with exponential backoff.

503upstream_busy

Backend temporarily unavailable. Try again in a few seconds.