Cat Facts GPT

Cat Facts GPT · Acciones GPT

Cat Facts API

API for retrieving cat facts and user data from the Cat Facts website.

  • GET /factsRetrieve and query facts
Esquema original API
{
  "openapi": "3.0.0",
  "info": {
    "title": "Cat Facts API",
    "description": "API for retrieving cat facts and user data from the Cat Facts website.",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://catfact.ninja"
    }
  ],
  "paths": {
    "/facts": {
      "get": {
        "summary": "Retrieve and query facts",
        "operationId": "getFacts",
        "responses": {
          "200": {
            "description": "A list of cat facts",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Fact"
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}