# Offline Native Box Model Layer Area Ledger

> Offline Native Box Model Layer Area Ledger is a paid API for AI agents from detect.halowerk.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-11-04).

Computes the measured area allocation across content, padding, border, and margin regions of an element's box model in an offline (headless) rendering context.

## Facts

- Endpoint: POST https://detect.halowerk.com/u/offline-native-box-model-layer-area-ledger?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-04
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/offline-native-box-model-layer-area-ledger-5a27d18c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fzlNJMFSGfLjzejmtl0MJ

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 offline-native-box-model-layer-area-ledger-5a27d18c -d '<json body>'
```

Example prompt: Can you measure the CSS box model area breakdown — content, padding, border, and margin — for the page at https://example.com/widget using offline rendering?

## When to prefer this

Use this endpoint when you need precise, per-layer CSS box model area measurements (content, padding, border, margin) computed in an offline or headless rendering context, without spinning up a full interactive browser session. Ideal for component sizing agents, layout auditing pipelines, and CSS refactoring tools that require deterministic area accounting rather than live browser inspection.

## Known failure modes

- Invalid or unreachable URL returns an error indicating the resource could not be fetched
- URL pointing to non-HTML content may produce empty or null layer measurements
- Pages with dynamic JavaScript-driven layout may yield incomplete results in offline rendering
- Malformed URI format causes input validation failure
- Very large or complex pages may time out during offline rendering

## How this service works

A component sizing agent needs the measured area allocation between content, padding, border and signed margin footprints in the offline rendering.

## Output

Returns a structured area ledger breaking down the measured pixel-area allocations for each CSS box model layer — content, padding, border, and signed margin — as computed in an offline (headless) native rendering pass for the given URL.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "format": "uri",
   "maxLength": 2048
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/offline-native-box-model-layer-area-ledger-5a27d18c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from detect.halowerk.com](https://www.zero.xyz/host/detect.halowerk.com/llms.txt)
