---
agentTools:
  projectIndex: https://nick-cannon-baby-api.readme.io/llms.txt
---

# Random Baby

Retrieve a random Nick Cannon baby in JSON format.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "1.0.0",
    "title": "The Nick Cannon Baby API",
    "license": {
      "name": "MIT"
    }
  },
  "servers": [
    {
      "url": "https://nick-cannon-baby-api.onrender.com/babies"
    }
  ],
  "paths": {
    "/random": {
      "get": {
        "summary": "Random Baby",
        "description": "Retrieve a random Nick Cannon baby in JSON format.",
        "operationId": "random",
        "tags": [
          "baby"
        ],
        "parameters": [
          {
            "name": "results",
            "in": "query",
            "description": "Retrieve a specific number of random Nick Cannon baby results.",
            "required": false,
            "example": 5,
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "date",
            "in": "query",
            "description": "Retrieve a random Nick Cannon baby from a date falling between its approximate conception and birth.",
            "required": false,
            "example": "05/11/2022",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "mother",
            "in": "query",
            "description": "Retrieve a random Nick Cannon baby from a specific mother.",
            "required": false,
            "example": "mariah carey",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "gender",
            "in": "query",
            "description": "Retrieve a random Nick Cannon baby of a specific gender.",
            "required": false,
            "example": "male",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "An array of Nick Cannon babies",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Babies"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Baby": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "example": "Monroe Cannon"
          },
          "birthday": {
            "type": "string",
            "format": "date",
            "pattern": "/([0-9]{2})\\/(?:[0-9]{2})\\/([0-9]{4})/",
            "example": "04/30/2011"
          },
          "gender": {
            "type": "string",
            "example": "male"
          },
          "twin": {
            "type": "boolean",
            "example": true
          },
          "approximate_conception_date": {
            "type": "string",
            "format": "date",
            "pattern": "/([0-9]{2})\\/(?:[0-9]{2})\\/([0-9]{4})/",
            "example": "08/07/2010"
          },
          "mother": {
            "type": "string",
            "example": "Mariah Carey"
          },
          "mother_age_at_birth": {
            "type": "integer",
            "example": 41
          },
          "nick_cannon_age_at_birth": {
            "type": "integer",
            "example": 30
          },
          "current_child_with_mother": {
            "type": "integer",
            "example": 1
          },
          "total_children_with_mother": {
            "type": "integer",
            "example": 2
          },
          "status": {
            "type": "object",
            "properties": {
              "alive": {
                "type": "boolean",
                "example": true
              },
              "date_of_passing": {
                "type": "string",
                "format": "date",
                "pattern": "/([0-9]{2})\\/(?:[0-9]{2})\\/([0-9]{4})/",
                "example": "12/05/2021"
              },
              "age": {
                "type": "object",
                "properties": {
                  "years": {
                    "type": "integer",
                    "example": 11
                  },
                  "months": {
                    "type": "integer",
                    "example": 6
                  },
                  "days": {
                    "type": "integer",
                    "example": 26
                  }
                }
              }
            }
          }
        }
      },
      "Babies": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/Baby"
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 154,
      "1": 98,
      "2": 179,
      "3": 34,
      "4": 177,
      "5": 121,
      "6": 68,
      "7": 205,
      "8": 141,
      "9": 154,
      "10": 55,
      "11": 123
    }
  }
}
```