NewConnect Claude, Cursor, ChatGPT, and other AI agents to API Ninjas via our MCP server

Historical Figures API

The Historical Figures API allows you to search for famous (or infamous) people in history. From ancient civilizations to the current decade, our database contains a wide range of notable individuals from all walks of life.

(4.3)

From 10,175 users

800+

Applications using this API

API Status

Online - All Systems Operational

API Response Times

Average
P50
P75
P90
P95
287ms324ms342ms748ms1068ms

Didn't find what you were looking for? Suggest an improvement


/v1/historicalfigures GET

https://api.api-ninjas.com/v1/historicalfigures

Returns a list of up to 10 people that match the search parameters.

Parameters

  • name  required

    Name of the person to search. Includes partial results (e.g. julius will match Julius Caesar).

  • offset  optional

    Number of results to offset pagination.

Headers

  • X-Api-Key  required

    API Key associated with your account.

Response

A JSON array of objects, each containing the following fields, or an error if the request is unsuccessful.

  • name

    Full name of the historical figure.

  • title

    Title or description of the person's role/occupation.

  • info

    Object containing detailed biographical information about the historical figure.

Sample Request Live Demo!

name
offset

Try this API endpoint with all available parameters in our API playground

https://api.api-ninjas.com/v1/historicalfigures?name=julius%20caesar

Headers

X-Api-KeyLog in or sign up to get your API Key

Sample Response

JSON

Code Examples

1 2 curl -X GET "https://api.api-ninjas.com/v1/historicalfigures?name=julius%20caesar" \ -H "X-Api-Key: YOUR_API_KEY"

If your programming language is not listed in the Code Example above, you can still make API calls by using a HTTP request library written in your programming language and following the above documentation.