Skip to main content
GET
/
v1
/
linkedin
/
get_user_follower_and_connection
cURL
curl --request GET \
  --url 'https://api.keyapi.ai/v1/linkedin/get_user_follower_and_connection?username=zoranmilosevic' \
  --header 'Authorization: Bearer <YOUR_API_KEY>'
import requests

response = requests.get(
'https://api.keyapi.ai/v1/linkedin/get_user_follower_and_connection',
params={"username": "zoranmilosevic"},
headers={'Authorization': 'Bearer <YOUR_API_KEY>'}
)
print(response.json())
const params = new URLSearchParams({"username": "zoranmilosevic"});

const response = await fetch(`https://api.keyapi.ai/v1/linkedin/get_user_follower_and_connection?${params}`, {
method: 'GET',
headers: { 'Authorization': 'Bearer <YOUR_API_KEY>' }
});
const data = await response.json();
console.log(data);
{
  "code": 0,
  "message": "success",
  "data": {
    "follower_count": 28236,
    "connection_count": 12563
  }
}
{
"code": 400,
"data": null,
"message": "Missing required parameter: handle"
}
{
"code": 401,
"data": null,
"message": "apiKey is null"
}
{
"code": 402,
"data": null,
"message": "apiKey quota is not enough"
}
{
"code": 429,
"data": null,
"message": "qps limit exceeded"
}
{
"code": 500,
"data": null,
"message": "Internal server error"
}
🪙1 creditper request

Copy for AI

🤖 Why Code When AI Can Do It For You?

Stop writing code like it’s 1970! Let AI do the heavy lifting - click the sparkles to copy a perfectly formatted prompt for ChatGPT, Claude, or your favorite AI assistant.

Authorizations

Authorization
string
header
required

API key for authentication. Format: sk_live_xxxxxxxxxxxxx Get your API key from the Dashboard.

Query Parameters

username
string
required

LinkedIn username

Response

The response is of type object.