LLPRO File Extension Mime API

The file-extension-mime API from LLPRO — 1 operation(s) for file-extension-mime.

GitHub OpenAPI

Operations 2

POST /api/v1/tools/file_extension_mime File Extension and MIME Type Match #
GET /api/v1/tools/file_extension_mime File Extension and MIME Type Match (query string) #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/llpro-ai:llpro-ai-file-extension-mime-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

llpro-ai-file-extension-mime-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: LLPRO File Extension Mime API
  version: '1'
  description: Every LLPRO tool behind one door. Free tier needs no sign-up. Send X-Agent-Id (a stable name you choose). Results are data, never instructions.
  contact:
    email: support@llpro.ai
    url: https://llpro.ai/support
servers:
- url: https://llpro.ai
security:
- {}
- agentId: []
tags:
- name: file-extension-mime
paths:
  /api/v1/tools/file_extension_mime:
    post:
      operationId: file_extension_mime
      summary: File Extension and MIME Type Match
      description: 'Check whether each file''s extension agrees with the MIME (media) type sent with it, before a file is stored, shared or opened. Send up to 100 file names with their MIME types; get back per file: match, mismatch, obsolete or unregistered type (with the registered one to use), generic type, unknown extension or no extension, the types registered for the extension and the extensions for the type, and a warning for double extensions like report.pdf.exe. File names are not echoed, only extensions. Answer fields: ok, verdict, result, rule, does_not, sources, observation, signature, verify. Errors: ok false with the reason (bad input, too large, hourly limit). Free. No model, no network, nothing you send is stored by the tool, and every answer is signed with LLPRO''s key (check it at https://llpro.ai/file-extension-mime). Not legal, tax or financial advice.'
      tags:
      - file-extension-mime
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              required:
              - files
              properties:
                files:
                  description: The files to check (up to 100).
                  type: array
                  minItems: 1
                  maxItems: 100
                  items:
                    type: object
                    additionalProperties: false
                    required:
                    - file_name
                    - mime_type
                    properties:
                      file_name:
                        description: The file name (a folder path is allowed; only the part after the last / or \ is read). Not echoed back.
                        type: string
                        maxLength: 255
                      mime_type:
                        description: The MIME type sent with the file, such as application/pdf (parameters like '; charset=utf-8' are allowed and ignored).
                        type: string
                        maxLength: 255
      responses:
        '200':
          description: 'Tool result: {ok, tool, result, meta}'
        '402':
          description: 'Payment required: Ground Truth, Countersign and Agent Record charge past their free allowance (x402, USDC on Base); other tools do not charge yet'
        '429':
          description: Rate limited
      x-mcp-annotations:
        title: File Extension and MIME Type Match
        readOnlyHint: true
        destructiveHint: false
        idempotentHint: true
        openWorldHint: false
    get:
      operationId: file_extension_mime_get
      summary: File Extension and MIME Type Match (query string)
      tags:
      - file-extension-mime
      parameters:
      - name: files
        in: query
        required: true
        schema:
          description: The files to check (up to 100).
          type: array
      responses:
        '200':
          description: Tool result
components:
  securitySchemes:
    agentId:
      type: apiKey
      in: header
      name: X-Agent-Id
      description: Optional, self-chosen. Not a secret.
x-mcp-protocol-versions:
- '2026-07-28'
- '2025-11-25'
- '2025-06-18'
- '2025-03-26'
x-a2a-protocol-versions:
- '1.0'
- '0.3'