# Mojang Minecraft Profile Scraper (`acquistion-automation/mojang-minecraft-profile-scraper`) Actor

Scrapes Minecraft player profiles from Mojang's public session server by username. Returns UUID, current name, and skin URL in a flat row.

- **URL**: https://apify.com/acquistion-automation/mojang-minecraft-profile-scraper.md
- **Developed by:** [Acquisition Automation Co.](https://apify.com/acquistion-automation) (community)
- **Categories:** Developer tools, Games, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.90 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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`).

# README

![Acquisition Automation Co. Search less. Close more.](https://api.apify.com/v2/key-value-stores/AOdPHdOpeDpzEPS5f/records/banner.jpg)

## 🎮 Mojang Minecraft Profile Scraper

> **Turn a list of Minecraft usernames into rows with the UUID, skin texture URL, cape URL and skin model.** Two lookups per player are done for you: username to UUID, then UUID to profile textures. No API key, no account, no Microsoft login.

Mojang publishes player identity across two public endpoints, and neither returns what you actually need on its own. The first maps a username to a UUID. The second takes that UUID and returns a base64 blob you have to decode before the skin and cape URLs are readable. This Actor does both steps and the decoding, then writes one flat row per username.

| Who uses it | What they use profiles for |
|---|---|
| 🖥 Server operators | Resolving a whitelist or ban list of usernames to stable UUIDs before a migration |
| 🧩 Plugin and mod developers | Batch-resolving players without writing and rate-limiting two API calls |
| 🏆 Tournament and community admins | Checking that a roster of signups maps to real, current accounts |
| 🎨 Skin and avatar tools | Pulling texture URLs and the skin model for rendering |

### 📋 What it does

> 💡 **Why it matters:** usernames change, UUIDs do not. Any list keyed on a name goes stale. Resolving the whole list to UUIDs once is what stops that.

- 🔎 **Takes a plain list of usernames** and returns one row per name, in the order you supplied them.
- 🆔 **Resolves to the UUID**, the identifier that survives a name change and the one every server API expects.
- 👕 **Decodes the texture payload** so the skin URL and cape URL arrive as plain links, not as base64 inside a property object.
- 🧍 **Returns the skin model**, `classic` or `slim`, which is what a renderer needs to size the arms correctly.
- ⚠️ **Surfaces profile actions**, the list Mojang uses to mark an account as forced to change name or banned from multiplayer. Empty on a normal account.
- 💾 **Exports to CSV, Excel, JSON or XML**, from the run page or the API.

### 📊 Output

Every username is one flat row. `capeUrl` is `null` for accounts with no cape, which is most of them.

| Field | Type | Description |
|---|---|---|
| 🖼 `imageUrl` | string | Skin texture link, the same value as `skinUrl`, kept as a generic image column |
| 👤 `username` | string | Current name on the account, as Mojang spells it |
| 🆔 `uuid` | string | Account UUID, 32 hex characters without dashes |
| 🚩 `profileActions` | array | Moderation flags on the account. Empty on a normal profile |
| 👕 `skinUrl` | string | Skin texture link on `textures.minecraft.net` |
| 🧣 `capeUrl` | string | Cape texture link, or `null` where the account has no cape |
| 🧍 `model` | string | Skin model, `classic` or `slim` |
| 🕒 `scrapedAt` | string | ISO timestamp of collection |
| ⚠️ `error` | string | `null` on a normal row |

#### Example rows

```json
{
  "imageUrl": "http://textures.minecraft.net/texture/292009a4925b58f02c77dadc3ecef07ea4c7472f64e0fdc32ce5522489362680",
  "username": "Notch",
  "uuid": "069a79f444e94726a5befca90e38aaf5",
  "profileActions": [],
  "skinUrl": "http://textures.minecraft.net/texture/292009a4925b58f02c77dadc3ecef07ea4c7472f64e0fdc32ce5522489362680",
  "capeUrl": null,
  "model": "classic",
  "scrapedAt": "2026-09-14T15:13:15.699Z",
  "error": null
}
```

```json
{
  "imageUrl": "http://textures.minecraft.net/texture/7fd9ba42a7c81eeea22f1524271ae85a8e045ce0af5a6ae16c6406ae917e68b5",
  "username": "jeb_",
  "uuid": "853c80ef3c3749fdaa49938b674adae6",
  "profileActions": [],
  "skinUrl": "http://textures.minecraft.net/texture/7fd9ba42a7c81eeea22f1524271ae85a8e045ce0af5a6ae16c6406ae917e68b5",
  "capeUrl": "http://textures.minecraft.net/texture/9e507afc56359978a3eb3e32367042b853cddd0995d17d0da995662913fb00f7",
  "model": "classic",
  "scrapedAt": "2026-09-14T15:13:15.826Z",
  "error": null
}
```

### ✨ Why choose this Actor

| | What you get |
|---|---|
| **Two calls collapsed into one row** | Name to UUID and UUID to textures, done and joined. |
| **The base64 blob already decoded** | Skin and cape arrive as URLs you can open, not as an encoded property. |
| **No credentials** | Both endpoints are public. No API key, no Microsoft account, no OAuth. |
| **The same 9 fields every run** | Append batches into one dataset without cleaning columns. |
| **You pay per row** | No subscription. $0.001 per profile on the Free plan. |

### 🚀 How to use it

1. [Create a free Apify account](https://console.apify.com/sign-up). New accounts start with $5 of credit.
2. Open the Actor and select **Try for free**.
3. Paste your usernames into `usernames`, one per line.
4. Set `maxItems` to cap the run.
5. Select **Start**, then export from the **Dataset** tab as CSV, Excel, JSON or XML.

A first run:

```json
{
  "usernames": ["Notch", "jeb_", "Dinnerbone"],
  "maxItems": 10
}
```

A larger batch:

```json
{
  "usernames": ["Notch", "jeb_", "Dinnerbone", "Grumm", "Searge"],
  "maxItems": 1000
}
```

### ⚙️ Input

| Field | Required | Description |
|---|---|---|
| `usernames` | No | Minecraft usernames to look up, one per line. Each name produces one row |
| `maxItems` | No | Maximum profiles per run. Free plan is capped at 10, paid plans up to 1,000,000 |

### 💰 Pricing

Pay per result. No subscription, and no Apify platform usage on top.

| Apify plan | Free | Bronze | Silver | Gold | Platinum | Diamond |
|---|---|---|---|---|---|---|
| Per profile row | $0.001 | $0.00097 | $0.00094 | $0.0009 | $0.0009 | $0.0009 |

| Rows collected | Cost on the Free plan |
|---|---|
| 100 | $0.10 |
| 1,000 | $1.00 |
| 10,000 | $10.00 |

**Free plan runs** return up to 10 rows as a preview. Any paid Apify plan lifts that to 1,000,000 per run.

### 🔌 Integrate with any app

The dataset is available through the Apify API as soon as the run finishes. Use `run-sync-get-dataset-items` for a one-shot call, webhooks to trigger what happens next, or the Make, Zapier, Airbyte and LangChain integrations listed on the Actor page.

### 🤖 Use with an AI agent

Give an agent live access to the profile lookup over the Model Context Protocol:

```bash
claude mcp add --transport http apify "https://mcp.apify.com?tools=acquistion-automation/mojang-minecraft-profile-scraper"
```

Then hand it a list of usernames and ask which ones failed to resolve.

### ❓ Frequently asked questions

**Does it return the player's name history?**
No. Mojang retired the name history endpoint, so each row carries the current username only. There is no previous-names field.

**What happens to a username that does not exist?**
Mojang returns nothing for it. The Actor does not invent a row with a made-up UUID.

**Why does `uuid` have no dashes?**
That is how the session server returns it. Insert dashes at positions 8, 12, 16 and 20 if a tool you use expects the hyphenated form.

**Are `imageUrl` and `skinUrl` different?**
No. `imageUrl` repeats the skin texture link so the dataset has a generic image column for tools that expect one. Use either.

**Does it work for Bedrock or cracked accounts?**
No. This reads Mojang's session server, which covers Java Edition accounts only.

**What can I export?**
CSV, Excel, JSON and XML from the run page, or JSON straight from the API.

### 🔗 More from Acquisition Automation Co.

- [RAWG Video Games Scraper](https://apify.com/acquistion-automation/rawg-scraper)
- [Tunefind Soundtracks Scraper](https://apify.com/acquistion-automation/tunefind-soundtracks-scraper)
- [Bundesliga Stats Scraper](https://apify.com/acquistion-automation/bundesliga-stats-scraper)
- [404 Media Articles Scraper](https://apify.com/acquistion-automation/404media-articles-scraper)
- [BizBuySell Scraper](https://apify.com/acquistion-automation/bizbuysell-scraper)

### About Acquisition Automation Co.

We build automation for people buying businesses. The repetitive part of an acquisition search, checking listings, pulling public records, tracking owners and assets, is work a machine should do, so the buyer's time goes into judging deals instead of collecting them.

We add new Actors regularly. If there is a source you need and do not see here, tell us.

### 🆘 Support

Open an issue in the **Issues** tab of this Actor with your run ID, the input you used, and what you expected to get back.

### ⚠️ Disclaimer

This Actor is independent and is not affiliated with, endorsed by, or sponsored by Mojang Studios or Microsoft. It collects only publicly available data. You are responsible for using that data in compliance with the source's terms of service and applicable law.

# Actor input Schema

## `usernames` (type: `array`):

Minecraft usernames to look up (one per line).

## `maxItems` (type: `integer`):

Free users: Limited to 10 profiles (preview). Paid users: Optional, max 1,000,000

## Actor input object example

```json
{
  "usernames": [
    "Notch",
    "jeb_",
    "Dinnerbone"
  ],
  "maxItems": 10
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "usernames": [
        "Notch",
        "jeb_",
        "Dinnerbone"
    ],
    "maxItems": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("acquistion-automation/mojang-minecraft-profile-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "usernames": [
        "Notch",
        "jeb_",
        "Dinnerbone",
    ],
    "maxItems": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("acquistion-automation/mojang-minecraft-profile-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "usernames": [
    "Notch",
    "jeb_",
    "Dinnerbone"
  ],
  "maxItems": 10
}' |
apify call acquistion-automation/mojang-minecraft-profile-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,acquistion-automation/mojang-minecraft-profile-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/hmZfchBQMWCbZzLHx/builds/zteKs7WPjIp18wHwZ/openapi.json
