# ONE Engine URL Path Parser

> ONE Engine URL Path Parser is a paid API for AI agents from one-search.one-engine.workers.dev, paid per call via x402, $0.0009/call, status unknown (last checked 2026-10-02).

Parses a URL string and extracts its path, search query string, and hash fragment components.

## Facts

- Endpoint: POST https://one-search.one-engine.workers.dev/v1/url/path?utm_source=zero.xyz
- Price: $0.0009/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/one-engine-url-path-parser-944c024a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9qIhyBefYtww0iJNKZMXj

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 one-engine-url-path-parser-944c024a -d '<json body>'
```

Example prompt: Can you parse this URL for me — 'https://example.com/a/b?q=1#top' — and tell me its pathname, search string, and hash?

## When to prefer this

Use this endpoint when you need a lightweight, pay-per-call URL decomposition utility without setting up your own parsing logic, especially in autonomous agent workflows that already use x402 micropayments on Base for cost tracking.

## Known failure modes

- Malformed or non-parseable URL may return an error or empty fields
- Missing URL input field returns a validation error
- Network timeout on the worker edge node

## How this service works

Low-cost pay-per-call utility APIs for autonomous agents using x402 on Base.

## Output

A JSON object containing three fields: 'pathname' (the path segment of the URL, e.g. '/a/b'), 'search' (the query string including the '?' character, e.g. '?q=1'), and 'hash' (the fragment identifier including the '#' character, e.g. '#top').

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "hash": "#top",
  "search": "?q=1",
  "pathname": "/a/b"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/one-engine-url-path-parser-944c024a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from one-search.one-engine.workers.dev](https://www.zero.xyz/host/one-search.one-engine.workers.dev/llms.txt)
