Skip to main content
POST
Get Historical Events

Request contract

  • Method and path: POST /apis/v1/api-ninjas/get-historical-events
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/api-ninjas/get-historical-events
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.00089 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
day
integer

Calendar day of the month to filter events (1-31).

Required range: 1 <= x <= 31
Examples:

1

15

31

month
integer

Month number to filter events (1-12, e.g., 3 for March).

Required range: 1 <= x <= 12
Examples:

1

7

12

offset
integer

Number of results to offset for pagination. Premium feature only.

Required range: x >= 0
text
string

Keywords or short phrases to search events. Useful for finding events related to specific topics or people.

Examples:

"Napoleon"

"independence"

"moon landing"

year
integer

4-digit year to filter events. Use negative values for BC/BCE dates (e.g., -351 for 351 BC).

Examples:

1969

-44

Response

Tool result data

details
object[]
required