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.



Example response:

    "success": true,
    "id": "314973537",
    "username": "oracle",
    "full_name": "Oracle Corp.",
    "is_verified": true,
    "link": ""


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