← Back to API Ninjas
Search for historical figures
Searches notable people from history, ancient to modern, by name with partial matches supported, and returns their records. Requires `name`.
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/historicalfigures",
query: {
"name": "example"
}
});
console.log(output);Query parameters
namerequired
string
Name of the person to search. Includes partial results (e.g. 'julius' will match Julius Caesar).
offset
number
Number of results to offset pagination.