Enrich API Documentation
  • Introduction
    • Authentication
    • Rate Limit
    • Credit Usage
  • Reference
    • Check Credit Usage
    • Email to Profile data
    • Email to IP
    • Email Finder
    • Profile URL to Work Email V2
    • Profile URL to Personal Email
    • Verify Emails—Even Behind Catch-Alls
    • Company Lookup
    • Company Funding and Traffic
    • Linkedin Public Profile Enrichment
    • Phone Number Finder
    • Find post details by URL
    • Search Posts
    • Bulk enrichment
    • Email to Phone Number
    • Email to Person Lite
    • Reverse email append
    • Disposable/Spam Email Check
    • IP to Company
    • Logo API
    • Search People Activities
    • Search Company Activities
    • Search Post Reactions
    • Search Post Reactions by URL
    • Search Post Comments
    • Search Post Comments by URL
    • Search Company
    • Search Similar Companies
    • Search People
    • Sales Pointer - Dynamic Filters
    • Sales Pointer - People
    • Sales Pointer - People by URL
    • Sales Pointer - Company
    • Sales Pointer - Company by URL
    • Search Company Employees
    • Search Jobs
    • Web search
    • Serp Search
    • News Search
    • Maps Search
    • Places Search
    • Videos Search
    • Shopping Search
    • Image Search
  • Changelog
Powered by GitBook
On this page
  1. Reference

Search Similar Companies

The API helps you discover companies similar to a given organization by leveraging its LinkedIn profile. Simply pass the LinkedIn URL of the company, along with optional filters.

curl --location 'https://api.enrich.so/v1/api/similar-companies' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <token>' \
--data '{
    "url" : "linkedin.com/company/google",
    "account": {
    "location": [
      "germany"
    ],
    "employeeSize": {
      "type": "RANGE",
      "range": [
        {
          "start": 1,
          "end": 10
        }
      ]
    }
  },
    "page": 1,
    "num": 2
}'
const axios = require('axios');

axios.post('https://api.enrich.so/v1/api/similar-companies', 
  {
    "url" : "linkedin.com/company/google",
    "account": {
    "location": [
      "germany"
    ],
    "employeeSize": {
      "type": "RANGE",
      "range": [
        {
          "start": 1,
          "end": 10
        }
      ]
    }
  },
    "page": 1,
    "num": 2
}, 
  {
    headers: {
      accept: 'application/json',
      Authorization: 'Bearer <token>',
      'Content-Type': 'application/json'
    }
  })
  .then(response => {
    console.log(response.data);
  })
  .catch(error => {
    console.log(error.response ? error.response.data : error.message);
  });
import requests

url = 'https://api.enrich.so/v1/api/similar-companies'
payload = {
    "url" : "linkedin.com/company/google",
    "account": {
    "location": [
      "germany"
    ],
    "employeeSize": {
      "type": "RANGE",
      "range": [
        {
          "start": 1,
          "end": 10
        }
      ]
    }
  },
    "page": 1,
    "num": 2
}
headers = {
    'accept': 'application/json',
    'authorization': 'Bearer <token>',
    'Content-Type': 'application/json'
}

resp = requests.post(url, json=payload, headers=headers)

print(resp.text)
OkHttpClient client = new OkHttpClient();

MediaType mediaType = MediaType.parse("application/json");
String json = "{"
        + "\"url\": \"linkedin.com/company/google\","
        + "\"account\": {},"
        + "\"page\": 1,"
        + "\"num\": 2"
        + "}";

RequestBody body = RequestBody.create(mediaType, json);

Request request = new Request.Builder()
        .url("https://api.enrich.so/v1/api/similar-companies")
        .post(body)
        .addHeader("accept", "application/json")
        .addHeader("authorization", "Bearer <token>")
        .addHeader("Content-Type", "application/json")
        .build();

Response response = client.newCall(request).execute();
require 'uri'
require 'net/http'
require 'json'

url = URI("https://api.enrich.so/v1/api/similar-companies")

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

request = Net::HTTP::Post.new(url)
request["accept"] = 'application/json'
request["authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'

payload = {
    url : "linkedin.com/company/google",
    account: {
    location: [
      "germany"
    ],
    employeeSize: {
      type: "RANGE",
      range: [
        {
          start: 1,
          end: 10
        }
      ]
    }
  },
    page: 1,
    num: 2
}.to_json

request.body = payload

response = http.request(request)
puts response.read_body
<?php

$curl = curl_init();

$data = [
    "url" => "linkedin.com/company/google",
    "account"=> {
    "location"=> [
      "germany"
    ],
    "employeeSize"=> {
      "type"=> "RANGE",
      "range"=> [
        {
          "start"=> 1,
          "end"=> 10
        }
      ]
    }
  },
    "page"=> 1,
    "num"=> 2
];

curl_setopt_array($curl, [
  CURLOPT_URL => "https://api.enrich.so/v1/api/similar-companies",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS => json_encode($data),
  CURLOPT_HTTPHEADER => [
    "accept: application/json",
    "authorization: Bearer <token>",
    "content-type: application/json"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}

Example response

Status Code: 200 OK

{
    "success": true,
    "message": "Companies records found.",
    "data": {
        "content": [
            {
                "url": "https://www.linkedin.com/company/alphabet-inc",
                "name": "Alphabet Inc.",
                "universalName": "alphabet-inc",
                "type": "PUBLIC_COMPANY",
                "objectUrn": 8074624,
                "description": "Alphabet is a collection of companies, including Google, Verily Life Sciences, GV, Calico, and X.\r\n\r\nIn October 2015, Alphabet became the parent holding company of Google, with the companies far afield of our main internet products contained in Alphabet.",
                "phone": "6502530000",
                "followers": null,
                "website": "http://www.abc.xyz",
                "logo": "https://media.licdn.com/dms/image/v2/C560BAQHOWk8aT2QxNQ/company-logo_400_400/company-logo_400_400/0/1631347525519?e=1744848000&v=beta&t=s7LFNAEhsul7KhF5fgeBSfE_XHG5z9VIiYEyMoTUt_8",
                "cover": null,
                "tagline": null,
                "foundedYear": 2015,
                "staff": {
                    "total": 2077,
                    "range": {
                        "start": 2,
                        "end": 10
                    }
                },
                "locations": {
                    "headquarter": {
                        "city": "mountain view",
                        "country": "united states",
                        "geographicArea": "california",
                        "isPrimary": null,
                        "line1": "1600 amphitheatre parkway",
                        "line2": null,
                        "postalCode": "94043"
                    },
                    "other": [
                        {
                            "city": "mountain view",
                            "country": "united states",
                            "geographicArea": "california",
                            "isPrimary": null,
                            "line1": "1600 amphitheatre parkway",
                            "line2": null,
                            "postalCode": "94043"
                        }
                    ]
                },
                "fundingData": null,
                "specialities": null,
                "industries": [
                    "construction"
                ],
                "hashtags": null,
                "relevancy": {
                    "score": 0.89508796,
                    "value": "B"
                }
            },
            {
                "url": "https://www.linkedin.com/company/egenai",
                "name": "Egen",
                "universalName": "egenai",
                "type": "PRIVATELY_HELD",
                "objectUrn": 142755,
                "description": "Egen has acquired Qarik to unleash the power of cloud, data, AI, and platforms for organizations. Our combined company is named Egen.\n\nWe are excited to bring together scaled global delivery capabilities with deep Google Cloud expertise to create a highly skilled and specialized technology services company  that helps private and public sector organizations go further faster on their digital transformation journeys. \n\nYou can expect the same high standards from us as we combine forces to bridge technology and human empowerment. \n\n",
                "phone": "+18335941809",
                "followers": null,
                "website": "https://egen.ai/news/egen-announces-acquisition-of-qarik-strengthens-position-as-leading-cloud-platform-and-ai-services-provider-in-the-google-cloud-ecosystem",
                "logo": "https://media.licdn.com/dms/image/v2/D560BAQEqMl3JoYCzpg/company-logo_400_400/company-logo_400_400/0/1692196297273/egeninc_logo?e=1744848000&v=beta&t=seBVgJL6fOK8CajCI0dC04RteV1WZs3whtToFwFG2DA",
                "cover": null,
                "tagline": null,
                "foundedYear": 2000,
                "staff": {
                    "total": 2461,
                    "range": {
                        "start": 501,
                        "end": 1000
                    }
                },
                "locations": {
                    "headquarter": {
                        "city": "naperville",
                        "country": "united states",
                        "geographicArea": "illinois",
                        "isPrimary": null,
                        "line1": "40 shuman blvd, suite 302",
                        "line2": null,
                        "postalCode": "60563"
                    },
                    "other": [
                        {
                            "city": "toronto",
                            "country": "canada",
                            "geographicArea": "on",
                            "isPrimary": null,
                            "line1": "1 dundas street west eaton centre, suite 2500",
                            "line2": null,
                            "postalCode": "M5G 1Z3"
                        },
                        {
                            "city": "belfast",
                            "country": "ireland",
                            "geographicArea": null,
                            "isPrimary": null,
                            "line1": "egen (fka qarik group ltd), custom house  square ",
                            "line2": null,
                            "postalCode": "BT1 3ET"
                        },
                        {
                            "city": "naperville",
                            "country": "united states",
                            "geographicArea": "illinois",
                            "isPrimary": null,
                            "line1": "40 shuman blvd, suite 302",
                            "line2": null,
                            "postalCode": "60563"
                        },
                        {
                            "city": "hyderabad",
                            "country": "india",
                            "geographicArea": "telangana",
                            "isPrimary": null,
                            "line1": "sohini tech park, 14th floor, financial district, gachibowli",
                            "line2": null,
                            "postalCode": "500032"
                        }
                    ]
                },
                "fundingData": null,
                "specialities": [
                    "cloud",
                    "data",
                    "ai",
                    "platforms"
                ],
                "industries": [
                    "it services and it consulting"
                ],
                "hashtags": [
                    "digitaltransformation",
                    "cloud",
                    "data"
                ],
                "relevancy": {
                    "score": 0.893999,
                    "value": "B"
                }
            }
        ],
        "number": 0,
        "first": true,
        "empty": false
    },
    "page": 1,
    "num": 2,
    "total_credits": 16683,
    "credits_used": 53,
    "credits_remaining": 16630
}

Status code: 404 NOT FOUND

{
    "error": true,
    "message": "Similar companies not found"
}
PreviousSearch CompanyNextSearch People

Last updated 21 days ago