apyhub
DATA EXTRACTION · SEO

Extract Article From Web API

What it does

Article Extractor pulls the main content and metadata from a webpage when you send it a URL. It returns the article body plus any available title, author, date, images, language, confidence scores, source URL, and word count.

Use it when you need clean article text without scraping the page yourself. The input is a single url in the request body, and the response gives you structured fields you can store, index, or pass into downstream analysis.

It is useful for content monitoring, news aggregation, research pipelines, and SEO workflows that need to compare published copy across pages. You can also use the confidence object to decide whether the extracted body, title, or author is reliable enough for automated processing.

Article Extractor keeps the output focused on the data the page actually exposes, so you can validate content, archive articles, or build text-processing features from a predictable schema.

POST
Extract Article
https://api.eu.apyverse.com/chisleroff/extract-article

QUICKSTART

GUIDE

Quickstart

Send the article URL you want to extract in a JSON body.

curl -X POST "https://api.eu.apyverse.com/chisleroff/extract-article" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://example.com/news/sample-article"}'

What you'll get back

Returns a JSON object with article fields such as body, date, title, author, images, language, confidence, source_url, and word_count.

  • body, title, author, language, source_url are strings.
  • date is a date string, images is an array of URI strings, word_count is an integer, and confidence is an object with numeric body, title, and author scores.
{
  "body": "Article text...",
  "date": "2024-01-15",
  "title": "Sample Article Title",
  "author": "Jane Doe",
  "images": ["https://example.com/image.jpg"],
  "language": "en",
  "confidence": {
    "body": 0.98,
    "title": 0.95,
    "author": 0.88
  },
  "source_url": "https://example.com/news/sample-article",
  "word_count": 742
}
TRY ITLIVE · 100 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*
URL of the webpage to extract, audit, or validate content from (http/https only).

About this endpoint

What it does

Extracts article content from a webpage URL and returns the parsed article fields in a JSON object. The request sends the target webpage URL, and the response may include the article body, metadata, detected language, confidence scores, source URL, and word count.

Request Body

ParameterTypeMandatoryDescription
urlStringYesURL of the webpage to extract, audit, or validate content from. Must be a valid http or https URI.

Response

Returns a JSON object with top-level fields for the extracted article content and metadata: body (string), date (string in date format), title (string), author (string), images (string array of URI values), language (string), confidence (object), source_url (string in URI format), and word_count (integer). The confidence object contains body, title, and author number fields.

ParameterTypeMandatoryDescription
bodyStringNoExtracted article body text.
dateStringNoArticle date in YYYY-MM-DD format.
titleStringNoArticle title.
authorStringNoArticle author.
imagesString ArrayNoImage URLs extracted from the article. Each item is a URI.
languageStringNoDetected language of the article.
confidenceObjectNoConfidence scores for extracted fields. Contains body, title, and author number fields.
source_urlStringNoSource URL of the extracted article content. Must be a valid URI.
word_countIntegerNoWord count of the extracted article content.

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.