About this endpoint
What it does
Generates keyword clusters for an article identified by its URL. The response returns the article URL plus grouped keyword themes, a primary topic, and a list of 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 topic and keywords. |
| clusters[].topic | String | No | The cluster topic. |
| clusters[].keywords | String Array | No | The keywords belonging to the cluster. |
| primary_topic | String | No | The main topic identified for the article. |
| related_keywords | String Array | No | A list of general keywords related to the article. |