{"uid":"cap_58PDC_-__OQcluCDHyzm5","slug":"pennyrail-mime-lookup-extension-to-mime-type-d8b8d69e","name":"PennyRail MIME Lookup — Extension to MIME Type","description":"Machine-readable settlement service","url":"https://pennyrail.vercel.app/api/p/nano/mime.lookup--mime-extensions","method":"POST","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"object"}}},"responseSchema":{"type":"object","additionalProperties":true},"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_pQqnhpHW-d75k7_1CS40a","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":"Looks up the MIME type(s) associated with a given file extension using the mime-extensions mapping","exampleAgentPrompt":"What's the MIME type for .mp4 files? I need to know the correct content-type header value to serve them from my server.","exampleUseCases":[{"title":"Setting correct HTTP content-type header","prompt":"I'm building a file server and need to know the right content-type header to use when serving .svg files — can you look that up for me?"},{"title":"Validating file upload MIME type","prompt":"My app accepts user uploads and I want to double-check what MIME type a .webp file should have before storing it."},{"title":"Generating API response metadata","prompt":"I'm generating an API that returns files and need to know the official MIME type for .csv so I can set the correct content-type in my responses."}],"resultDescription":"Returns an object containing the MIME type string(s) associated with the provided file extension, suitable for use in HTTP Content-Type headers or file handling logic.","failureModes":["Unknown or unsupported file extension returns empty or null result","Malformed input object causes validation error","Payment failure via x402 prevents request from being processed","Vercel cold start may add latency on first call"],"whenToPreferThis":"Use this endpoint when you need a quick, programmatic lookup of the MIME type for a given file extension, especially in micropayment-native (x402) agent workflows where per-call billing is acceptable. Prefer over bundling a full mime library when operating in serverless or constrained environments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T07:19:09.558Z","isFirstParty":false}