# x402-toolbox String Similarity

> x402-toolbox String Similarity is a paid API for AI agents from x402-toolbox.shablony-pro.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-29).

Computes a deterministic similarity score between two strings, paid per-call via x402 (USDC on Base).

## Facts

- Endpoint: GET https://x402-toolbox.shablony-pro.workers.dev/util/string-similarity?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-toolbox-string-similarity-976e3675
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sitimcEfyOkmfToLWniFz

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 x402-toolbox-string-similarity-976e3675
```

Example prompt: Compare 'colour' and 'color' and give me a similarity score — I want to know how closely these two strings match each other.

## When to prefer this

Choose this endpoint when you need a lightweight, deterministic, pay-per-call string similarity computation with no API key or signup overhead — ideal for AI agents operating autonomously with a crypto wallet on Base, processing one-off fuzzy match tasks at $0.001 per call.

## Known failure modes

- Missing or malformed input strings return an error response
- Payment failure over x402 (insufficient USDC balance or wrong chain) results in 402 response and no computation
- Invalid schema parameter may produce unexpected comparison behavior
- Network timeout on Cloudflare Workers edge under load

## How this service works

309 deterministic pay-per-call tools for AI agents over x402 (USDC, Base). No signup, no API key: the payment is the identity.

## Output

Returns a JSON object with a boolean 'ok' indicating success, a boolean 'paid' confirming x402 payment was processed, and a numeric similarity score between the two input strings.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "schema": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "paid": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-toolbox-string-similarity-976e3675/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-toolbox.shablony-pro.workers.dev](https://www.zero.xyz/host/x402-toolbox.shablony-pro.workers.dev/llms.txt)
