GET /v1/mime-lookupMIME type lookup by extension or MIME
Web Intel lf-web-intel
Finds the file type for an extension, or the extension for a file type. MIME type lookup by extension or MIME
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
extension | string | No | File extension (e.g. pdf) |
mime | string | No | MIME type (e.g. application/json) |
Response Schema
mime_type (string): Resolved MIME type
extension (string): Resolved extension
category (string): Type category
description (string): Human description
cURL Example
curl 'https://lf-web-intel.laminarforge.dev/v1/mime-lookup' -H 'Authorization: Bearer lf_YourApiKey'
Python Example
import requests
url = 'https://lf-web-intel.laminarforge.dev/v1/mime-lookup'
headers = {'Authorization': 'Bearer lf_YourApiKey'}
response = requests.get(url, headers=headers)
print(response.json())