{"uid":"cap_0EXBAaxtlXjqTTcvfiXre","slug":"agenttools-mime-type-lookup-41073a67","name":"AgentTools MIME Type Lookup","description":"Look up MIME content types by type substring or file extension, or list a category — covering text, application, image, audio, video, font and multipart types used in web APIs. Use this when an agent needs to content-Type lookup by type or file extension.","url":"https://agentstoolshub.com/api/v1/dev/mime-types?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{"limit":{"type":"number","description":"Max rows"},"query":{"type":"string","description":"MIME substring or file extension"},"category":{"enum":["","text","application","image","audio","video","font","multipart","model"],"type":"string","description":"Category"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_K6WfduokTwZ1PLqnKkwPE","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Look up MIME content types by substring, file extension, or category (text, application, image, audio, video, font, multipart, model)","exampleAgentPrompt":"What's the correct MIME type for a .webp image file? Search the MIME types database and return up to 5 results.","exampleUseCases":[{"title":"Content-Type header for API response","prompt":"I'm building a REST API that returns JSON — what MIME type should I use for the Content-Type header? Look it up in the application category."},{"title":"File upload validation by extension","prompt":"What MIME type corresponds to a .mp4 file extension? I need the exact content-type string to validate uploads on my server."},{"title":"Listing all font MIME types","prompt":"Can you list all the MIME types in the font category? I need to know which content-type values are valid for web fonts."}],"resultDescription":"Returns a list of matching MIME type records, each including the content-type string, associated file extensions, and category. Results are filterable by type substring, file extension query, or category enum (text, application, image, audio, video, font, multipart, model), and capped by an optional limit parameter.","failureModes":["No results returned when query string doesn't match any known MIME type substring or extension","Invalid category enum value returns an error or empty result","Missing or malformed query parameters may result in an unfiltered full list or API error","Network timeout if the upstream MIME database is unavailable"],"whenToPreferThis":"Choose this endpoint when an agent needs to programmatically resolve a Content-Type header value from a file extension or partial type name, or enumerate all MIME types in a given category. It covers all major media type categories (text, application, image, audio, video, font, multipart, model) and is ideal for HTTP API construction, file upload validation, and content negotiation tasks. Prefer it over a web search when you need structured, machine-readable MIME type data with consistent formatting.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:49:25.163Z","isFirstParty":false,"canonicalSlug":"agenttools-mime-type-lookup-41073a67"}