get_v2_user_by_username
Fetch an Instagram profile by username without @, returning the user object and numeric pk for other user tools. Use when you have a handle instead of a numeric user ID.
Instructions
Get an Instagram profile by username (without @). Use it when you have a handle; use get_v2_user_by_id when you already know the numeric user id (faster), and get_gql_user_about for the "About this account" panel. Returns the user object; pass its pk as the user id to the other user tools. Live request to Instagram, one billed request per call. (GET /v2/user/by/username)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"username": "<username>"
},
"name": "get_v2_user_by_username"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| safe_int | No | Convert all big integers to strings | |
| username | Yes |