apyhub
ARTIFICIAL INTELLIGENCE · DATA EXTRACTION

Extract and Analyze Content from Web Page API

What it does

Article Analysis lets you send a web page URL and get back structured signals about the article behind it. Use it when you need a quick read on content type, reading level, emotional tone, SEO score, key entities, and quality indicators without building your own parser.

Provide the url as a query parameter. The response includes the original url, an entities object with extracted people, locations, and organizations, plus a numeric seo_score. You also get content_type, reading_level, emotional_tone, and quality_signals for clarity, engagement, and originality.

This is useful for newsroom workflows, content review pipelines, competitive monitoring, and editorial dashboards. For example, you can score incoming articles, flag pieces with weak clarity, or group stories by tone and named entities before further processing.

Use Article Analysis when you need a compact, machine-readable summary of an article from a public web page and want to route it into search, moderation, or analytics systems.

GET
Analyze an article from a web page
http://localhost:8080/namastesumalya/analyze-an-article
QUICKSTARTGUIDE

Quickstart

Analyze an article by passing its URL as a query parameter.

curl -X GET "http://localhost:8080/namastesumalya/analyze-an-article?url=https%3A%2F%2Fexample.com%2Farticle" \
  -H "apy-token: $APY_TOKEN"

What you'll get back

Returns a JSON object with optional top-level fields such as url, entities, seo_score, content_type, reading_level, emotional_tone, and quality_signals.

  • url is a string with the analyzed article URL.
  • entities is an object that may include people, locations, and organizations arrays.
  • seo_score is an integer.
  • content_type, reading_level, and emotional_tone are strings.
  • quality_signals is an object that may include clarity, engagement, and originality strings.
{
  "url": "https://example.com/article",
  "entities": {
    "people": ["Elon Musk"],
    "locations": ["USA"],
    "organizations": ["OpenAI"]
  },
  "seo_score": 85,
  "content_type": "Opinion",
  "reading_level": "Intermediate",
  "emotional_tone": "Positive",
  "quality_signals": {
    "clarity": "High",
    "engagement": "Strong",
    "originality": "Moderate"
  }
}
TRY ITLIVE · 600 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.

About this endpoint

What it does

Analyzes an article from a web page URL and returns structured metadata about the page, including entities, SEO score, content characteristics, and quality signals.

Query Parameter(s)

AttributeTypeMandatoryDescription
urlStringYesThe web page URL to analyze.

Response

Returns a JSON object containing the analyzed page URL plus article analysis fields. The top-level response includes url as a string, entities as an object, seo_score as an integer, content_type as a string, reading_level as a string, emotional_tone as a string, and quality_signals as an object.

ParameterTypeMandatoryDescription
urlStringNoThe analyzed page URL.
entitiesObjectNoNamed entities extracted from the article. Includes people, locations, and organizations as arrays of strings.
entities.peopleString ArrayNoPeople mentioned in the article.
entities.locationsString ArrayNoLocations mentioned in the article.
entities.organizationsString ArrayNoOrganizations mentioned in the article.
seo_scoreIntegerNoSEO score for the article.
content_typeStringNoContent type of the article.
reading_levelStringNoReading level of the article.
emotional_toneStringNoEmotional tone of the article.
quality_signalsObjectNoQuality-related signals for the article. Includes clarity, engagement, and originality as strings.
quality_signals.clarityStringNoClarity signal.
quality_signals.engagementStringNoEngagement signal.
quality_signals.originalityStringNoOriginality signal.

Query parameters

Name
Type
Description
urlREQUIRED
string
▣ 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.