{"uid":"cap_IwAewNXVtn5qbU7jWEhb-","slug":"kihustle-mime-type-lookup-8e22285a","name":"KiHustle MIME Type Lookup","description":"Kostenlose Guides, Solo-Playbooks und Artikel zu KI, Automation und Side Hustles — für Menschen, die mit echten Systemen online Einkommen aufbauen wollen. Transparent finanziert über faire Affiliate-Links.","url":"https://kihustle.tech/agents/api/v1/mime-type-lookup?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"filename":{"type":"string"}}},"responseSchema":{"type":"json","example":{"result":"processed","status":"success"}},"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_g22QZB2VGkPbOCs2wQArA","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":"Returns the MIME type for a given filename based on its extension","exampleAgentPrompt":"What's the MIME type for a file named 'report.pdf'?","exampleUseCases":[{"title":"Set correct HTTP upload header","prompt":"I'm uploading a file called 'photo.jpeg' to an S3 bucket — what content-type header should I use for it?"},{"title":"Validate file type before processing","prompt":"Before I process this user-submitted file named 'data.csv', what MIME type should it be so I can verify it's actually a spreadsheet?"},{"title":"Serve static files correctly","prompt":"My web server needs to send the right Content-Type for 'script.js' — what MIME type should I use for JavaScript files?"}],"resultDescription":"A JSON object indicating the resolved MIME type (content type string) for the given filename, along with a status field confirming successful processing. For example, 'application/pdf' for a .pdf file.","failureModes":["Unknown or missing file extension returns a generic or fallback MIME type","Empty filename input may result in an error or null result","Unusual or custom extensions may not be recognized","Malformed request body missing the filename field may return a 400-style error","Network or service unavailability returns a non-2xx status"],"whenToPreferThis":"Use this endpoint when you need a quick, cheap, single-call lookup of the MIME type for a filename without implementing local extension-to-MIME mapping logic. Ideal for agents that need to set Content-Type headers, validate uploaded file types, or route files by media type at $0.001 per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T18:42:17.093Z","isFirstParty":false,"canonicalSlug":"kihustle-mime-type-lookup-158a06b0"}