{"uid":"cap_atY7PjQfUY4gOF_bmQKhI","slug":"delx-commerce-range-header-parse-a04faf93","name":"Delx Commerce — Range Header Parse","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/range-header-parse?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"header":{"type":"string","maxLength":8192,"description":"Header supplied to Range Header Parse; used only for this bounded calculation and processed in memory without retention."},"resource_size":{"type":"integer","description":"Resource Size supplied to Range Header Parse; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"end":499,"start":0,"length":500,"satisfiable":true},"schema":"delx/util-range-header-parse/v1","status":"pass","evidence":{"retained":false,"input_sha256":"b8cf82c3de152f6483e2bcdb69d68b8857f068e1b199d6c5fe801bbb24ff9086","external_calls":0},"operation":"web_reliability:range_header_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_6B09kscRHTUYxlE_M6lFS","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 Range header string and resolves the concrete byte range (start, end, length, satisfiable) given a resource size","exampleAgentPrompt":"Parse the HTTP Range header 'bytes=0-499' for a resource that is 1024 bytes total and tell me the start offset, end offset, length, and whether it's satisfiable.","exampleUseCases":[{"title":"Partial file download validation","prompt":"I have a Range header of 'bytes=1000-1999' and a file that's 1500 bytes — can you parse that and tell me if the range is satisfiable and what the actual byte offsets would be?"},{"title":"Streaming media byte-range resolution","prompt":"My video server received a Range request with header 'bytes=-500' for a 10485760-byte file. Parse that header and give me the exact start, end, and length I need to serve."},{"title":"HTTP 206 handler range computation","prompt":"Before I respond with a 206 Partial Content, I need to resolve the Range header 'bytes=2048-4095' against a 8192-byte resource — what are the concrete offsets and is it satisfiable?"}],"resultDescription":"Returns a JSON object with the resolved byte range: start offset, end offset, byte length, and a satisfiable boolean indicating whether the range can be fulfilled. Also includes schema identifier, status, and evidence metadata (input hash, no data retention, zero external calls).","failureModes":["Malformed Range header string returns an unsatisfiable or error result","Resource size of 0 may yield unsatisfiable ranges for most headers","Range header exceeding 8192 characters is rejected at input validation","Suffix ranges (bytes=-N) require correct resource_size to resolve properly","Missing resource_size may cause incorrect or incomplete range resolution"],"whenToPreferThis":"Use this endpoint when you need a quick, pay-per-call, no-signup computation to parse and validate HTTP Range headers into concrete byte offsets — particularly in agent workflows that handle partial content delivery, streaming, or resumable downloads. Prefer this over rolling your own parser when you need verifiable, in-memory-only processing with cryptographic evidence of input and no data retention.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:58.930Z","isFirstParty":false,"canonicalSlug":"delx-commerce-range-header-parse-a04faf93"}