Skip to main content
POST
/
api
/
linkedin
/
email
/
sql
/
user
/linkedin/email/sql/user
curl --request POST \
  --url https://api.anysite.io/api/linkedin/email/sql/user \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "email": "<string>",
  "timeout": 300
}
'
import requests

url = "https://api.anysite.io/api/linkedin/email/sql/user"

payload = {
"email": "<string>",
"timeout": 300
}
headers = {
"access-token": "<api-key>",
"Content-Type": "application/json"
}

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

print(response.text)
const options = {
method: 'POST',
headers: {'access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({email: '<string>', timeout: 300})
};

fetch('https://api.anysite.io/api/linkedin/email/sql/user', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://api.anysite.io/api/linkedin/email/sql/user",
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([
'email' => '<string>',
'timeout' => 300
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"access-token: <api-key>"
],
]);

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

curl_close($curl);

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

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

func main() {

url := "https://api.anysite.io/api/linkedin/email/sql/user"

payload := strings.NewReader("{\n \"email\": \"<string>\",\n \"timeout\": 300\n}")

req, _ := http.NewRequest("POST", url, payload)

req.Header.Add("access-token", "<api-key>")
req.Header.Add("Content-Type", "application/json")

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

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

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.post("https://api.anysite.io/api/linkedin/email/sql/user")
.header("access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"email\": \"<string>\",\n \"timeout\": 300\n}")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.anysite.io/api/linkedin/email/sql/user")

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

request = Net::HTTP::Post.new(url)
request["access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"email\": \"<string>\",\n \"timeout\": 300\n}"

response = http.request(request)
puts response.read_body
[
  {
    "internal_id": {
      "value": "<string>"
    },
    "urn": {
      "value": "<string>"
    },
    "name": "<string>",
    "alias": "<string>",
    "url": "<string>",
    "@type": "LinkedinUser",
    "first_name": "<string>",
    "last_name": "<string>",
    "headline": "<string>",
    "follower_count": 123,
    "image": "<string>",
    "background_image": "<string>",
    "connection_count": 123,
    "top_skills": [
      "<string>"
    ],
    "location": "<string>",
    "country_code": "<string>",
    "country": "<string>",
    "city": "<string>",
    "pronouns": "<string>",
    "custom_pronouns": "<string>",
    "experience": [
      {
        "company": {
          "name": "<string>",
          "@type": "LinkedinUserExperienceCompany",
          "urn": {
            "value": "<string>"
          },
          "url": "<string>",
          "alias": "<string>",
          "industry": {
            "type": "<string>",
            "value": "<string>"
          },
          "industry_full": {
            "urn": {
              "type": "<string>",
              "value": "<string>"
            },
            "name": "<string>",
            "hierarchy": "<string>",
            "@type": "LinkedinIndustry"
          },
          "employee_range": "<string>",
          "logo_url": "<string>"
        },
        "@type": "LinkedinUserExperience",
        "position": "<string>",
        "interval": "<string>",
        "period": "<string>",
        "location": "<string>",
        "medias": [
          {
            "@type": "LinkedinUserExperienceMedia",
            "id": "<string>",
            "url": "<string>",
            "text": "<string>",
            "image": "<string>"
          }
        ]
      }
    ],
    "education": [
      {
        "company": {
          "name": "<string>",
          "@type": "LinkedinUserEducationCompany",
          "urn": {
            "value": "<string>"
          },
          "url": "<string>",
          "alias": "<string>",
          "industry": {
            "type": "<string>",
            "value": "<string>"
          },
          "industry_full": {
            "urn": {
              "type": "<string>",
              "value": "<string>"
            },
            "name": "<string>",
            "hierarchy": "<string>",
            "@type": "LinkedinIndustry"
          },
          "employee_range": "<string>",
          "logo_url": "<string>"
        },
        "@type": "LinkedinUserEducation",
        "major": "<string>",
        "interval": "<string>"
      }
    ],
    "languages": [
      {
        "name": "<string>",
        "@type": "LinkedinUserLanguage",
        "level": "<string>"
      }
    ],
    "certificates": [
      {
        "name": "<string>",
        "@type": "LinkedinUserCertificate",
        "company": {
          "name": "<string>",
          "@type": "LinkedinUserCertificateCompany",
          "urn": {
            "value": "<string>"
          },
          "url": "<string>"
        },
        "created_at": "<string>",
        "label": "<string>",
        "url": "<string>"
      }
    ],
    "honors": [
      {
        "name": "<string>",
        "@type": "LinkedinUserHonor",
        "issued_by": "<string>",
        "issued_at": "<string>",
        "text": "<string>"
      }
    ],
    "patents": [
      {
        "name": "<string>",
        "@type": "LinkedinUserPatent",
        "id": "<string>",
        "issued_at": "<string>",
        "text": "<string>",
        "url": "<string>",
        "inventor_count": 123
      }
    ],
    "skills": [
      {
        "name": "<string>",
        "@type": "LinkedinUserSkill",
        "urn": {
          "value": "<string>"
        }
      }
    ],
    "verified": false,
    "is_premium": false,
    "is_top_voice": false
  }
]
{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
email
string
required
timeout
integer
default:300
Required range: 20 <= x <= 1500

Response

Successful Response

internal_id
object
required
urn
object
required
name
string
required
alias
string
required
url
string
required
@type
string
default:LinkedinUser
first_name
string | null
last_name
string | null
headline
string | null
follower_count
integer | null
image
string | null
background_image
string | null
connection_count
integer | null
top_skills
string[] | null
frame
enum<string> | null
Available options:
open_to_work,
hiring
location
string | null
country_code
string | null
country
string | null
city
string | null
pronouns
string | null
custom_pronouns
string | null
experience
object[] | null
education
object[] | null
languages
object[] | null
certificates
object[] | null
honors
object[] | null
patents
object[] | null
skills
object[] | null
verified
boolean
default:false
is_premium
boolean
default:false
is_top_voice
boolean
default:false