trid

file type identification tool.

trid: TrID is a utility designed to identify file types from their binary signatures. It may give several detections, ordered by higher to lower probability of file format identification (given as percentage).

{
  "data": {
		...
    "attributes" : {
      ...
      "trid": [
        {"file_type": "<string>", "probability": <float>}, ... 
      ]
    }
  }
}
{
    "data": {
        "attributes": {
            "trid": [
                {
                    "file_type": "iOS Application",
                    "probability": 39.6
                },
                {
                    "file_type": "Sweet Home 3D design (generic)",
                    "probability": 20.7
                },
                {
                    "file_type": "Mozilla Firefox browser extension",
                    "probability": 15.8
                },
                {
                    "file_type": "Mozilla Archive Format (gen)",
                    "probability": 13.8
                },
                {
                    "file_type": "ZIP compressed archive",
                    "probability": 7.9
                }
            ]
        }
    }
}