Quickstart
Fetch article metadata and extracted content by passing the article URL as a query parameter.
curl -X GET "http://localhost:8080/namastesumalya/extract-article-content?url=https://example.com/article" \
-H "apy-token: $APY_TOKEN"What you'll get back
Returns a JSON object with article details in top-level fields such as url, title, author, platform, wordCount, articleBody, readingTime, publicationDate, and publicationName.
{
"url": "https://example.com/article",
"title": "Understanding Modern Content Pipelines",
"author": "John Doe",
"platform": "WordPress",
"wordCount": 850,
"articleBody": "This article explains how modern content pipelines work, including extraction, transformation, and delivery processes...",
"readingTime": "4 min",
"publicationDate": "2026-02-10T00:00:00Z",
"publicationName": "Example Blog"
}Loading your default key…About this endpoint
What it does
Extracts article content from the web page at the given url and returns structured article metadata and text content.
Query Parameter(s)
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| url | String | Yes | The web page URL to extract article content from. |
Response
Returns a JSON object with article fields including url, title, author, platform, wordCount, articleBody, readingTime, publicationDate, and publicationName.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| url | String | No | The source page URL. |
| title | String | No | The article title. |
| author | String | No | The article author. |
| platform | String | No | The platform detected for the page. |
| wordCount | Integer | No | The article word count. |
| articleBody | String | No | The extracted article body text. |
| readingTime | String | No | The estimated reading time. |
| publicationDate | String | No | The publication date/time. |
| publicationName | String | No | The publication name. |