# Welcome

## Welcome to the Hive API

Our API is open for everyone to build with. You can use our API to fetch data on influencers within the Crypto, Bitcoin, Ethereum, and Ripple communities.

### Example Apps

Here are a few apps that have been built using our API:

* [Hive Browser Extension](https://chrome.google.com/webstore/detail/hive/dibbclmoocoenjjdjgdmgdbedcjeafjl?hl=en)
* [InvestorIndex](https://investorindex.io/)

### Getting Started

You will need an API key to use our endpoints. If you don't have an hive.one account [click here to sign up](https://hive.one)

Once you've signed up [click here](https://hive.one/api) to get your API key

You can find out more about Authentication here: [Authentication](/authentication)

### Experimental Endpoints

We are always working on improving our API. Some endpoints will have a message like below that will let you know that we are still working on that endpoint and to be ready for breaking changes

{% hint style="info" %}
This endpoint is subject to change
{% endhint %}

We may also have some endpoints which are still available for use but will be removed very soon. They will have the following on them:

{% hint style="danger" %}
Endpoint will be deprecated soon
{% endhint %}


# Key Concepts

The API and our data share some key concepts, whilst simple it is important for you to understand these properly.

### Cluster

A particular community / interest group eg. Bitcoin, Ethereum, Ripple

### Score

A metric out of 1000 to showing the influence of a given influencer within a particular cluster. This is created using our own algorithm using only publicly accessible data.&#x20;

For more info on what this means we recommend you read [this article](http://maciek.blog/influence/). With the way our algorithm currently works, every twitter account can have a score within a cluster (most will have a score of 0.0), but we rarely collect or record this.

### Rank

Only accounts with high scores will have ranks. Unlike scores, not everyone has a rank.

We use algorithms to filter out irrelevant people within clusters.&#x20;

Accounts without ranks will have the following data representation in their responses:`rank: null`

### People

Our API treats people differently from other types of influencers (Companies, bots).

For that reason ranks using `rank_type=personal` may be different from the ranks given in the endpoint `rank_type=all`

The ranks displayed on the [hive.one](https://hive.one) homepage are using `rank_type=personal`

### Twitter ID

A unique series of numbers corresponding to a twitter account.

### Twitter Screen Name

The username of a Twitter account. We never include ‘@’ symbols


# Authentication

You will need an API key to use our API. If you don't have an hive.one account click here to sign up for one:&#x20;

Once you've signed up (or if you already had an account) click here to get your API key

To use your API key you must set the `Authorization` HTTP header like so:

```
Authorization: Token <YOURAPIKEY>
```

## Rate Limits

To ensure a consistent experience for all API users, our endpoints are rate limited.

When making requests with an API key you are allowed to make **2 requests per second**

If you exceed your rate limit all requests will return with a `420` status code.

### Tips to avoid being Rate Limited

#### Caching

We recommend to cache our data in your applications to ensure you are not requesting the same data unnecessarily&#x20;

Our data updates every 24 hours.

#### ETags

Our endpoints will return with an `ETag` in the HTTP headers. We recommend using this `ETag` to check if your data needs a refresh when updating your cache.

Find out more[ here](/using-etags)


# Response Codes

| Code  | Description                                           |
| ----- | ----------------------------------------------------- |
| `200` | All good 👍                                           |
| `420` | Rate Limit Exceeded. Please wait before trying again. |
| `500` | There was an error on our end.                        |


# Using ETags

Almost all of our endpoints will return an `ETag` in the HTTP Headers.

`ETags` allow you to check if the data you have is up to date with what we are providing. Saving you the need of unnecessary requests.&#x20;

Requests you make using `ETags` do not count against your API rate limit.

### How To Use ETags&#x20;

When using an endpoint such as [Influencer Details](/core-resources/profile-details-twitter-id), there will be an `ETag` HTTP header in that response.&#x20;

Example: `ETag: 61eadf9f35830be5544441d03dd53a27`

On subsequent requests to the same URL you can provide that ETag in your HTTP headers like so:

`If-None-Match: ETAG_HERE`

If your `ETag` is valid, your will receive a `304` status code. If it's not valid you will receive a `200` and the new data for that endpoint.

To find out more about `Etags` click [here](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ETag)


# List of Available Influencers

## Get Available Influencers

<mark style="color:blue;">`GET`</mark> `https://api.hive.one/v1/influencers/`

This endpoint will return a list of all available influencers we have data for.\
Each item is an array containing two items: The twitter id and screen name.

#### Query Parameters

| Name          | Type   | Description                                           |
| ------------- | ------ | ----------------------------------------------------- |
| account\_type | string | <p>Options: people, business, all<br>Default: all</p> |

#### Headers

| Name           | Type   | Description          |
| -------------- | ------ | -------------------- |
| Authentication | string | Authentication token |

{% tabs %}
{% tab title="200 Array of available profiles" %}

```
{
    "data": {
        "available": [
            [
                "12",
                "jack"
            ],
            [
                "34",
                "ariel"
            ],
        ]
    }
}
```

{% endtab %}
{% endtabs %}


# Top Influencers

## Get Top Influencers

<mark style="color:blue;">`GET`</mark> `https://api.hive.one/v1/influencers/top/`

This endpoint allows you to get the top influencers in a given cluster.

#### Query Parameters

| Name    | Type    | Description                                                             |
| ------- | ------- | ----------------------------------------------------------------------- |
| cluster | string  | <p>Options: Crypto, BTC, ETH, XRP<br>Default: Crypto</p>                |
| after   | integer | <p>Used for pagination increases in increments of 50<br>Default: 0 </p> |

#### Headers

| Name           | Type   | Description          |
| -------------- | ------ | -------------------- |
| Authentication | string | Authentication token |

{% tabs %}
{% tab title="200 50 influencers in the requested cluster" %}

```
{
    "data": {
        "people": {
            "edges": [
                {
                    "node": {
                        "twitter_id": "1469101279",
                        "name": "Andreas ☮ 🌈 ⚛ ⚖ 🌐 📡 📖 📹 🔑 🛩",
                        "screenName": "aantonop",
                        "imageUrl": "https://pbs.twimg.com/profile_images/1201322457912795137/F2IOy2T5.jpg",
                        "followers": 504293,
                        "following": 2716,
                        "score": 617.37441871724,
                        "rank": 1,
                        "changeWeek": -0.21628945821100842
                    }
                },
                {
                    "node": {
                        "twitter_id": "295218901",
                        "name": "vitalik.eth",
                        "screenName": "VitalikButerin",
                        "imageUrl": "https://pbs.twimg.com/profile_images/977496875887558661/L86xyLF4.jpg",
                        "followers": 885490,
                        "following": 151,
                        "score": 615.296557176862,
                        "rank": 2,
                        "changeWeek": 1.2110566998070453
                    }
                }
            ]
        }
    }
}
```

{% endtab %}
{% endtabs %}


# Influencer Details (Twitter ID)

## Retrieve Influencer Details

<mark style="color:blue;">`GET`</mark> `https://api.hive.one/v1/influencers/id/:twitter_id/`

This endpoint allows you to get the rank/score details of an influencer using their twitter id

#### Path Parameters

| Name        | Type   | Description                              |
| ----------- | ------ | ---------------------------------------- |
| twitter\_id | number | Twitter ID of the influencer to retrieve |

#### Query Parameters

| Name               | Type    | Description                                               |
| ------------------ | ------- | --------------------------------------------------------- |
| rank\_type         | string  | <p>Options: all, personal<br>Default: all</p>             |
| include\_followers | boolean | <p>Options: 0 (false), 1 (true)<br>Default: 0 (false)</p> |

#### Headers

| Name           | Type   | Description          |
| -------------- | ------ | -------------------- |
| Authentication | string | Authentication token |

{% tabs %}
{% tab title="200 Influencer Score/Rank Details" %}
{% tabs %}
{% tab title="Regular Response" %}

```
{
    "data": {
        "name": "jack 🌍🌏🌎",
        "imageUrl": "https://pbs.twimg.com/profile_images/1115644092329758721/AFjOr-K8.jpg",
        "scores": [
            {
                "name": "Crypto",
                "abbr": "Crypto",
                "score": 294.33173391507,
                "rank": 71
            },
            {
                "name": "Bitcoin",
                "abbr": "BTC",
                "score": 336.077875237622,
                "rank": null
            },
            {
                "name": "Ethereum",
                "abbr": "ETH",
                "score": 219.316892977565,
                "rank": null
            },
            {
                "name": "Ripple",
                "abbr": "XRP",
                "score": 186.207651169653,
                "rank": null
            }
        ],
        "twitterId": "12",
        "screenName": "jack",
        "hasPodcasts": {
            "host": false,
            "guest": true
        }
    }
}
```

{% endtab %}

{% tab title="Include Followers" %}

```
{
    "data": {
        "name": "jack 🌍🌏🌎",
        "imageUrl": "https://pbs.twimg.com/profile_images/1115644092329758721/AFjOr-K8.jpg",
        "scores": [
            {
                "name": "Crypto",
                "abbr": "Crypto",
                "score": 300.663957280137,
                "rank": 69,
                "followers": [
                    {
                        "id": "1469101279",
                        "name": "Andreas ☮ 🌈 ⚛ ⚖ 🌐 📡 📖 📹 🔑 🛩",
                        "screenName": "aantonop",
                        "imageUrl": "https://pbs.twimg.com/profile_images/1201322457912795137/F2IOy2T5.jpg",
                        "rank": 1,
                        "score": 617.757039057179,
                        "twitterId": "1469101279"
                    },
                ]
            },
            {
                "name": "Bitcoin",
                "abbr": "BTC",
                "score": 339.177595069603,
                "rank": null,
                "followers": [
                    {
                        "id": "23618940",
                        "name": "Jameson Lopp",
                        "screenName": "lopp",
                        "imageUrl": "https://pbs.twimg.com/profile_images/949374657852928000/Ti3zmF2L.jpg",
                        "rank": 3,
                        "score": 778.598199990271,
                        "twitterId": "23618940"
                    },
                ]
            },
            {
                "name": "Ethereum",
                "abbr": "ETH",
                "score": 228.278309898247,
                "rank": null,
                "followers": [
                    {
                        "id": "2362854624",
                        "name": "Joseph Lubin",
                        "screenName": "ethereumJoseph",
                        "imageUrl": "https://pbs.twimg.com/profile_images/968150222760132608/Dzi20Mri.jpg",
                        "rank": 3,
                        "score": 681.87697976236,
                        "twitterId": "2362854624"
                    },
                ]
            },
            {
                "name": "Ripple",
                "abbr": "XRP",
                "score": 185.249746297779,
                "rank": null,
                "followers": [
                    {
                        "id": "28582680",
                        "name": "Brad Garlinghouse",
                        "screenName": "bgarlinghouse",
                        "imageUrl": "https://pbs.twimg.com/profile_images/1165061949601632256/vVVkiMFn.jpg",
                        "rank": 2,
                        "score": 907.413656363106,
                        "twitterId": "28582680"
                    },
                ]
            }
        ],
        "twitterId": "12",
        "screenName": "jack",
        "hasPodcasts": {
            "host": false,
            "guest": true
        }
    }
}
```

{% endtab %}
{% endtabs %}
{% endtab %}

{% tab title="404 Could not find an influencer with that id." %}

```
{
    "error": "Could not find any accounts matching ID: 500"
}
```

{% endtab %}
{% endtabs %}

#### Top Followers

If you want to get a list of an influencers top followers in a given `cluster`add `include_followers=1` to the query parameters.


# Influencer Details (Twitter Screen Name)

## Retrieve Influencer Details

<mark style="color:blue;">`GET`</mark> `https://api.hive.one/v1/influencers/screen_name/:screen_name/`

This endpoint allows you to get the rank/score details of an influencer using their screen name.

#### Path Parameters

| Name         | Type   | Description                                |
| ------------ | ------ | ------------------------------------------ |
| screen\_name | string | Screen name of the influencer to retrieve. |

#### Query Parameters

| Name               | Type    | Description                                         |
| ------------------ | ------- | --------------------------------------------------- |
| rank\_type         | string  | <p>Options: all, personal<br>Default: all</p>       |
| include\_followers | boolean | <p>Options: 0 (false), 1 (true)<br>Default: all</p> |

#### Headers

| Name           | Type   | Description          |
| -------------- | ------ | -------------------- |
| Authentication | string | Authentication token |

{% tabs %}
{% tab title="200 Influencer Score/Rank Details" %}
{% tabs %}
{% tab title="Regular Response" %}

```
{
    "data": {
        "name": "jack 🌍🌏🌎",
        "imageUrl": "https://pbs.twimg.com/profile_images/1115644092329758721/AFjOr-K8.jpg",
        "scores": [
            {
                "name": "Crypto",
                "abbr": "Crypto",
                "score": 294.33173391507,
                "rank": 71
            },
            {
                "name": "Bitcoin",
                "abbr": "BTC",
                "score": 336.077875237622,
                "rank": null
            },
            {
                "name": "Ethereum",
                "abbr": "ETH",
                "score": 219.316892977565,
                "rank": null
            },
            {
                "name": "Ripple",
                "abbr": "XRP",
                "score": 186.207651169653,
                "rank": null
            }
        ],
        "twitterId": "12",
        "screenName": "jack",
        "hasPodcasts": {
            "host": false,
            "guest": true
        }
    }
}
```

{% endtab %}

{% tab title="Include Followers" %}

```
{
    "data": {
        "name": "jack 🌍🌏🌎",
        "imageUrl": "https://pbs.twimg.com/profile_images/1115644092329758721/AFjOr-K8.jpg",
        "scores": [
            {
                "name": "Crypto",
                "abbr": "Crypto",
                "score": 300.663957280137,
                "rank": 69,
                "followers": [
                    {
                        "id": "1469101279",
                        "name": "Andreas ☮ 🌈 ⚛ ⚖ 🌐 📡 📖 📹 🔑 🛩",
                        "screenName": "aantonop",
                        "imageUrl": "https://pbs.twimg.com/profile_images/1201322457912795137/F2IOy2T5.jpg",
                        "rank": 1,
                        "score": 617.757039057179,
                        "twitterId": "1469101279"
                    },
                ]
            },
            {
                "name": "Bitcoin",
                "abbr": "BTC",
                "score": 339.177595069603,
                "rank": null,
                "followers": [
                    {
                        "id": "23618940",
                        "name": "Jameson Lopp",
                        "screenName": "lopp",
                        "imageUrl": "https://pbs.twimg.com/profile_images/949374657852928000/Ti3zmF2L.jpg",
                        "rank": 3,
                        "score": 778.598199990271,
                        "twitterId": "23618940"
                    },
                ]
            },
            {
                "name": "Ethereum",
                "abbr": "ETH",
                "score": 228.278309898247,
                "rank": null,
                "followers": [
                    {
                        "id": "2362854624",
                        "name": "Joseph Lubin",
                        "screenName": "ethereumJoseph",
                        "imageUrl": "https://pbs.twimg.com/profile_images/968150222760132608/Dzi20Mri.jpg",
                        "rank": 3,
                        "score": 681.87697976236,
                        "twitterId": "2362854624"
                    },
                ]
            },
            {
                "name": "Ripple",
                "abbr": "XRP",
                "score": 185.249746297779,
                "rank": null,
                "followers": [
                    {
                        "id": "28582680",
                        "name": "Brad Garlinghouse",
                        "screenName": "bgarlinghouse",
                        "imageUrl": "https://pbs.twimg.com/profile_images/1165061949601632256/vVVkiMFn.jpg",
                        "rank": 2,
                        "score": 907.413656363106,
                        "twitterId": "28582680"
                    },
                ]
            }
        ],
        "twitterId": "12",
        "screenName": "jack",
        "hasPodcasts": {
            "host": false,
            "guest": true
        }
    }
}
```

{% endtab %}
{% endtabs %}
{% endtab %}

{% tab title="404 Could not find a influencer with that screen\_name" %}

```
{
    "error": "Could not find any accounts matching screen_name: foobar"
}
```

{% endtab %}
{% endtabs %}

#### Top Followers

If you want to get a list of an influencers top followers in a given `cluster`add `include_followers=1` to the query parameters.


# Influencer Rank/Score History (Twitter ID)

## Retrieve Influencer Rank/Score History

<mark style="color:blue;">`GET`</mark> `https://api.hive.one/v1/influencers/id/:twitter_id/history/`

This endpoint allows you to get the Rank/Score history for an influencer using their twitter\_id

#### Path Parameters

| Name        | Type   | Description                  |
| ----------- | ------ | ---------------------------- |
| twitter\_id | number | Twitter ID of the influencer |

#### Query Parameters

| Name       | Type   | Description                                   |
| ---------- | ------ | --------------------------------------------- |
| rank\_type | string | <p>Options: all, personal<br>Default: all</p> |

#### Headers

| Name           | Type   | Description          |
| -------------- | ------ | -------------------- |
| Authentication | string | Authentication token |

{% tabs %}
{% tab title="200 The data returned will provide the history from four cluster: All Crypto, Bitcoin, Ethereum, and Ripple" %}

```
{
    "data": {
        "twitterId": "1469101279",
        "screenName": "aantonop",
        "history": {
            "edges": [
                {
                    "name": "Bitcoin",
                    "abbr": "BTC",
                    "imageUrl": "/static/assets/icons/BTC_100.png",
                    "history": {
                        "edges": [
                            {
                                "score": 624.497478593975,
                                "rankedAt": 1574645887,
                                "rank": null,
                                "changeReason": {
                                    "changeAmount": 2.2037475495020544,
                                    "followers": [
                                        {
                                            "score": 48.8006315967147,
                                            "twitterId": "1954873273",
                                            "name": "TOXIC Bitcoin Maximalist 🐂🗝️⚡",
                                            "screenName": "JimJones1913",
                                            "imageUrl": "https://pbs.twimg.com/profile_images/1123233933968203777/qs-x8-Jm.png",
                                            "rank": 1031,
                                            "activity": {
                                                "follow": true,
                                                "activityAt": 1574649175
                                            }
                                        }
                                    ]
                                }
                            },
                        ]
                    },
                    "score": 605.044795227843
                },
                {
                    "name": "Ripple",
                    "abbr": "XRP",
                    "imageUrl": "/static/assets/icons/XRP_100.png",
                    "history": {
                        "edges": [
                            {
                                "score": 269.005824008715,
                                "rankedAt": 1575857179,
                                "rank": null,
                                "changeReason": {
                                    "changeAmount": 0.30641816154195567,
                                    "followers": []
                                }
                            },
                        ]
                    },
                    "score": 269.005824008715
                },
                {
                    "name": "Ethereum",
                    "abbr": "ETH",
                    "imageUrl": "/static/assets/icons/ETH_100.png",
                    "history": {
                        "edges": [
                            {
                                "score": 624.145184319626,
                                "rankedAt": 1575855725,
                                "rank": 8,
                                "changeReason": {
                                    "changeAmount": 1.2413809950299992,
                                    "followers": []
                                }
                            },
                        ]
                    },
                    "score": 624.145184319626
                },
                {
                    "name": "Crypto",
                    "abbr": "Crypto",
                    "imageUrl": "/static/assets/icons/Crypto_100.png",
                    "history": {
                        "edges": [
                            {
                                "score": 619.106314757857,
                                "rankedAt": 1575858004,
                                "rank": 1,
                                "changeReason": {
                                    "changeAmount": 3.123262113778992,
                                    "followers": []
                                }
                            },
                        ]
                    },
                    "score": 619.106314757857
                }
            ]
        }
    }
}
```

{% endtab %}
{% endtabs %}


# Influencer Rank/Score History (Twitter Screen Name)

## Retrieve Influencer Rank/Score History

<mark style="color:blue;">`GET`</mark> `https://api.hive.one/v1/influencers/twitter_id/:screen_name/history/`

This endpoint allows you to get the Score/Rank history for an influencer using their twitter screen name.

#### Path Parameters

| Name         | Type   | Description                   |
| ------------ | ------ | ----------------------------- |
| screen\_name | string | Screen name of the influencer |

#### Query Parameters

| Name       | Type   | Description                                   |
| ---------- | ------ | --------------------------------------------- |
| rank\_type | string | <p>Options: all, personal<br>Default: all</p> |

#### Headers

| Name           | Type   | Description          |
| -------------- | ------ | -------------------- |
| Authentication | string | Authentication token |

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

```
{
    "data": {
        "twitterId": "1469101279",
        "screenName": "aantonop",
        "history": {
            "edges": [
                {
                    "name": "Bitcoin",
                    "abbr": "BTC",
                    "imageUrl": "/static/assets/icons/BTC_100.png",
                    "history": {
                        "edges": [
                            {
                                "score": 624.497478593975,
                                "rankedAt": 1574645887,
                                "rank": null,
                                "changeReason": {
                                    "changeAmount": 2.2037475495020544,
                                    "followers": [
                                        {
                                            "score": 48.8006315967147,
                                            "twitterId": "1954873273",
                                            "name": "TOXIC Bitcoin Maximalist 🐂🗝️⚡",
                                            "screenName": "JimJones1913",
                                            "imageUrl": "https://pbs.twimg.com/profile_images/1123233933968203777/qs-x8-Jm.png",
                                            "rank": 1031,
                                            "activity": {
                                                "follow": true,
                                                "activityAt": 1574649175
                                            }
                                        }
                                    ]
                                }
                            },
                        ]
                    },
                    "score": 605.044795227843
                },
                {
                    "name": "Ripple",
                    "abbr": "XRP",
                    "imageUrl": "/static/assets/icons/XRP_100.png",
                    "history": {
                        "edges": [
                            {
                                "score": 269.005824008715,
                                "rankedAt": 1575857179,
                                "rank": null,
                                "changeReason": {
                                    "changeAmount": 0.30641816154195567,
                                    "followers": []
                                }
                            },
                        ]
                    },
                    "score": 269.005824008715
                },
                {
                    "name": "Ethereum",
                    "abbr": "ETH",
                    "imageUrl": "/static/assets/icons/ETH_100.png",
                    "history": {
                        "edges": [
                            {
                                "score": 624.145184319626,
                                "rankedAt": 1575855725,
                                "rank": 8,
                                "changeReason": {
                                    "changeAmount": 1.2413809950299992,
                                    "followers": []
                                }
                            },
                        ]
                    },
                    "score": 624.145184319626
                },
                {
                    "name": "Crypto",
                    "abbr": "Crypto",
                    "imageUrl": "/static/assets/icons/Crypto_100.png",
                    "history": {
                        "edges": [
                            {
                                "score": 619.106314757857,
                                "rankedAt": 1575858004,
                                "rank": 1,
                                "changeReason": {
                                    "changeAmount": 3.123262113778992,
                                    "followers": []
                                }
                            },
                        ]
                    },
                    "score": 619.106314757857
                }
            ]
        }
    }
}
```

{% endtab %}
{% endtabs %}


# Influencer Podcasts (Twitter ID)

## Get Influencer Podcasts List

<mark style="color:blue;">`GET`</mark> `https://api.hive.one/v1/influencers/id/:twitter_id/podcasts/`

This endpoint allows you to get the list of podcasts for a given influencer using their twitter id

#### Path Parameters

| Name        | Type   | Description                  |
| ----------- | ------ | ---------------------------- |
| twitter\_id | number | Twitter ID of the influencer |

#### Query Parameters

| Name             | Type    | Description                                                             |
| ---------------- | ------- | ----------------------------------------------------------------------- |
| appearance\_type | string  | <p>Options: all, guest, host<br>Default: all</p>                        |
| after            | integer | <p>User for pagination, increases in increments of 20<br>Default: 0</p> |

#### Headers

| Name           | Type   | Description          |
| -------------- | ------ | -------------------- |
| Authentication | string | Authentication token |

{% tabs %}
{% tab title="200 Paginated list of all podcasts." %}

```
{
    "data": {
        "twitterId": "26377478",
        "screenName": "laurashin",
        "podcasts": {
            "edges": [
                {
                    "podcast": {
                        "name": "Unchained",
                        "url": "http://unchainedpodcast.co/",
                        "imageUrl": "http://static.libsyn.com/p/assets/3/a/2/4/3a24df1faa4963af/2019_Unchained_Cover_3000.jpg"
                    },
                    "name": "Ripple's XRP: Why Its Chances of Success Are Low - Ep.58",
                    "url": "http://unchained.forbes.libsynpro.com/ripples-xrp-why-its-chances-of-success-are-low-ep58",
                    "imageUrl": "http://static.libsyn.com/p/assets/a/d/b/a/adbad5317f1a99ac/New--Unchained_Show_Art_FINAL.jpg",
                    "publishedAt": 1525764600,
                    "hosts": [
                        {
                            "twitterId": "26377478",
                            "name": "Laura Shin",
                            "screenName": "laurashin",
                            "imageUrl": "https://pbs.twimg.com/profile_images/2705521468/8719b65bda3cab38bd27fc85f2509354.png"
                        },
                        {
                            "twitterId": "128115551",
                            "name": "Elaine Zelby",
                            "screenName": "ezelby",
                            "imageUrl": null
                        }
                    ],
                    "guests": [
                        {
                            "twitterId": "2193616844",
                            "name": "Ryan Selkis",
                            "screenName": "twobitidiot",
                            "imageUrl": "https://pbs.twimg.com/profile_images/885297575661682688/X_XVE1W0.jpg"
                        },
                        {
                            "twitterId": "1206239276",
                            "name": "Matt Leising",
                            "screenName": "mattleising",
                            "imageUrl": "https://pbs.twimg.com/profile_images/3311846748/dc7940f34d43a6750c2580698d114f89.jpeg"
                        }
                    ]
                },
            ],
            "cursor": {
                "after": 40,
                "hasNextCursor": true
            },
            "count": 160
        }
    }
}
```

{% endtab %}
{% endtabs %}


# Influencer Podcasts (Twitter Screen Name)

## Get Influencer Podcasts List

<mark style="color:blue;">`GET`</mark> `https://api.hive.one/v1/influencers/screen_name/:screen_name/podcasts/`

This endpoint allows you to get the list of podcasts for a given influencer using their twitter screen name

#### Path Parameters

| Name         | Type   | Description                    |
| ------------ | ------ | ------------------------------ |
| screen\_name | string | Screen name for the influencer |

#### Query Parameters

| Name             | Type    | Description                                                             |
| ---------------- | ------- | ----------------------------------------------------------------------- |
| appearance\_type | string  | <p>Options:all, guest, host<br>Default: all</p>                         |
| after            | integer | <p>Used for pagination, increases in increments of 20<br>Default: 0</p> |

#### Headers

| Name           | Type   | Description          |
| -------------- | ------ | -------------------- |
| Authentication | string | Authentication token |

{% tabs %}
{% tab title="200 Cake successfully retrieved." %}

```
{
    "data": {
        "twitterId": "26377478",
        "screenName": "laurashin",
        "podcasts": {
            "edges": [
                {
                    "podcast": {
                        "name": "Unchained",
                        "url": "http://unchainedpodcast.co/",
                        "imageUrl": "http://static.libsyn.com/p/assets/3/a/2/4/3a24df1faa4963af/2019_Unchained_Cover_3000.jpg"
                    },
                    "name": "Ripple's XRP: Why Its Chances of Success Are Low - Ep.58",
                    "url": "http://unchained.forbes.libsynpro.com/ripples-xrp-why-its-chances-of-success-are-low-ep58",
                    "imageUrl": "http://static.libsyn.com/p/assets/a/d/b/a/adbad5317f1a99ac/New--Unchained_Show_Art_FINAL.jpg",
                    "publishedAt": 1525764600,
                    "hosts": [
                        {
                            "twitterId": "26377478",
                            "name": "Laura Shin",
                            "screenName": "laurashin",
                            "imageUrl": "https://pbs.twimg.com/profile_images/2705521468/8719b65bda3cab38bd27fc85f2509354.png"
                        },
                        {
                            "twitterId": "128115551",
                            "name": "Elaine Zelby",
                            "screenName": "ezelby",
                            "imageUrl": null
                        }
                    ],
                    "guests": [
                        {
                            "twitterId": "2193616844",
                            "name": "Ryan Selkis",
                            "screenName": "twobitidiot",
                            "imageUrl": "https://pbs.twimg.com/profile_images/885297575661682688/X_XVE1W0.jpg"
                        },
                        {
                            "twitterId": "1206239276",
                            "name": "Matt Leising",
                            "screenName": "mattleising",
                            "imageUrl": "https://pbs.twimg.com/profile_images/3311846748/dc7940f34d43a6750c2580698d114f89.jpeg"
                        }
                    ]
                },
            ],
            "cursor": {
                "after": 40,
                "hasNextCursor": true
            },
            "count": 160
        }
    }
}
```

{% endtab %}
{% endtabs %}


# Batch Influencers Details (Twitter ID)

## Get Multiple Profiles

<mark style="color:blue;">`GET`</mark> `https://api.hive.one/v1/influencers/batch/?twitter_ids=[1,2,3]`

This endpoint allows you to get the Rank/Score data for multiple influencers.\
The max amount of influencers you can get in one request is 20.\
At the moment it only works with twitter id's.

#### Query Parameters

| Name               | Type    | Description                                               |
| ------------------ | ------- | --------------------------------------------------------- |
| twitter\_ids       | array   | An array of twitter id's                                  |
| rank\_type         | string  | <p>Options: All, personal<br>Default: all</p>             |
| include\_followers | boolean | <p>Options: 0 (false), 1 (true)<br>Default: 0 (false)</p> |

#### Headers

| Name           | Type   | Description          |
| -------------- | ------ | -------------------- |
| Authentication | string | Authentication token |

{% tabs %}
{% tab title="200 `success` will provide an array of influencer detail objects for all the twitter ids that worked
`failure` will return back an array of all the twitter ids that failed." %}

```
{
    "data": {
        "success": [
            {influencer_details},
            {influencer_Details}
        ],
        "failure": [
            "1",
            "2"
        ]
    }
}
```

{% endtab %}
{% endtabs %}


