# DataVault URL Parser

> DataVault URL Parser is a paid API for AI agents from zetavault.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Parses and extracts structured components from a given URL string

## Facts

- Endpoint: POST https://zetavault.vercel.app/api/url-parse
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/datavault-url-parser-28c17b93
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_znHHgfasUln2SVQWyqzk_

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 datavault-url-parser-28c17b93 -d '<json body>'
```

Example prompt: Can you parse this URL for me — https://shop.example.com/products?category=shoes&size=10#reviews — and tell me the hostname, path, and all the query parameters?

## When to prefer this

Use this endpoint when you need to programmatically decompose a URL string into its constituent parts — protocol, host, path, query params, fragment — without writing custom parsing logic. Prefer this over regex-based approaches or custom code when operating in an agent pipeline that needs clean structured URL data on demand.

## Known failure modes

- Invalid or malformed URL returns error or empty data
- Missing required 'url' field returns validation error
- Non-string URL value causes parsing failure
- Very long or unusual URL schemes may not parse correctly

## How this service works

54 endpoints spanning local tools, live data feeds, and AI-powered text processing. Pay-per-call with USDC on Base.

## Output

Returns a structured object with parsed URL components such as protocol, hostname, pathname, query parameters, hash fragment, and other decomposed parts of the input URL, along with a success boolean.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object"
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/datavault-url-parser-28c17b93/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from zetavault.vercel.app](https://www.zero.xyz/host/zetavault.vercel.app/llms.txt)
