{"uid":"cap_NaJAZYOB_LZpv6xP1PXyL","slug":"bearer-header-shape-utility-79f2a1b9","name":"Bearer Header Shape Utility","description":"Machine-callable x402-paid utilities for autonomous agents.","url":"https://creator-desk-x402-isolated.onrender.com/v1/utility/bearer-header-shape?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"value":{},"options":{"type":"object"}}},"responseSchema":{"type":"json","example":{"result":"example","operation":"bearer_header_shape"}},"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_xyKBgzxTUdBmPI13PpNOR","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":"Formats or validates a value into the canonical shape of a Bearer authorization header string.","exampleAgentPrompt":"Take this token value 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9' and shape it into the correct Bearer authorization header format for me.","exampleUseCases":[{"title":"Format JWT as Bearer header","prompt":"I have a JWT token 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.payload.sig' — can you shape it into the proper Bearer authorization header string I should use in my API requests?"},{"title":"Normalize API key for auth header","prompt":"I need to send an API key 'sk-abc123xyz' as a Bearer token in an HTTP Authorization header — can you format it into the exact right shape for me?"},{"title":"Validate bearer header structure","prompt":"Can you check whether my auth value 'Bearer abc.def.ghi' is already in the correct Bearer header shape, and if not, fix it for me?"}],"resultDescription":"A JSON object containing a 'result' field with the correctly shaped Bearer authorization header string, and an 'operation' field confirming 'bearer_header_shape' was performed.","failureModes":["Missing or null 'value' input may return an error or empty result","Malformed options object could cause a 400-level error","Service unavailability on Render free-tier hosting may cause timeouts","Payment failure via x402 protocol returns 402 before processing"],"whenToPreferThis":"Use this endpoint when you need a quick, paid utility to programmatically format or normalize a raw token or credential value into the standard Bearer authorization header shape — particularly in agentic pipelines that already handle x402 micropayments and need consistent header formatting without writing custom string logic.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:43:41.539Z","isFirstParty":false,"canonicalSlug":"bearer-header-shape-utility-79f2a1b9"}