{"slug":"api-delx-ai-api-v1-x402-content-type-sniff-1a5ccf","title":"Heuristic content-type sniff from sample bytes or filename","host":"api.delx.ai","method":"POST","resource":"https://api.delx.ai/api/v1/x402/content-type-sniff","category":"code","description":"Heuristic content-type sniff from sample bytes or filename. Call when you need this bounded result before handing data to a downstream tool. Returns deterministic machine-readable JSON for $0.001 USDC via x402 on Base. Honest limit: execution uses only caller-supplied data in memory; it does not cal","price_listed":0.001,"price_asked":0.001,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":1267,"reported_calls_30d":2,"reported_payers_30d":2,"networks":["eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"filename":"doc.pdf","sample":"%PDF-1.4 mock"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":true,"properties":{"filename":{"description":"Input field: filename.","type":"string"},"sample":{"description":"Input field: sample.","type":"string"}},"required":[],"type":"object"},"bodyType":{"const":"json","type":"string"},"method":{"const":"POST","type":"string"},"type":{"const":"http","type":"string"}},"required":["type","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"additionalProperties":true,"description":"Bounded first-party JSON result; input is processed in memory and not retained.","properties":{"confidence":{"type":"string"},"content_type":{"type":"string"},"filename":{"type":"string"},"note":{"type":"string"},"sample_bytes":{"type":"integer"},"schema":{"type":"string"}},"type":"object"},"type":{"const":"json","type":"string"}},"required":["type","example"],"type":"object"}},"required":["input","output"],"type":"object"},"history":[{"day":"2026-10-10","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":1267,"error":null}],"description_full":"Heuristic content-type sniff from sample bytes or filename. Call when you need this bounded result before handing data to a downstream tool. Returns deterministic machine-readable JSON for $0.001 USDC via x402 on Base. Honest limit: execution uses only caller-supplied data in memory; it does not call a paid upstream, retain input, search the web, read a live RPC, or invoke a media generator. Results are advisory; the caller owns authorization, budgets, and production controls.","last_updated":"2026-10-09T00:12:27.904Z","schemes":["exact"]}