> For the complete documentation index, see [llms.txt](https://relationlabs.gitbook.io/relation-graph/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://relationlabs.gitbook.io/relation-graph/guide/quick-start.md).

# Quick Start

Comprehensive reference for integrating with Relation Graph API endpoints

## Endpoint URLs

* <https://api.relationlabs.ai>

## Demo ApiKey

* ApiKey: 581c6c4fa0b54912b00088aa563342a4
* private key: 89a1a8c7d5f6ab952e02c5c6a71f48d60fbe06c21ec021374907d93d644b1236

## Query

This service follows the REST API standards and can be conveniently accessed using any http client.

* Example:

{% tabs %}
{% tab title="curl" %}

```shell
curl --location 'https://api.relationlabs.ai/api/v1/mutualFriend?address=0x0001%2C0x000002&limit=10&offset=0' \
--header 'ApiKey: <ApiKey>' 
```

{% endtab %}

{% tab title="NodeJs Axios" %}

```javascript
const axios = require('axios');

let config = {
  method: 'get',
  maxBodyLength: Infinity,
  url: 'https://api.relationlabs.ai/api/v1/mutualFriend?address=0x0001%2C0x000002&limit=10&offset=0',
  headers: {
      'ApiKey': '<ApiKey>'
  }
};

axios.request(config)
.then((response) => {
  console.log(JSON.stringify(response.data));
})
.catch((error) => {
  console.log(error);
});

```

{% endtab %}

{% tab title="go" %}

```go
package main

import (
  "fmt"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "https://api.relationlabs.ai/api/v1/mutualFriend?address=0x0001%2C0x000002&limit=10&offset=0"
  method := "GET"

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, nil)

  if err != nil {
    fmt.Println(err)
    return
  }
  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
```

{% endtab %}
{% endtabs %}
