# Find the Instagram user ID of a username, and back

**Use case:** 

Get the permanent Instagram ID of any username — or the current username of any ID — with the account's name and followers. Mix usernames and IDs in one list. No login.

## Input

```json
{
  "usernames": [
    "natgeo",
    "nasa",
    "787132"
  ]
}
```

## Output

```json
{
  "input": {
    "label": "Input"
  },
  "username": {
    "label": "Username"
  },
  "id": {
    "label": "ID"
  },
  "fullName": {
    "label": "Name"
  },
  "followers": {
    "label": "Followers",
    "format": "number"
  },
  "isPrivate": {
    "label": "Private",
    "format": "boolean"
  },
  "isVerified": {
    "label": "Verified",
    "format": "boolean"
  },
  "error": {
    "label": "Not returned"
  },
  "message": {
    "label": "Why"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Instagram User ID Finder · ID to Username Actor is ready to run with the inputs already set for "Find the Instagram user ID of a username, and back". [Sign up or log in](https://console.apify.com/create-task-from-example/4gt4cUKir69aIQN1L) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Find the Instagram user ID of a username, and back" task

The Instagram User ID Finder · ID to Username Actor will start running based on the input automatically. You can also change all the input fields, like usernames or ids, to match your specific use case.

### 3. Receive the "Find the Instagram user ID of a username, and back" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as input, username, ID, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Find the Instagram user ID of a username, and back" task via API](https://apify.com/instagram-data-api/instagram-user-id-finder.md).

## FAQ

### How much does this cost?

$0.45 per 1,000 on the Starter plan, plus $0.0005 per run. This example costs about $0.0019.

### Do I need an Instagram account?

No. The task reads public Instagram data: no login, no cookies, nothing to set up.

## About this Actor

This example demonstrates how to use [Instagram User ID Finder · ID to Username](https://apify.com/instagram-data-api/instagram-user-id-finder.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/instagram-data-api/instagram-user-id-finder.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/instagram-data-api/instagram-user-id-finder.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
