Skip to main content
POST
/
v1
/
profiles
import InflushipAPI from 'influship';

const client = new InflushipAPI({
apiKey: 'My API Key',
});

const response = await client.profiles.lookup({
profiles: [
{ platform: 'instagram', username: 'fitness_guru' },
{ platform: 'tiktok', username: 'fitness_guru' },
],
});

console.log(response.profiles);
{
"profiles": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"creator_profile_id": "123e4567-e89b-12d3-a456-426614174000",
"platform": "instagram",
"username": "<string>",
"display_name": "<string>",
"bio": "<string>",
"verified": true,
"follower_count": 125000,
"engagement_rate": 4.2,
"avatar_url": "<string>",
"external_url": "<string>"
}
]
}

Authorizations

X-API-Key
string
header
required

API key for authentication

Body

application/json
profiles
object[]
required
Required array length: 1 - 100 elements
Example:
[
{
"platform": "instagram",
"username": "fitness_guru"
},
{
"platform": "tiktok",
"username": "fitness_guru"
}
]
mode
enum<string>
default:lite

Response detail level - lite for basic fields, detailed for additional metrics

Available options:
lite,
detailed
platforms
enum<string>[]

Filter results to only include these platforms

Available options:
instagram,
tiktok
Example:
["instagram", "tiktok"]

Response

Profile information with all data and recent posts

profiles
object[]

Array of social account objects. The structure depends on the mode parameter:

  • If mode: "lite": Returns SocialAccountLite objects
  • If mode: "detailed": Returns SocialAccountDetailed objects with additional fields

Basic social account information returned in lite mode

  • Option 1
  • Option 2