Categories
Instagram

How to get Instagram user ID by username?

I’m going to show you how you can get an Instagram user ID by username using AccentAPI.

Endpoint:

GET https://api.accentapi.com/v1/instagram-user-id?username=oracle&private_key=YOUR_PRIVATE_KEY

Example response:

{
    "success": true,
    "id": "314973537",
    "username": "oracle",
    "full_name": "Oracle Corp.",
    "is_verified": true,
    "link": "http://instagram.com/oracle"
}

Parameters:

username On the example URL above, we are using “oracle” as the username. You can change this to anything you want, depending on your project.

private_key You need to subscribe to our service to get your own private API key.

Pricing: $20/month for 1,000 requests per day. If you need to use this API for your project, you can pay using this link. Once we received your payment, we will send your own private API key via email.

If you have further questions, please send an email to mike@codeofaninja.com