Get Instagram profile by user ID
The same profile record as /user/info, looked up by numeric user_id instead of username. Use it when you already hold an ID and want to check whether the account still exists or has been renamed.
3 credits / requestBilled only on success
Authorization
ApiKeyAuth x-api-key<token>
In: header
Query Parameters
user_id*string
Numeric user ID of a public account. Get it from the user_id field of the /user/info response.
Length
1 <= lengthcurl -X GET "https://example.com/v3/instagram/user/info/by-id?user_id=25025320" \ -H "x-api-key: YOUR_API_KEY"{ "data": { "property1": null, "property2": null }}