Back to LiveQuery Integrations

    Credmark Labs API

    Credmark Labs API from Credmark Labs, Inc.Credmark Labs, Inc.
    Log in to Manage

    The Credmark platform allows the development and deployment of financial models using DeFi data. These models are exposed via API so that developers can integrate them into their applications.

    SELECT 
      credmark_utils.get('/v1/tokens/1/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48', {
        'blockNumber': 17767007
      }) as resp
    
    SELECT 
      credmark_utils.post('/v1/model/run', {
        'slug': 'price.quote',
        'version': '1.0',
        'chainId': 1,
        'blockNumber': 17767016,
        'input': {}
      }) as resp
    
    Getting Started

    To get started building with Credmark, you'll need to create an account and generate an API key.

    • Create an account with Credmark
    • Generate an API key
    • Click the Install button here and enter your API key
    • Go to the LiveQuery section of Data Studio and start querying!
    Overview

    The Credmark platform is a full-stack analytics environment.

    At the lowest level, Credmark runs blockchain nodes as well as historical databases of blockchain activity.

    This current and historical data is accessible from a crypto-aware Python framework which quants and data scientists use to build financial models. These models are not limited to a single query. They can issue multiple queries to retrieve data and can even access external data sources. Models can call other models as sub-routines. Models can be designed to run across multiple chains simultaneously.

    The framework supports Jupyter notebooks to facilitate exploratory work.

    Once a model is written and tested it can quickly be deployed into Credmark's scalable, hosted environment. Once deployed it is immediately accessible via API. Developers use model APIs to integrate their output into their application.