Get the full coverage cluster of a card

The more stories from the same event as one card.

GET https://cotlet.dev/api/v1/google-discover/story-cluster

read

Opens the more stories or full coverage group of a card and returns its stories in the order shown, each with title, publisher, URL and age. It returns an empty list when the card has no cluster. The card is identified by the URL from get_discover_feed.

Parameters

Parameters: get_story_cluster
NameTypeDescription
url string required string URL of the card, as returned by get_discover_feed.

Request

cURL
curl "https://cotlet.dev/api/v1/google-discover/story-cluster?url=https%3A%2F%2Fexample.com" \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("google-discover", "get_story_cluster", {"url":"https://example.com"})
Node.js
const result = await cotlet.call('google-discover', 'get_story_cluster', {"url":"https://example.com"});
CLI
cotlet call google-discover get_story_cluster --data '{"url":"https://example.com"}'

Example response

JSON

{
  "url": "https://example-news.com/guides/sourdough-starter",
  "stories": [
    {
      "title": "How to feed a sourdough starter",
      "publisher": "Example News",
      "url": "https://example-news.com/guides/sourdough-starter",
      "age": "1d"
    },
    {
      "title": "Why your starter smells like acetone",
      "publisher": "Bread Notes",
      "url": "https://bread-notes.example/acetone-starter",
      "age": "2d"
    }
  ]
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.