PERSONA
Documentation

Documentation

Response

The version 2 response holds profiles in `results` and generation information in `meta`.

JSON structure

FieldContents
results[].idSynthetic ID
results[].namefirst, last, full
results[].dobdate, age, ageGroup
results[].locationIllustrative address, city, country, postcode, city coordinates
results[].email / phoneGenerated contact details; phone may be null
results[].pictureWebP large, medium, thumbnail URLs or null
metacount, asOf, seed, schemaVersion, dataVersion, catalogVersion

Fields that may be missing

picture is null when no approved portrait matches. phone, street, state and postcode can also be null. login is omitted by default and only appears with fields=login or one of its child paths.

Coordinates use `precision: "city" and identify a GeoNames city point, never a person or street.

Minimal reading example

JS
const response = await fetch('https://persona-dev.onrender.com/people?count=1');
if (!response.ok) throw new Error(`Persona returned ${response.status}`);
const { results, meta } = await response.json();
console.log(results[0].name.full, results[0].location.city, meta.schemaVersion);