ToolAssay

Detects the likely real file format from filename, file creation time, file size

Detects the likely real file format from filename, file creation time, file size, and the first 200 bytes of the file. Identifies common formats such as PDF, DOCX, XLSX, CSV, JPG/JPEG, PNG, WEBP, HEIC, TXT, HTML, MP3, WAV, MP4, AVI, MPEG, and WEBM, as well as about 15,000 other file types.

Answeringour last check, 2026-10-03
1 of 1checks answered this week
375 msmedian answer time
$0.002listed price per call
$0.002price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

POST https://convert.guru/api/x402/v1/detect-file-type

CategoryEverything else
Provider hostconvert.guru
Networkseip155:137, eip155:42161, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
Payment schemesexact
Self-reported calls, 30 days1 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-10-03 valid payment request 402$0.002 375 ms

Example input (from the provider)

{
  "body": {
    "created_at": "2026-05-21T14:30:00Z",
    "filename": "document.001",
    "header_first_200_bytes_base64": "JVBERi0xLjQKJcTl8uXrp...",
    "size_bytes": 184221
  },
  "bodyType": "json",
  "method": "POST",
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "properties": {
        "body": {
          "properties": {
            "created_at": {
              "description": "File creation timestamp in ISO 8601 format",
              "type": "string"
            },
            "filename": {
              "description": "Original filename, e.g. document.pdf, report.docx, data.csv, image.png",
              "type": "string"
            },
            "header_first_200_bytes_base64": {
              "description": "Base64 encoded first 200 bytes of the file",
              "type": "string"
            },
            "size_bytes": {
              "description": "Total size of the file in bytes",
              "type": "integer"
            }
          },
          "required": [
            "filename",
            "header_first_200_bytes_base64",
            "size_bytes"
          ],
          "type": "object"
        },
        "bodyType": {
          "const": "json",
          "type": "string"
        },
        "method": {
          "const": "POST",
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "convert_file_compatibility": {
              "properties": {
                "confidence": {
                  "type": "number"
                },
                "reason": {
                  "type": "string"
                },
                "status": {
                  "type": "string"
                }
              },
              "required": [
                "status",
                "confidence",
                "reason"
              ],
              "type": "object"
            },
            "convertible_to": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "detected": {
              "type": "boolean"
            },
            "detected_format": {
              "properties": {
                "canonical_extension": {
                  "type": "string"
                },
                "confidence": {
                  "type": "number"
                },
                "confidence_percent": {
                  "type": "integer"
                },
                "description": {
                  "type": "string"
                },
                "format": {
                  "description": "Canonical format e.g. pdf, docx, xlsx, csv, png, jpg, webp, txt, html",
                  "type": "string"
                }
              },
              "required": [
                "format",
                "description",
                "confidence",
                "confidence_percent",
                "canonical_extension"
              ],
              "type": [
                "object",
                "null"
              ]
            },
            "input_filename": {
              "type": "string"
            },
            "payment": {
              "type": "object"
            },
            "suggested_filename": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "required": [
            "detected",
            "input_filename",
            "suggested_filename",
            "detected_format",
            "convertible_to",
            "convert_file_compatibility",
            "payment"
          ],
          "type": "object"
        },
        "type": {
          "const": "json",
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON