Random Fact

This endpoint generates a random informational fact.

Endpoint

  • URL: https://api.erensko.xyz/v1/random-fact

  • Method: GET

  • Description: Fetches a random fact from a predefined database.

Headers

Key
Value

Authorization

Your own personal API key, create one by clicking here. This is required.

Request Example

GET https://api.erensko.xyz/v1/random-fact

Response Example

{
  "fact": "A day on Mars is 24 hours and 37 minutes long."
}

Last updated