> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.data.aviato.co/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.data.aviato.co/_mcp/server.

# Enrich Social Metrics

GET https://data.api.aviato.co/company/social-metrics

Get a company's social audience counts and growth metrics. Returns 404 without charging when no category data is available.

Reference: https://docs.data.aviato.co/api-reference/company/enrich-social-metrics

## Authentication

- `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer <token>`, where token is your auth token.

## Request

### Query parameters

- `id` (string, optional)
- `linkedinID` (string, optional)
- `linkedinNumID` (string, optional)
- `linkedinURL` (string, optional) — LinkedIn URL, accepts company URLs like linkedin.com/company/google or linkedin.com/company/1441
- `facebookID` (string, optional)
- `twitterID` (string, optional)
- `crunchbaseID` (string, optional)
- `pitchbookID` (string, optional)
- `producthuntID` (string, optional)
- `dealroomID` (string, optional)
- `goldenID` (string, optional)
- `angellistID` (string, optional)
- `wellfoundID` (string, optional)
- `website` (string, optional)
- `require` (list of string, optional) — Each requested top-level response field must be non-empty; otherwise returns 404 without charging.

## Response

### 200

- `weeklyFacebookChange` (double, optional) — The absolute change in the number of Facebook likes the company has over the past week.
- `weeklyFacebookPercent` (double, optional) — The percentage change in the number of Facebook likes the company has over the past week. This is the change in the number of likes divided by the number of likes at the start of the week.
- `monthlyFacebookChange` (double, optional) — The absolute change in the number of Facebook likes the company has over the past month.
- `monthlyFacebookPercent` (double, optional) — The percentage change in the number of Facebook likes the company has over the past month. This is the change in the number of likes divided by the number of likes at the start of the month.
- `triMonthlyFacebookChange` (double, optional) — The absolute change in the number of Facebook likes the company has over the past 3 months.
- `triMonthlyFacebookPercent` (double, optional) — The percentage change in the number of Facebook likes the company has over the past 3 months. This is the change in the number of likes divided by the number of likes at the start of the 3 months.
- `yearlyFacebookChange` (double, optional) — The absolute change in the number of Facebook likes the company has over the past year.
- `yearlyFacebookPercent` (double, optional) — The percentage change in the number of Facebook likes the company has over the past year. This is the change in the number of likes divided by the number of likes at the start of the year.
- `weeklyTwitterChange` (double, optional) — The absolute change in the number of Twitter followers the company has over the past week.
- `weeklyTwitterPercent` (double, optional) — The percentage change in the number of Twitter followers the company has over the past week. This is the change in the number of followers divided by the number of followers at the start of the week.
- `monthlyTwitterChange` (double, optional) — The absolute change in the number of Twitter followers the company has over the past month.
- `monthlyTwitterPercent` (double, optional) — The percentage change in the number of Twitter followers the company has over the past month. This is the change in the number of followers divided by the number of followers at the start of the month.
- `triMonthlyTwitterChange` (double, optional) — The absolute change in the number of Twitter followers the company has over the past 3 months.
- `triMonthlyTwitterPercent` (double, optional) — The percentage change in the number of Twitter followers the company has over the past 3 months. This is the change in the number of followers divided by the number of followers at the start of the 3 months.
- `yearlyTwitterChange` (double, optional) — The absolute change in the number of Twitter followers the company has over the past year.
- `yearlyTwitterPercent` (double, optional) — The percentage change in the number of Twitter followers the company has over the past year. This is the change in the number of followers divided by the number of followers at the start of the year.
- `facebookHistorical` (map from string to double, optional) — The historical number of Facebook likes the company has had.
- `twitterHistorical` (map from string to double, optional) — The historical number of Twitter followers the company has had.
- `facebookLikes` (integer, optional) — The current number of Facebook likes the company has.
- `twitterFollowers` (integer, optional) — The current number of Twitter followers the company has.
- `linkedinFollowers` (integer, optional) — The current number of LinkedIn followers the company has.

## Errors

### 404 Company Not Found Error

### 401 Unauthorized Error

### 429 Rate Limit Error

### 400 Bad Request Error

- `message` (string, required)

## Examples

**Response**

```json
{
  "weeklyFacebookChange": 1.1,
  "weeklyFacebookPercent": 1.1,
  "monthlyFacebookChange": 1.1,
  "monthlyFacebookPercent": 1.1,
  "triMonthlyFacebookChange": 1.1,
  "triMonthlyFacebookPercent": 1.1,
  "yearlyFacebookChange": 1.1,
  "yearlyFacebookPercent": 1.1,
  "weeklyTwitterChange": 1.1,
  "weeklyTwitterPercent": 1.1,
  "monthlyTwitterChange": 1.1,
  "monthlyTwitterPercent": 1.1,
  "triMonthlyTwitterChange": 1.1,
  "triMonthlyTwitterPercent": 1.1,
  "yearlyTwitterChange": 1.1,
  "yearlyTwitterPercent": 1.1,
  "facebookHistorical": {
    "facebookHistorical": 1.1
  },
  "twitterHistorical": {
    "twitterHistorical": 1.1
  },
  "facebookLikes": 1,
  "twitterFollowers": 1,
  "linkedinFollowers": 1
}
```

**SDK Code**

```python
import requests

url = "https://data.api.aviato.co/company/social-metrics"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript
const url = 'https://data.api.aviato.co/company/social-metrics';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

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

func main() {

	url := "https://data.api.aviato.co/company/social-metrics"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://data.api.aviato.co/company/social-metrics")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://data.api.aviato.co/company/social-metrics")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://data.api.aviato.co/company/social-metrics', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://data.api.aviato.co/company/social-metrics");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://data.api.aviato.co/company/social-metrics")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```