About this endpoint
What it does
Generates keyword clusters from an article URL. It takes the article url as input and returns the analyzed URL along with clustered topics, a primary topic, and related keywords.
Query Parameter(s)
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| url | String | Yes | The article URL to analyze. |
Response
Returns a JSON object with url as a string, clusters as an array of objects, primary_topic as a string, and related_keywords as a string array.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| url | String | No | The article URL that was analyzed. |
| clusters | Object Array | No | Grouped themes containing specific keywords. Each item includes:<br>- topic as a string<br>- keywords as a string array |
| clusters[].topic | String | No | The topic name for the cluster. |
| clusters[].keywords | String Array | No | Keywords associated with the cluster. |
| primary_topic | String | No | The primary topic identified from the article. |
| related_keywords | String Array | No | A list of general keywords related to the article. |