# Bearer Header Shape Utility

> Bearer Header Shape Utility is a paid API for AI agents from creator-desk-x402-isolated.onrender.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-12).

Formats or validates a value into the canonical shape of a Bearer authorization header string.

## Facts

- Endpoint: POST https://creator-desk-x402-isolated.onrender.com/v1/utility/bearer-header-shape?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bearer-header-shape-utility-79f2a1b9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NaJAZYOB_LZpv6xP1PXyL

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability bearer-header-shape-utility-79f2a1b9 -d '<json body>'
```

Example prompt: Take this token value 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9' and shape it into the correct Bearer authorization header format for me.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Machine-callable x402-paid utilities for autonomous agents.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "value": {},
  "options": {
   "type": "object"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": "example",
  "operation": "bearer_header_shape"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bearer-header-shape-utility-79f2a1b9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from creator-desk-x402-isolated.onrender.com](https://www.zero.xyz/host/creator-desk-x402-isolated.onrender.com/llms.txt)
