DefiLlama icon

DefiLlama

Access DeFi protocols data using the DefiLlama API

Overview

The node integrates with the DefiLlama API to retrieve data about DeFi fundraising rounds ("Raises"). Specifically, the "List Raises" operation fetches recent funding rounds and investment data for various DeFi projects. This is useful for users who want to monitor the latest capital inflows into DeFi protocols, track investment trends, or analyze fundraising activity in the decentralized finance ecosystem.

Practical examples:

  • A venture capital analyst tracking new investments in DeFi projects.
  • A market researcher compiling data on fundraising amounts and dates.
  • A developer building dashboards that display recent DeFi funding rounds.

Properties

Name Meaning
Additional Fields Collection of optional parameters:
- Max Results Maximum number of results to return (1-100). Default is 20.

For this specific Resource-Operation ("Raise" - "List Raises"), only the "Max Results" field from Additional Fields applies.

Output

The output is an array of JSON objects, each representing a single fundraising round with details such as:

  • name: The name of the project or protocol.
  • amount: The amount raised (numeric).
  • date: The date of the raise (timestamp or string).
  • round: The funding round type (e.g., Seed, Series A).
  • Formatted fields like amount_formatted (human-readable currency format) and date_formatted (localized date string).
  • Metadata including resource, operation, and fetch timestamp.

If no data is found, the output contains a message indicating no data was found for the specified resource and operation.

No binary data output is produced by this operation.

Dependencies

  • Requires access to the public DefiLlama API endpoint for raises: https://api.llama.fi/raises.
  • Optionally supports using an API key credential if provided, which will be sent as a Bearer token in the Authorization header.
  • No other external dependencies or environment variables are required.

Troubleshooting

  • Common issues:
    • Network connectivity problems may prevent fetching data from the DefiLlama API.
    • If the API changes or is temporarily unavailable, the node may return errors or empty results.
  • Error messages:
    • The node does not explicitly throw errors for this operation beyond generic request failures.
    • If no data is returned, the node outputs a message stating "No data found".
  • Resolution:
    • Verify internet connection and API availability.
    • Check if the maximum results parameter is set within allowed limits (1-100).
    • If using an API key, ensure it is valid and has proper permissions.

Links and References

Discussion