Endpoint
Restricted API keys need the
media:search scope to call this endpoint.Request Body
string
required
What to search for. Terms that pair an identity with a style keyword work best — for example
black girl selfie, asian woman aesthetic, hispanic guy selfie.number
How many pictures to return. Defaults to
12, capped at 40.Response
{ pictures: PfpCandidate[]; search_term: string; count: number }
The candidates that survived the already-used filter.
count is how many are
in pictures, which can be fewer than requested — or zero, if the term found
nothing or everything it found is already in use. An empty result is a signal
to try a different term, not an error.string
Stable identifier for this picture. Pass it to Filter Media by Usage or record it against a use to keep the picture out of later searches.
string
Full-resolution image — the one to set as an account’s profile picture.
string
Smaller variant, for rendering a grid of options.
