# Subgraph

## Overview

The SDK is an open source JavaScript client, providing utility functions for fetching data from the [Hats Protocol Subgraphs](https://docs.hatsprotocol.xyz/for-developers/v1-subgraphs) and is designed to work both in the browser and in Node.js.

{% content-ref url="subgraph/getting-started" %}
[getting-started](https://docs.hatsprotocol.xyz/for-developers/v1-sdk/subgraph/getting-started)
{% endcontent-ref %}

{% content-ref url="subgraph/fetching-hats" %}
[fetching-hats](https://docs.hatsprotocol.xyz/for-developers/v1-sdk/subgraph/fetching-hats)
{% endcontent-ref %}

{% content-ref url="subgraph/fetching-wearers" %}
[fetching-wearers](https://docs.hatsprotocol.xyz/for-developers/v1-sdk/subgraph/fetching-wearers)
{% endcontent-ref %}

{% content-ref url="subgraph/fetching-trees" %}
[fetching-trees](https://docs.hatsprotocol.xyz/for-developers/v1-sdk/subgraph/fetching-trees)
{% endcontent-ref %}

{% content-ref url="subgraph/misc" %}
[misc](https://docs.hatsprotocol.xyz/for-developers/v1-sdk/subgraph/misc)
{% endcontent-ref %}

{% content-ref url="subgraph/types" %}
[types](https://docs.hatsprotocol.xyz/for-developers/v1-sdk/subgraph/types)
{% endcontent-ref %}
