UnifAPI Docs
Instagram

Get an Instagram user profile by username

Returns the canonical Instagram profile for the given URL slug (`username`). Costs 2 upstream calls (gateway resolves `user_id` first).

GET
/instagram/users/{username}

Authorization

bearerAuth
AuthorizationBearer <token>

UnifAPI API key (forwarded verbatim as the upstream provider token).

In: header

Path Parameters

username*string

Instagram URL slug, e.g. instagram

Length1 <= length

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/instagram/users/string"
{
  "id": "string",
  "user_id": "string",
  "username": "string",
  "full_name": "string",
  "is_verified": true,
  "is_private": true,
  "profile_pic_url": "string",
  "follower_count": 0,
  "following_count": 0,
  "media_count": 0,
  "fbid_v2": "string"
}
{
  "error": {
    "type": "validation_error",
    "message": "string",
    "request_id": "string",
    "issues": [
      null
    ]
  }
}
{
  "error": {
    "type": "validation_error",
    "message": "string",
    "request_id": "string",
    "issues": [
      null
    ]
  }
}
{
  "error": {
    "type": "validation_error",
    "message": "string",
    "request_id": "string",
    "issues": [
      null
    ]
  }
}
{
  "error": {
    "type": "validation_error",
    "message": "string",
    "request_id": "string",
    "issues": [
      null
    ]
  }
}
{
  "error": {
    "type": "validation_error",
    "message": "string",
    "request_id": "string",
    "issues": [
      null
    ]
  }
}
{
  "error": {
    "type": "validation_error",
    "message": "string",
    "request_id": "string",
    "issues": [
      null
    ]
  }
}
{
  "error": {
    "type": "validation_error",
    "message": "string",
    "request_id": "string",
    "issues": [
      null
    ]
  }
}