Convert Guru File Type Detection
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.
Offering
- Provider
- convert.guru
- Method
- POST
- Offering type
- Api Endpoint
- Transport type
- http
- Category
- Security
- Delivery
- Not provided
- Pricing model
- Not provided
- x402 version
- 2
Endpoint context
- URL
https://convert.guru/api/x402/v1/detect-file-type- MIME type
- Not provided
- First seen
- 2026-10-16T01:50:06.715Z
- Last seen
- Tags
- file-type-detection, detect-file-type, mime-type, file-identification, magic-bytes
Payment pricing
x402 payment terms are the authoritative price for calling this endpoint.
- Payment option 1
- 0.002 USDC
Atomic price: 2000 · Network: eip155:8453 · Asset: USDC · Scheme: exact - Payment option 2
- 0.002 USDC
Atomic price: 2000 · Network: eip155:137 · Asset: USDC · Scheme: exact - Payment option 3
- 0.002 USDC
Atomic price: 2000 · Network: eip155:42161 · Asset: USDC · Scheme: exact - Payment option 4
- 0.002 USDC
Atomic price: 2000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
{
"scheme": "exact",
"network": "eip155:8453",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "2000",
"payTo": "0x222c4F009c63E24cE9176C0f7f3b64E7Da0f0699"
},
{
"scheme": "exact",
"network": "eip155:137",
"asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
"amount": "2000",
"payTo": "0x222c4F009c63E24cE9176C0f7f3b64E7Da0f0699"
},
{
"scheme": "exact",
"network": "eip155:42161",
"asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
"amount": "2000",
"payTo": "0x222c4F009c63E24cE9176C0f7f3b64E7Da0f0699"
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "2000",
"payTo": "8BoQ6DSruSUc3HRgLWCwPmE7qcdDybcTeycmFDtC4UjJ"
}
]Observed health
- Status
- Healthy
- Latest latency
- 150 ms
- Average latency
- 649 ms
- HTTP status
- 204
- Last checked
- Reachability
- 100% over 14 checks
Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.
Input schema
{
"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 schema
{
"$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"
}