{"uid":"cap_o4njFFM3iAP4csodSsNr2","slug":"agenttools-mime-type-lookup-fba68034","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://agenttools-hub.vercel.app/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.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_RNmITqAuxqkP8E4AOqlFS","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","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 content-type for a .svg file? Search the MIME types database for 'svg' and return the top result.","exampleUseCases":[{"title":"Content-Type header for file upload","prompt":"I'm building an API that accepts file uploads — what's the correct Content-Type header value I should set for .webp image files?"},{"title":"List all audio MIME types","prompt":"Can you list all the audio MIME types available? I need to validate incoming file uploads and want to know every recognized audio content-type."},{"title":"MIME type for font files","prompt":"What MIME type should I use for .woff2 font files when serving them from a web server?"}],"resultDescription":"Returns a list of matching MIME type records including the full content-type string (e.g. 'image/svg+xml'), associated file extensions, and category. Results are filtered by the provided query substring, file extension, or category enum.","failureModes":["No results returned when query substring or extension does not match any known MIME type","Invalid category enum value causes a 400-level error","Overly broad query returns too many results without a limit parameter","Non-existent or misspelled file extension returns empty result set"],"whenToPreferThis":"Use this endpoint when an agent needs to programmatically resolve MIME/content-type strings for file extensions or type names — especially useful when building HTTP request headers, validating uploaded file types, or generating API documentation. Prefer this over hardcoded lookup tables when coverage across all major categories (text, application, image, audio, video, font, multipart, model) is needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:42:26.936Z","isFirstParty":false,"canonicalSlug":"agenttools-mime-type-lookup-fba68034"}