# Delx Handoff Size Estimate

> Delx Handoff Size Estimate is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Estimates the byte size and token count of a UTF-8 text string to help agents plan payload sizing before handoff operations.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/handoff-size-estimate
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-handoff-size-estimate-95e9266d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_l94NaC_B3t75wGjoH5Df0

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-handoff-size-estimate-95e9266d -d '<json body>'
```

Example prompt: Before I send this content to the next agent, can you estimate how many bytes and tokens it is? The text is: 'Welcome to the quarterly review. This document summarizes key performance indicators for Q3 2024 across all business units.'

## When to prefer this

Choose this endpoint when you need a quick, cheap computation of text payload size in bytes and estimated tokens before making downstream API calls, chunking decisions, or agent handoffs — especially when working within strict token budgets or payload size ceilings. It is purpose-built for agent orchestration workflows and costs only $0.001 USDC per call.

## Known failure modes

- Missing or empty 'text' field returns a validation error
- Extremely large text payloads may be rejected or time out
- Non-UTF-8 encoded content may produce inaccurate byte counts
- Network errors or service unavailability return a 5xx response

## How this service works

Estimate bytes/tokens for a handoff capsule string. Call when Protocol-adjacent sizing before free handoff storage. Returns bytes and token_estimate as deterministic JSON for $0.001 USDC via x402 on Base. First-party local math only—no RPC, live market feed, API keys, storage, or mediagen. Advisory only; the caller owns capital, risk, and production controls.

## Output

Returns a JSON object containing the exact byte count of the input text, an estimated token count, and a schema identifier string (e.g. 'delx/util-handoff-size-estimate/v1') confirming the response format.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "description": "UTF-8 text content to hash or size"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "bytes": 600,
  "schema": "delx/util-handoff-size-estimate/v1",
  "token_estimate": 150
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-handoff-size-estimate-95e9266d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
