This Person Does not Exist API

⭐ Beginner's Pick Test Data / No Auth Required Beginner HTTPS
Free to Use Varies (check documentation)

Overview

This Person Does Not Exist serves AI-generated photorealistic face images of people who do not actually exist. Every page refresh returns a new unique face with no authentication required. It is ideal for placeholder profile photos in mockups and demos.

💡

Beginner Tip

The site returns a new random image on every request — there is no ID or seed parameter, so you cannot request the same image twice. Save the image locally if you need to reuse it.

Available Data

randomly generated data
customizable output format
This Person Does not Exist data via REST API
JSON-formatted response data
Freely accessible without authentication

Example Response

JSON Response
{
  "status": "success",
  "data": {
    "result": "Data from This Person Does not Exist",
    "description": "Generates real-life faces of people who do not exist",
    "timestamp": "2025-01-15T10:00:00Z"
  }
}

Field Reference

(binary image) Response is a raw JPEG image — no JSON; reference the URL as an img src or download with curl -L

Implementation Example

const url = "https://thispersondoesnotexist.com/";
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.

Common Errors & Troubleshooting

Cannot get a specific face again No seed or ID parameter exists — every request is random
Download and save the image file locally when you find one you want to reuse
CORS error in browser fetch The endpoint does not expose CORS headers for JS fetch
Use the URL directly in an img tag rather than fetching it with JavaScript
Slow load time Images are high-resolution (1024x1024) by default
Resize the image client-side with CSS or an image processing library after download

Matrix Score Breakdown

🌐 Reachability 30/30
⚡ Speed 10/20
🔒 Security 15/15
🛠 Developer XP 15/20
✓ Reliability 7/15
Response Time 598ms

Fully tested on Apr 5, 2026

Technical Specifications

Auth No Auth
HTTPS REQUIRED
CORS UNKNOWN
Category Test Data
Difficulty Beginner
Verified: 2026-04-04

Similar APIs

View All →