About this endpoint
What it does
Fetches the article at the provided URL and returns extracted clean text plus metadata about the fetched page.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| url | String | Yes | The URL to fetch and extract article text from. |
Response
Returns a JSON object with url, text, title, length, final_url, and content_type fields. url, text, title, final_url, and content_type are strings, and length is an integer.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| url | String | No | The input URL associated with the extraction result. |
| text | String | No | The cleaned article text. |
| title | String | No | The article title. |
| length | Integer | No | The length of the extracted text. |
| final_url | String | No | The final URL after any redirects. |
| content_type | String | No | The content type of the fetched resource. |