# agentshelf.syntexa.ch Regex Hashtag Extractor

> agentshelf.syntexa.ch Regex Hashtag Extractor is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.008/call, status unknown (last checked 2026-09-29).

Extracts all hashtags from a given text string using regex, returning up to 20 matches.

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/regex-hashtag?utm_source=zero.xyz
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentshelf-syntexa-ch-regex-hashtag-extractor-e6e0f08f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_noHl6S0AA-mYJmCDXTzlR

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-syntexa-ch-regex-hashtag-extractor-e6e0f08f -d '<json body>'
```

Example prompt: Pull out all the hashtags from this caption: 'Loving the #sunset tonight! #travel #photography #wanderlust — what a view.' and give me the list.

## When to prefer this

Use this endpoint when you need a fast, deterministic, regex-based hashtag extraction from text without any LLM or network dependency. Prefer the free sandbox endpoint POST /v1/sandbox/regex-hashtag first if available; fall back to this paid endpoint only when the sandbox is unavailable or not suitable. Best for agents processing social media content, user-generated text, or marketing copy where reliable hashtag parsing is needed at low cost.

## Known failure modes

- Empty input or missing 'text' field returns a validation error
- Text exceeding 100,000 characters is rejected
- No hashtags found returns an empty match list but still incurs the $0.008 USDC charge
- Malformed JSON body causes a 400 error
- Insufficient USDC balance or x402 payment failure blocks the request

## How this service works

Call when an agent needs hashtags extracted from text, capped at 20 matches. An empty match list is billed. No network. Exact $0.008 USDC. Prefer unpaid POST /v1/sandbox/regex-hashtag first.

## Output

Returns a list of up to 20 hashtag strings found in the input text (e.g. ['#travel', '#photography']). If no hashtags are present, an empty list is returned — but the call is still billed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "examples": [
    "#hello"
   ],
   "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-syntexa-ch-regex-hashtag-extractor-e6e0f08f/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)
