# Delx Commerce — Authorization Scheme Identify

> Delx Commerce — Authorization Scheme Identify is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Identifies the authentication scheme (e.g. Bearer, Basic, API Key) present in an HTTP Authorization header string

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/authorization-scheme-identify?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-authorization-scheme-identify-c681748f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-L0eWmAPdpvoFpgc6_1yE

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 delx-commerce-authorization-scheme-identify-c681748f -d '<json body>'
```

Example prompt: What authentication scheme is being used in this Authorization header? 'Bearer eyJhbGciOiJSUzI1NiJ9.abc123...' — tell me the scheme and whether a credential is actually present.

## When to prefer this

Use this endpoint when you need to programmatically identify the HTTP Authorization scheme from a raw header string without sending credentials to an external service for validation. It is ideal for security-sensitive pipelines where you need zero data retention guarantees and a verifiable audit trail (SHA-256 of input, external_calls=0). Prefer it over manual regex parsing when you need a structured, schema-versioned result. It is purpose-built for AI agent workflows that handle third-party or user-supplied headers and need to branch logic based on auth type.

## Known failure modes

- Header exceeds 8192 character limit — request rejected
- Malformed or missing header value — scheme may return as unknown or null
- Empty string input — credential_present returns false
- Unrecognized or non-standard auth scheme — scheme field may not match expected enum values
- Network or payment failure via x402 — 402 response requiring USDC payment on Base or Solana

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

Returns a JSON object with the detected scheme name (e.g. 'bearer', 'basic'), a boolean indicating whether a credential is present, a redacted credential flag, the SHA-256 hash of the input for auditability, a count of external calls made (always 0), and a retention flag (always false). Includes operation name and schema version for traceability.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "header": {
   "type": "string",
   "maxLength": 8192,
   "description": "Header supplied to Authorization Scheme Identify; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "scheme": "bearer",
   "credential_present": true,
   "credential_redacted": true
  },
  "schema": "delx/util-authorization-scheme-identify/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "69801a4a366ce7b9c8daab76826fd6fa433c35c9f108dd4b62f2fdeb0dcdcd60",
   "external_calls": 0
  },
  "operation": "web_reliability:authorization_scheme_identify"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-authorization-scheme-identify-c681748f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
