{"uid":"cap_ANgD6BtjbiuBq1HezxXK3","slug":"mime-type-lookup-ee77fe41","name":"MIME Type Lookup","description":"MIME type lookup both ways: extension or filename to content type, or content type to extensions, for 80 common web, image, audio, video, font, document and archive formats, with a category. $0.01 per lookup.","url":"https://intel.rallylive.ca/data/mime","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","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Bu0_g6RCEQsIsn1nRubAB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Bidirectional MIME type lookup: convert a file extension or filename to its content type, or a content type to its associated extensions, across 80 common formats.","exampleAgentPrompt":"What's the correct MIME type for a .webp image file, and what category does it fall under?","exampleUseCases":[{"title":"Set correct HTTP Content-Type header","prompt":"I'm building an API response that returns a .webp image — what MIME type string should I put in the Content-Type header?"},{"title":"Identify file type from content type","prompt":"I got a response with Content-Type 'application/vnd.openxmlformats-officedocument.wordprocessingml.document' — what file extension does that correspond to?"},{"title":"Validate upload file extension","prompt":"A user is uploading a file with the extension .flac — what's the MIME type for that, and what category of format is it?"}],"resultDescription":"Returns the MIME content type string (e.g. 'image/webp'), associated file extension(s), and a format category (e.g. 'image', 'audio', 'video', 'document', 'archive') — going either from extension/filename to content type, or from content type to extensions.","failureModes":["Unknown or unsupported extension/MIME type returns no match or error — only ~80 common formats are covered","Malformed MIME type string may return no result","Rare or vendor-specific MIME types not in the 80-format library will fail to resolve","Missing or empty input parameter causes a validation error"],"whenToPreferThis":"Use this endpoint when you need fast, authoritative bidirectional MIME type resolution for common web, media, font, document, or archive formats, and you want to avoid hardcoding lookup tables in your agent. Especially useful when building HTTP response headers, validating file uploads, or categorizing file types programmatically. Not suitable for highly specialized, vendor-specific, or obscure MIME types outside the 80 covered formats.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T13:10:51.360Z","isFirstParty":false}