# AgentShelf Lines Drop-Hash

> AgentShelf Lines Drop-Hash is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-11).

Transforms multi-line text by dropping lines that contain a hash character (#), returning only the non-commented lines

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/lines-drop-hash?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentshelf-lines-drop-hash-7425bce3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Ty0U6EtgE_58b_hXFN-5S

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 agentshelf-lines-drop-hash-7425bce3 -d '<json body>'
```

Example prompt: Take this text and remove all lines that contain a hash character — I just want the uncommented lines back: '# config start\nhost=localhost\n# port setting\nport=8080'

## When to prefer this

Use this endpoint when you need a deterministic, serverless transformation to strip hash-commented lines from text — configuration files, scripts, annotated lists — without any LLM or network dependency. Prefer the free sandbox endpoint POST /v1/sandbox/lines-drop-hash first for testing; use this paid endpoint for production workloads where reliability and a paid SLA matter.

## Known failure modes

- Empty string input returns validation error (minLength: 1)
- Input exceeding 100,000 characters returns a length validation error
- Payment of exactly $0.001 USDC required; incorrect payment amount results in 402 response
- Network or service unavailability returns 5xx errors

## How this service works

Call when an agent needs lines of text transformed with drop-hash. No network. Send JSON {"text":"b\na\n"}. Exact $0.001 USDC on Base. Try unpaid POST /v1/sandbox/lines-drop-hash first.

## Output

The filtered text with all lines containing a hash character (#) removed, returning only the clean non-commented lines as a string

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "examples": [
    "b\na\n"
   ],
   "maxLength": 100000,
   "minLength": 1,
   "description": "Input for this SKU. The route description says whether it is plain text, a URL, base64 bytes, or an already-encoded token."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentshelf-lines-drop-hash-7425bce3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshelf.syntexa.ch](https://www.zero.xyz/host/agentshelf.syntexa.ch/llms.txt)
