# WhatChuNeed URL Parse Utility

> WhatChuNeed URL Parse Utility is a paid API for AI agents from whatchuneed.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Parses and extracts structured components from a URL string, returning parsed URL data as a structured object.

## Facts

- Endpoint: POST https://whatchuneed.vercel.app/api/util/url-parse
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/whatchuneed-url-parse-utility-fa2f9784
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tJcD8g-hpqg4aqfBcCn7p

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 whatchuneed-url-parse-utility-fa2f9784 -d '<json body>'
```

Example prompt: Can you parse this URL for me — https://example.com/products?id=42&ref=home#section2 — and pull out the hostname, path, and query parameters?

## When to prefer this

Use this endpoint when you need a quick, pay-per-call URL parsing utility without standing up your own parsing logic, especially within an AI agent pipeline that already uses the whatchuneed x402 payment infrastructure for other utility calls.

## Known failure modes

- Malformed or unparseable URL input returns an error status
- Missing required 'input' field causes a 400-level validation error
- Relative URLs without a protocol may fail to parse correctly
- Very long or unusual URL strings may produce unexpected results

## How this service works

320+ pay-per-call API endpoints across accommodation, LLM, code execution, crypto, medical, finance, and more. One API, one payment. Powered by x402 protocol.

## Output

Returns a structured object containing parsed URL components such as protocol, hostname, port, pathname, query parameters (search string), and hash fragment extracted from the input URL string.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "result": {
   "type": "object",
   "description": "Response data"
  },
  "status": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/whatchuneed-url-parse-utility-fa2f9784/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from whatchuneed.vercel.app](https://www.zero.xyz/host/whatchuneed.vercel.app/llms.txt)
