PlayerDB API

Beginner's Pick Games & Comics / No Auth Required Beginner HTTPS
Free to Use
80 A
Measured Score 0 50 100 Speed 24/30 Consistency 13/20 Security 20/20 Browser access 15/15 Transparency 8/15 TESTED 2026-08-10

Overview

PlayerDB is a free, no-auth API that lets you look up public player information for Minecraft, Steam, and Xbox accounts using usernames or IDs. It returns player profile data like avatars and UUIDs instantly without any signup. It is perfect for gaming apps that need to display player profiles quickly.

Beginner Tip

Use the player username or UUID directly in the URL path — no API key needed. Minecraft lookups use the player name, while Steam uses the 64-bit Steam ID.

Measurement Record

What actually happened when we called this API from our own infrastructure. Every value below was recorded by the request, not copied from the provider's documentation.

Request
GET https://playerdb.co/api/player/minecraft/Notch
Result
HTTP 200 · application/json · 1,613 bytes · compressed
Response time
48 ms (median of 3) · fastest 38 ms
Transport
TLSv1.3 · TLS_AES_256_GCM_SHA384 · certificate issued by Google Trust Services
Browser CORS
Allowed — Access-Control-Allow-Origin: *
Served by
cloudflare
Recorded
2026-08-10

Fields Returned

Top-level fields present in the response we captured, with the type and value we actually received.

Field Type Value received
code string player.found
message string Successfully found player by given ID.
data object {1 fields}
success boolean true

Captured Response

Captured from a real request to https://playerdb.co/api/player/minecraft/Notch on 2026-08-10. Long arrays and nested objects are truncated to keep the shape readable.

JSON Response · Captured
{
  "code": "player.found",
  "message": "Successfully found player by given ID.",
  "data": {
    "player": {
      "meta": {
        "…": "(1 more fields)"
      },
      "username": "Notch",
      "id": "069a79f4-44e9-4726-a5be-fca90e38aaf5",
      "raw_id": "069a79f444e94726a5befca90e38aaf5",
      "avatar": "https://crafthead.net/avatar/069a79f444e94726a5befca90e38aaf5",
      "skin_texture": "https://textures.minecraft.net/texture/292009a4925b58f02c77dadc3ecef07ea4c7472f64e0fdc32ce5522489362680",
      "properties": [
        {
          "…": "(3 more fields)"
        }
      ],
      "name_history": []
    }
  },
  "success": true
}

Field Reference

success Whether the player lookup was successful

Implementation Example

Calls a real endpoint of this API. Replace any placeholder credentials with your own key.

Request
const url = "https://playerdb.co/api/player/minecraft/Notch";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data);

What Can You Build?

Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.

How This API Fails

We deliberately sent this API a broken request and recorded exactly what came back on 2026-08-10. Knowing the shape of an error before you hit it makes error handling much easier to write.

HTTP 404 Requesting a path that does not exist application/json
{
  "message": "No route found for given URL",
  "code": "api.404",
  "data": {},
  "success": false,
  "error": false
}

Common Errors & Troubleshooting

Generated guidance based on this API's documentation, not observed by us. Treat it as a starting point and check against the provider's own error reference.

404 Not Found The player username or ID does not exist or was spelled incorrectly
Double-check the username spelling and ensure you are using the correct platform path (minecraft, steam, or xbox)
success: false in response The API returned a valid response but could not find the player
Check the message field in the response body for details and verify the player identifier is correct
Network timeout The upstream Mojang or Xbox API is temporarily slow
Retry the request after a few seconds; implement a retry mechanism with a short delay in your application

Measured Score Breakdown

Live HTTP request to the API endpoint

Speed 24/30
Consistency 13/20
Security 20/20
Browser access 15/15
Transparency 8/15
Endpoint Response Time 48ms

Fully tested on Aug 10, 2026

Technical Specifications

Auth No Auth
HTTPS REQUIRED
CORS UNKNOWN
Category Games & Comics
Difficulty Beginner
Endpoint last called: 2026-08-10

Related Tags

Similar APIs

View All →