# finmath Slugify

> finmath Slugify is a paid API for AI agents from finmath.qzqh5rrbkz.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-12).

Converts an arbitrary text string into a URL-safe slug using deterministic string transformation

## Facts

- Endpoint: POST https://finmath.qzqh5rrbkz.workers.dev/v1/slugify?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/finmath-slugify-6c3c8831
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_V-juQEhem0GNMSP8kBGUf

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 finmath-slugify-6c3c8831 -d '<json body>'
```

Example prompt: Can you slugify this text for me: 'Black-Scholes Option Pricing & Greeks Calculator 2024'?

## When to prefer this

Use this endpoint when you need deterministic, consistent slug generation as part of a finmath workflow, or when you want a single USDC-priced micro-service call to slugify text without running local string manipulation. However, note this is a utility endpoint on a finance-focused service — it may be incidental to the platform's core math capabilities.

## Known failure modes

- Missing required 'text' field returns a 400 validation error
- Empty string input may return an empty or trivial slug
- Payment not included or insufficient USDC balance returns 402 Payment Required
- Network timeout from Cloudflare Worker returns 503

## How this service works

Deterministic finance and crypto math for AI agents: TradFi (NPV, IRR, XIRR, Black-Scholes + Greeks, bonds, VaR, Sharpe) and DeFi (impermanent loss, perp liquidation, funding, Uniswap v3, health factor, cost basis). Exact, model-free arithmetic that LLMs get wrong — priced per call in USDC.

## Output

Returns a result object containing the slugified version of the input text (lowercased, special characters removed, spaces replaced with hyphens) along with a meta object containing call metadata.

## Example request

```json
{
 "text": "Black-Scholes Option Pricing & Greeks Calculator 2024"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "text"
 ],
 "properties": {
  "text": {
   "type": "string",
   "description": "text"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "result",
  "meta"
 ],
 "properties": {
  "meta": {
   "type": "object"
  },
  "result": {}
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/finmath-slugify-6c3c8831/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from finmath.qzqh5rrbkz.workers.dev](https://www.zero.xyz/host/finmath.qzqh5rrbkz.workers.dev/llms.txt)
