{"uid":"cap_Yer2VZgIAIgd-RNGrL7Tu","slug":"delx-commerce-content-type-guesser-2dc3e264","name":"Delx Commerce — Content Type Guesser","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/content-type-guess?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"filename":{"type":"string","description":"Filename, path, or URL used only for extension/MIME guess."}}},"responseSchema":{"type":"json","example":{"known":true,"schema":"delx/util-content-type-guess/v1","filename":"report.PDF","extension":"pdf","content_type":"application/pdf"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__aD2aRH-S_UlIydKrLzCD","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Infers the MIME content type and file extension from a filename, file path, or URL string","exampleAgentPrompt":"What MIME content type should I use for a file called 'report.PDF'? Just guess from the filename.","exampleUseCases":[{"title":"Set correct upload content-type header","prompt":"I'm about to upload a file called 'invoice_2024.xlsx' — what MIME type should I set in the Content-Type header?"},{"title":"Validate file type before processing","prompt":"Before I process this file named 'archive.tar.gz', can you tell me what content type it likely is so I can check if my system supports it?"},{"title":"Classify attachment type in email pipeline","prompt":"I have an email attachment named 'presentation.pptx' — what MIME type is that so I can route it to the right handler?"}],"resultDescription":"Returns a JSON object indicating whether the file type is recognized (known: true/false), the guessed MIME content type (e.g. 'application/pdf'), the normalized file extension (e.g. 'pdf'), the original filename as submitted, and a schema identifier string for the response format.","failureModes":["Unrecognized or exotic file extension returns known:false with null or generic content_type","Missing or empty filename input may return an error or unknown result","Filenames with no extension may not be resolvable","Ambiguous extensions shared by multiple MIME types may return a best-guess or primary type only"],"whenToPreferThis":"Use this endpoint when you need a quick, zero-dependency MIME type lookup from just a filename string — no file content required. Ideal for agents that need to set Content-Type headers for uploads, route files by type, or validate attachments before processing, without parsing file bytes. At $0.003 USDC per call with no signup, it suits lightweight utility use in automated pipelines.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:49:31.386Z","isFirstParty":false,"canonicalSlug":"delx-commerce-content-type-guesser-2dc3e264"}