← Back to API Ninjas
GET/v1/celebrity

Get celebrity information

Returns celebrity records with net worth, profession, and birthday, filtered by name, net worth range, nationality, or height in meters.

API Ninjas·$0.001 per call

Example code

// Using @orth/sdk - The simplest way to call APIs // Install: npm install @orth/sdk import Orthogonal from "@orth/sdk"; const orthogonal = new Orthogonal({ apiKey: process.env.ORTHOGONAL_API_KEY, }); const output = await orthogonal.run({ api: "api-ninjas", path: "/v1/celebrity" }); console.log(output);

Query parameters

name
string

Name of the celebrity you wish to search. This field is case-insensitive.

min_net_worth
number

Minimum net worth of celebrities.

max_net_worth
number

Maximum net worth of celebrities.

nationality
string

Nationality of celebrities. Must be an ISO 3166 Alpha-2 country code (e.g. US).

min_height
number

Minimum height of celebrities in meters (e.g. 1.65).

max_height
number

Maximum height of celebrities in meters (e.g. 1.80).

offset
number

Number of results to offset for pagination.

    Orthogonal - Giving AI agents the tools they need.