# Sindri URL Validation

> Sindri URL Validation is a paid API for AI agents from ppu43fkyhimq5fiqpmo42eh5ri0yypid.lambda-url.us-east-1.on.aws, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-19).

Checks whether a given string is a syntactically valid URL, handling edge cases like malformed schemes, hosts, and encoding issues.

## Facts

- Endpoint: POST https://ppu43fkyhimq5fiqpmo42eh5ri0yypid.lambda-url.us-east-1.on.aws/isURL
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sindri-url-validation-af585610
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0MA2ITJLfosDpHSwlSVTM

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 sindri-url-validation-af585610 -d '<json body>'
```

Example prompt: Before we save it to the database, can you check whether 'https://my-site.com/path?q=hello world' is a syntactically valid URL?

## When to prefer this

Choose this endpoint when you need robust, edge-case-aware URL syntax validation that goes beyond simple regex — particularly for catching malformed schemes, invalid hosts, and encoding anomalies. Prefer it over naive client-side regex checks when input is untrusted or when downstream systems depend on URL correctness.

## Known failure modes

- Missing or empty 'value' field may return an error or false
- Extremely long strings may time out or be rejected
- Ambiguous edge-case URLs (e.g. bare IP addresses) may return unexpected results
- Lambda cold-start latency on first invocation
- Payment failure via x402 protocol if USDC balance is insufficient

## How this service works

URL validation API. Checks whether a string is a syntactically valid URL, catching malformed schemes, hosts, and encoding edge cases a naive check misses. Returns true or false.

## Output

Returns a boolean — true if the input string is a syntactically valid URL (well-formed scheme, host, encoding, etc.), or false if it is malformed or invalid in any way.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "value": {
   "type": "string",
   "description": "The string to validate as a URL."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sindri-url-validation-af585610/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ppu43fkyhimq5fiqpmo42eh5ri0yypid.lambda-url.us-east-1.on.aws](https://www.zero.xyz/host/ppu43fkyhimq5fiqpmo42eh5ri0yypid.lambda-url.us-east-1.on.aws/llms.txt)
