CoinMarketCal connects to a Nagent workspace with an API key. Once it is connected, agents can call 3 CoinMarketCal actions: "List Coins", "List Event Categories" and "List Cryptocurrency Events". Nothing is enabled on connect: each action is allowed one at a time, and an action with side effects runs or waits for a person according to the agent's level.
Every operation an agent can call against CoinMarketCal, with input parameters and output schema.
COINMARKETCAL_LIST_COINSTool to retrieve list of all available coins/cryptocurrencies in CoinMarketCal database. Use when you need to fetch coin information including IDs, names, symbols, and event counts.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
COINMARKETCAL_LIST_EVENT_CATEGORIESTool to list all event categories. Use when you need to fetch available event categories.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
COINMARKETCAL_LIST_EVENTSTool to retrieve list of cryptocurrency events. Use when you need to fetch upcoming or past crypto events filtered by date range, coins, categories, or other criteria. Note: Cannot retrieve events before 25/11/2017. The can_occur_before field is important as some events may happen before their stated date.
Input parameters
Maximum amount of events to display per page (default: 16, max: 300)
Page number for pagination (default: 1)
Comma-separated list of coin IDs to filter events by specific cryptocurrencies
The order in which the results will be listed
Filter to show only specific types of events
Include the number of views for each event in the response
Include vote information for each event in the response
Comma-separated list of category IDs to filter events by type
End date for filtering events (format: YYYY-MM-DD). Default is the date of the furthest event.
Language code for translations. Supported: en, ko, ru, tr, ja, es, pl, pt, id
Start date for filtering events (format: YYYY-MM-DD). Default is today. Cannot be before 2017-11-25.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
Agents can call 3 CoinMarketCal actions on Nagent: "List Coins", "List Event Categories" and "List Cryptocurrency Events". List Coins: Retrieve list of all available coins/cryptocurrencies in CoinMarketCal database. Each action is listed on this page with its input parameters and its output.
CoinMarketCal connects with an API key, under your workspace's own connection. Nothing is enabled on connect: each action is allowed one at a time and can be scoped to the agents that need it.
It returns data, error and successful.