News & Updates

How to Locate Instagram News ID and Reveal Account Names

By Dominic Hawke 6 min read 4861 views

How to Locate Instagram News ID and Reveal Account Names

Why You Might Need the ID in the First place

Most people think a username is enough to track a post, but behind every Instagram story, reel or news‑type update lies a numeric ID. Those IDs are the keys that third‑party tools, advertisers and even savvy journalists use to query the platform’s API, verify authenticity, or pull analytics that aren’t visible to the casual scroll‑through.

If you’ve ever tried to pull a post into a reporting spreadsheet and hit a dead end, you’re not alone. The interface hides the ID, so you have to dig a little deeper—exactly what this guide explains.

Step‑by‑step: Extracting the ID from a Web Browser

  • Open the post in a desktop browser. Mobile apps compress the URL, making the ID harder to spot.
  • Right‑click and select “View Page Source.” A new tab opens with raw HTML.
  • Search (Ctrl + F) for “Shortcode” or “media_id”. The numeric string that follows—usually a long sequence of numbers— is the Instagram News ID.
  • Copy the number. That’s the identifier you’ll feed into analytics tools or Instagram’s Graph API.

If the source looks messy, look for a pattern like "media_id":"17912345678901234". The digits after the colon, before the closing quote, are what you need.

Using the Inspect Element Trick on Mobile

Desktop isn’t always an option, especially when you’re on the go. Modern mobile browsers let you inspect elements too:

  • Tap the three‑dot menu, choose “Desktop site.”
  • Long‑press the post and hit “Inspect.” (iOS Safari needs a “Web Inspector” shortcut, Android Chrome usually shows it directly.)
  • Navigate to the <script> block that contains window._sharedData. Inside you’ll find "media_id" again.

It’s a few extra taps, but it frees you from needing a laptop.

Quickest Way: Third‑Party URL Converters

Several free websites let you paste a regular Instagram URL and instantly return the numeric ID. They work by replicating the steps above behind the scenes. A few reliable names:

  • IGLookup.io – straightforward, no sign‑up required.
  • InstaID.org – shows both the ID and the associated shortcode.
  • SocialBlade’s Instagram tool – adds follower stats alongside the ID.

Just be wary of services that ask for your Instagram password; the ID is public information, so no login should be needed.

Finding the Account Name When You Only Have an ID

Sometimes you’ll receive a raw ID from a client or a data dump without any username attached. Here’s how to reverse‑lookup:

  • Construct a Graph API query: https://graph.facebook.com/v16.0/IG_MEDIA_ID?fields=username&access_token=YOUR_TOKEN. Replace IG_MEDIA_ID with the numeric ID and insert a valid access token (you can generate one in Facebook’s developer portal).
  • If you don’t have API access, use the same URL trick as before but replace the media endpoint with the user endpoint: https://i.instagram.com/api/v1/media/{ID}/info/. The JSON response includes username among other fields.
  • For a no‑code option, drop the ID into IGIDLookup.com. The site will fetch the username for you, again without demanding credentials.

Remember, the Graph API has rate limits, so batch requests in groups of 50 to stay under the threshold.

Why Knowing Both ID and Username Matters

From a reporting perspective, the ID is immutable—Instagram can change a user’s display name, but the numeric identifier stays the same. That permanence lets you track a story across re‑posts or account name changes. For marketers, the ID is the anchor point for ad‑tracking pixels and conversion events.

Common Pitfalls and How to Avoid Them

Mixing up shortcodes with IDs. A shortcode looks like “B7x9Yk2JXy7” and is easier to read, but it’s not the same as the 17‑digit ID you need for API calls. Always double‑check the numeric string.

Using outdated API versions. Instagram upgrades its Graph API roughly once a year. An endpoint that worked in version 12 may throw an error in version 16. Keep an eye on Facebook’s developer changelog.

Running into privacy blocks. Private accounts hide media IDs from public queries. If you can’t retrieve an ID, the post is likely from a private profile, and you’ll need the account owner’s permission to access it.

Bonus: Automating the Process with a Simple Script

If you often need to pull dozens of IDs, a short Python script can save hours. Here’s a skeleton you can adapt:

import requests, json

def get_media_id(url):

resp = requests.get(url)

data = resp.text

start = data.find('"media_id":"') + 12

end = data.find('"', start)

return data[start:end]

def get_username(media_id, token):

api = f"https://graph.facebook.com/v16.0/{media_id}?fields=username&access_token={token}"

return json.loads(requests.get(api).text)['username']

# Example usage

post_url = "https://www.instagram.com/p/CoXyzABC12/"

token = "YOUR_ACCESS_TOKEN"

mid = get_media_id(post_url)

print("Media ID:", mid)

print("Username:", get_username(mid, token))

Run it in a virtual environment, replace the placeholders, and you’ll have a reliable pipeline.

Wrapping Up the Essentials

Whether you’re a journalist verifying a source, a brand manager tracking campaign reach, or just a curious user, knowing how to pull the Instagram News ID and map it back to the account name empowers you to work with data that Instagram otherwise keeps hidden. The methods above—browser inspection, mobile tricks, third‑party converters, API queries and a quick script—cover every level of tech comfort. Pick the one that fits your workflow, and you’ll never be stuck guessing again.

3001+ Best Instagram Id Names Ideas For Boys and Girls [2025] - Social ...
How To Search A Person on Instagram By Photo | How To Find Someone ...
Instagram User ID Names: Crafting The Perfect Identity For Your Profile
Instagram ID Names: 500+ Unique, Cool and Aesthetic Username Ideas

Written by Dominic Hawke

Dominic Hawke is a Chief Correspondent with over a decade of experience covering breaking trends, in-depth analysis, and exclusive insights.