Usage

Endpoints

GET /api/v2/facts/random get random useless fact

GET /api/v2/facts/today get today's useless fact

Language

Append ?language=en or ?language=de to get a useless fact in a specific language. Currently supported languages are en and de.

Example: GET /api/v2/facts/random?language=en

Content-Type

Using the Accept header, you can request a specific format. Currently supported are application/json (default) and text/plain.

Example: Accept: application/json

APIv1 Deprecation

APIv1 is no longer supported. The server will respond with a 308 status code and the target URL in the Location header. Your client should follow and cache the redirect. Please migrate your application to v2