# Detect MIME Types from URL Paths

**Use case:** 

Classify file MIME types from CDN, S3, or website URL paths before routing downloads and assets.

## Input

```json
{
  "items": [
    {
      "url": "https://example.com/assets/logo.svg"
    },
    {
      "url": "https://cdn.example.com/reports/quarterly-results.xlsx"
    },
    {
      "url": "https://files.example.com/downloads/manual.pdf"
    },
    {
      "url": "https://static.example.com/images/banner.avif"
    }
  ]
}
```

## Output

```json
{
  "input": {
    "label": "Input",
    "format": "text"
  },
  "mimeType": {
    "label": "MIME Type",
    "format": "text"
  },
  "charset": {
    "label": "Charset",
    "format": "text"
  },
  "extension": {
    "label": "Extension",
    "format": "text"
  },
  "method": {
    "label": "Method",
    "format": "text"
  },
  "confidence": {
    "label": "Confidence",
    "format": "text"
  },
  "error": {
    "label": "Error",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [MIME Type Detector](https://apify.com/automation-lab/mime-type-detector) with a specific input configuration. Visit the [Actor detail page](https://apify.com/automation-lab/mime-type-detector) to learn more, explore other use cases, and run it yourself.