get_crypto_news
Fetch cryptocurrency news and media updates from CryptoPanic to track market developments and sentiment.
Instructions
Fetch the latest cryptocurrency news from CryptoPanic.
Args: kind (str, optional): Type of content to fetch. Valid options are: - 'news': Fetch news articles (default). - 'media': Fetch media content like videos. num_pages (int, optional): Number of pages to fetch (each page contains multiple news items). Defaults to 1. Maximum is 10 to avoid API rate limits.
Returns: str: A concatenated string of news titles, each prefixed with a dash (-).
Raises: ValueError: If the API key is not set or if the API request fails.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | news | |
| num_pages | No |