Dai 1.0

Introduction - Stability - Core - CLI - Query API

GraphQL

Status: prototype - not suitable for production use.

This is an early prototype service which is intended to allow developers to experiment with a GraphQL api, whilst informing development of our MCD production api, which is being built with VulcanizeDB.

GraphQL is a query language for APIs and a runtime for fulfilling those queries. It provides a complete and understandable description of the available data, and gives clients the power to ask for exactly what they need and nothing more.

Console

Explore the API via the interactive in-browser IDE:

Query Endpoint

Interact with the API programatically via: graphql.makerdao.com/v1

$ curl -XPOST  \
       -H "Content-Type:application/graphql" \
       -d 'query { getCup(id: 100) { id lad } }' \
       http://graphql.makerdao.com/v1

  {
    "data": {
      "cup": {
        "id":100,
        "lad":"0xcE60Fa6BCb3Ba6FDE3d6b8196513458c00986E73"
      }
    }
  }
Client Libraries

Golang

Javascript

iOS

Python

Others