---
title: "Get a random profile photo"
method: GET
path: "/v1/images/random"
---

# Get a random profile photo

`GET /v1/images/random`

## Request

- Base URL: `https://random-profiles.com`
- URL: `https://random-profiles.com/v1/images/random`
- Auth: API key in header `X-API-Key`

## Query parameters

- `size` 64 | 128 | 256 | 512 | 1024
- `format` 'jpg' | 'webp'
- `key` string

## Response `200`

JPEG or WebP image

## Other responses

- `401`: Invalid or missing API key
- `429`: Daily request limit reached

---

[API](https://skmtc.dev/random-profiles/apis/random-profiles-api.md) · [All operations](https://skmtc.dev/random-profiles/apis/random-profiles-api/llms.txt) · [OpenAPI document](https://skmtc.dev/random-profiles/apis/random-profiles-api/revisions/ccbd86a234e6?raw)
