The Cat Facts API provides a collection of cat facts in various languages. It allows users to fetch random cat facts or specify a language to receive cat facts in that language.
"https://openapi-idk8.onrender.com/"
GET `https://openapi-idk8.onrender.com/catfacts`
Retrieves a random cat fact in the specified language or defaults to English (USA).
- English (USA): `eng-us`
- Czech (Czech Republic): `ces-cz`
- German (Germany): `ger-de`
- Bengali (India): `ben-in`
- Spanish (Spain): `esp-es`
- Spanish (Mexico): `esp-mx`
- Russian (Russia): `rus-ru`
- Portuguese (Brazil): `por-br`
- Filipino (Philippines): `tl-fil`
- Ukrainian (Ukraine): `ukr-ua`
- Urdu (Pakistan): `urd-ur`
- Italian (Italy): `ita-it`
- Chinese (Taiwan): `zho-tw`
- Korean (South Korea): `kor-ko`
{
"author": "OpenAPI",
"description": "API to fetch cat facts in different languages",
"defaultLanguage": "English (USA)",
"availableLanguages": [
{ "code": "eng-us", "name": "English (USA)" },
{ "code": "ces-cz", "name": "Czech (Czech Republic)" },
{ "code": "ger-de", "name": "German (Germany)" },
{ "code": "ben-in", "name": "Bengali (India)" },
{ "code": "esp-es", "name": "Spanish (Spain)" },
...
],
"data": {
"data": [
"Evidence suggests domesticated cats have been around since 3600 B.C., 2,000 years before Egypts pharaohs."
}
}