fungenerators.com

A full featured Facts API. REST access with json/xml/jsonp result support. On this day birth and death support, random fact, keyword search support etc. Below is the documentation for the Random Facts API calls. You can try them out right here. [Click here to subscribe](http://fungenerators.com/api/

πŸ”‘ apikey 12 endpoints text
πŸ“„ Docs πŸ“‹ OpenAPI spec πŸ”¬ Try in Swagger UI

No SDKs indexed for this API yet.

curl examples
Get a Fact belonging to the id.
curl \
  -H "X-Fungenerators-Api-Secret: $API_KEY" \
  https://api.fungenerators.com/fact
Get fact of the day for the given category.
curl \
  -H "X-Fungenerators-Api-Secret: $API_KEY" \
  https://api.fungenerators.com/fact/fod
Get a random Fact for a given category(optional) and subcategory(optional).
curl \
  -H "X-Fungenerators-Api-Secret: $API_KEY" \
  https://api.fungenerators.com/fact/random
Endpoints (12 total)
GET
/fact
Get a Fact belonging to the id.
GET
/fact/fod
Get fact of the day for the given category.
GET
/fact/random
Get a random Fact for a given category(optional) and subcategory(optional).
GET
/fact/search
Search for random Fact which has the text in the query, for a given category(…
GET
/fact/numbers
Get a random fact about a number
GET
/fact/categories
Get a random Fact.
GET
/fact/fod/categories
Get the list of supported fact of the day categories.
GET
/fact/onthisday/born
Returns a random ( famous/ relatively famous ) person born on a given day and…
GET
/fact/onthisday/died
Returns a random ( famous/ relatively famous ) person died on a given day and…
GET
/fact/onthisday/event
Returns a random ( famous/ relatively famous ) historic event on a given day …
PUT
/fact
Add a Fact entry to the database (private collection).
DELETE
/fact
Delete a Fact entry identified by the id.
Language coverage

No SDKs yet

At a glance
Total SDKs0
Languages0
Endpoints12
Authapikey
Categories1
https://api.fungenerators.com