{"uid":"cap_ZzvISVKpOtP08Ej5I1GPk","slug":"delx-commerce-content-range-header-parser-7bd41220","name":"Delx Commerce — Content-Range Header Parser","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-range-parse?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"header":{"type":"string","maxLength":8192,"description":"Header supplied to Content Range Parse; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"end":499,"start":0,"total":1000,"consistent":true},"schema":"delx/util-content-range-parse/v1","status":"pass","evidence":{"retained":false,"input_sha256":"d87e3fb902533d2d90b45fc8a5d4e63bd5db21e623c2a16c2c89ed7533047f32","external_calls":0},"operation":"web_reliability:content_range_parse"}},"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_533RYhTsI4yUb4EPx2cjh","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":"Parses an HTTP Content-Range header string and returns the structured start, end, total, and consistency values","exampleAgentPrompt":"Parse this Content-Range header for me and tell me the start byte, end byte, total size, and whether it's consistent: 'bytes 0-499/1000'.","exampleUseCases":[{"title":"Validate partial download header","prompt":"I got a 206 Partial Content response with the header 'bytes 200-399/1000' — can you parse that and confirm the range is consistent with the total?"},{"title":"Resume interrupted file transfer","prompt":"My download resumed and the server sent back 'bytes 1024-2047/4096' — break that apart so I know exactly where it left off and whether the numbers add up."},{"title":"Debug range request mismatch","prompt":"Something looks off with this Content-Range header: 'bytes 0-999/500'. Parse it out and flag whether it's actually consistent."}],"resultDescription":"Returns a JSON object with the parsed range fields: start (integer byte offset), end (integer byte offset), total (integer total content size), and consistent (boolean indicating whether the range is logically valid). Also includes an evidence block with retained=false, the SHA-256 hash of the input header, and the count of external calls made (always 0).","failureModes":["Malformed or unparseable header string returns an error or null fields","Header exceeding 8192 characters is rejected","Missing or empty header input causes a validation error","Unexpected Content-Range format (e.g. non-bytes units) may yield inconsistent=false or error"],"whenToPreferThis":"Choose this endpoint when you need a fast, verifiable, no-retention parse of an HTTP Content-Range header into structured numeric fields with a consistency check. Ideal for agents handling resumable downloads, range-request validation, or HTTP protocol debugging where auditability (via input SHA-256 evidence) and exact per-call pricing (no subscription) matter. Prefer it over custom regex parsing when you want a deterministic, externally auditable result at $0.001 USDC per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:38.930Z","isFirstParty":false,"canonicalSlug":"delx-commerce-content-range-header-parser-7bd41220"}