{"uid":"cap_VBKBFjClbRGIMwiI9buHK","slug":"accept-header-parse-utility-92c1588e","name":"Accept Header Parse Utility","description":"Machine-callable x402-paid utilities for autonomous agents.","url":"https://creator-desk-x402-isolated.onrender.com/v1/utility/accept-header-parse?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"value":{},"options":{"type":"object"}}},"responseSchema":{"type":"json","example":{"result":"example","operation":"accept_header_parse"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_QsJtM2dsL4It1cvLj87dY","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Parses and interprets HTTP Accept header values into structured, machine-readable format","exampleAgentPrompt":"Parse this Accept header value for me — 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8' — and give me a structured breakdown of the media types and their quality factors.","exampleUseCases":[{"title":"Content negotiation for API routing","prompt":"I need to figure out which content type to serve — can you parse this Accept header 'application/json;q=0.9,application/xml;q=0.8,text/plain;q=0.7' and tell me the priority order?"},{"title":"Validating browser Accept headers","prompt":"Parse this browser Accept header 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' and extract all the accepted media types with their quality values so I can decide what format to respond with."},{"title":"Debugging malformed Accept headers","prompt":"Can you parse this Accept header value 'application/json, text/javascript, */*; q=0.01' and give me a clean structured result showing each type and its priority?"}],"resultDescription":"A JSON object containing the parsed result of the Accept header, including structured media types, quality factors (q-values), and priority ordering, along with an operation identifier confirming the accept_header_parse operation was performed.","failureModes":["Malformed Accept header string may produce unexpected parse results","Missing or null value field may cause validation error","Unsupported media type syntax may result in partial parse","Service unavailability on Render.com free tier causing cold-start delays or timeouts","Payment failure via x402 protocol blocking request execution"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to programmatically parse HTTP Accept headers during content negotiation logic, API middleware construction, or request routing decisions. Useful when you need a paid, metered, machine-callable utility for structured header parsing without implementing your own MIME type parser.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:41:27.258Z","isFirstParty":false,"canonicalSlug":"accept-header-parse-utility-92c1588e"}