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-11-26
7 of 7checks answered this week
662 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
| Category | Everything else |
|---|---|
| Provider host | convert.guru |
| Networks | eip155:137, eip155:42161, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 33 from 13 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-26 | valid payment request | 402 | $0.002 | 695 ms |
| 2026-11-25 | valid payment request | 402 | $0.002 | 765 ms |
| 2026-11-24 | valid payment request | 402 | $0.002 | 621 ms |
| 2026-11-23 | valid payment request | 402 | $0.002 | 763 ms |
| 2026-11-22 | valid payment request | 402 | $0.002 | 616 ms |
| 2026-11-21 | valid payment request | 402 | $0.002 | 630 ms |
| 2026-11-20 | valid payment request | 402 | $0.002 | 662 ms |
| 2026-11-19 | valid payment request | 402 | $0.002 | 780 ms |
| 2026-11-18 | valid payment request | 402 | $0.002 | 731 ms |
| 2026-11-17 | valid payment request | 402 | $0.002 | 657 ms |
| 2026-11-16 | valid payment request | 402 | $0.002 | 659 ms |
| 2026-11-15 | valid payment request | 402 | $0.002 | 712 ms |
| 2026-11-14 | valid payment request | 402 | $0.002 | 619 ms |
| 2026-11-13 | valid payment request | 402 | $0.002 | 665 ms |
| 2026-11-12 | valid payment request | 402 | $0.002 | 700 ms |
| 2026-11-11 | valid payment request | 402 | $0.002 | 711 ms |
| 2026-11-10 | valid payment request | 402 | $0.002 | 634 ms |
| 2026-11-09 | valid payment request | 402 | $0.002 | 660 ms |
| 2026-11-08 | valid payment request | 402 | $0.002 | 620 ms |
| 2026-11-07 | valid payment request | 402 | $0.002 | 821 ms |
| 2026-11-06 | valid payment request | 402 | $0.002 | 1057 ms |
| 2026-11-05 | valid payment request | 402 | $0.002 | 669 ms |
| 2026-11-04 | valid payment request | 402 | $0.002 | 713 ms |
| 2026-11-03 | valid payment request | 402 | $0.002 | 776 ms |
| 2026-11-02 | valid payment request | 402 | $0.002 | 559 ms |
| 2026-11-01 | valid payment request | 402 | $0.002 | 834 ms |
| 2026-10-31 | valid payment request | 402 | $0.002 | 912 ms |
| 2026-10-29 | valid payment request | 402 | $0.002 | 405 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"
}