Disco Docs
Search
⌃K

Get started with Disco's API

How do I get started building with Disco?

Requirements

You will likely need the following:
  • an onboarded Disco Profile
  • Any library capable of making http requests (fetch, axios, httpie, etc)
  • A valid API token (more below)

Getting Started

Request an API Key
Please fill out this typeform here and we'll get you an API key as soon as possible.

Current Capabilities

Note: At Disco we take privacy very seriously. The API will only return credentials that are made public by the user. Credentials are by default, private. More info on how to make a credential public by toggling the eye icon here.
Sample Request, in curl:
curl --location 'https://api.disco.xyz/v1/profile/address/0xc5e46e48f1ef5f305afba45c3122021dd09ed3de' \
--header 'Authorization: Bearer <token>'
Javascript:
var myHeaders = new Headers();
myHeaders.append("Authorization", "Bearer <token>");
var requestOptions = {
method: 'GET',
headers: myHeaders,
redirect: 'follow'
};
fetch("https://api.disco.xyz/v1/profile/address/0xc5e46e48f1ef5f305afba45c3122021dd09ed3de", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));