GET /v1/instagram/v2/user_id_to_username
Get user info by user ID
stable · 3 credits per success
Get user info by Instagram user ID;Can be used to convert user ID to username and get full profile;user_id: User ID;`pk`/`pk_id`: User ID;`username`: Username;`full_name`: Full name;`is_private`: Whether account is private;`is_verified`: Whether account is verified;`profile_pic_url`: Profile picture URL;`biography`: Bio;`follower_count`: Followers count;`following_count`: Following count;`media_c…
Request parameters
| Name | Type | In | Required | Description | Example |
|---|---|---|---|---|---|
| user_id | string | query | yes | 用户ID | 18527 |
Response fields
Field dictionary coming soon — the executable panel shows the live shape.
Errors
| code | HTTP | Meaning | Billed |
|---|---|---|---|
| 40001 | 400 | Invalid parameters | no |
| 40102 | 401 | Invalid or revoked API Key | no |
| 40201 | 402 | Insufficient credits | no |
| 40402 | 404 | Resource not found | no |
| 42201 | 422 | Quality gate failed | no |
| 42901 | 429 | Rate limit exceeded | no |
| 50401 | 504 | Upstream timeout | no |
| 50201 | 502 | Upstream error | no |
Billing
Success costs 3 credits. Any failure — including a 200 from upstream that fails the quality gate — costs 0.