# PennyRail URL Resolver – Absolute URL from Relative

> PennyRail URL Resolver – Absolute URL from Relative is a paid API for AI agents from pennyrail.vercel.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Resolves a relative URL into an absolute URL given a base context, returning the fully-qualified absolute URL string

## Facts

- Endpoint: POST https://pennyrail.vercel.app/api/p/nano/url.resolve--absolute-url-from-relative
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pennyrail-url-resolver-absolute-url-from-relative-259c2bc6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__HjCMfx5PzfGPRB5YqzO1

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 pennyrail-url-resolver-absolute-url-from-relative-259c2bc6 -d '<json body>'
```

Example prompt: I have a relative URL like '../images/logo.png' and the base URL 'https://example.com/products/page.html' — can you resolve that into the full absolute URL?

## When to prefer this

Use this endpoint when you need a reliable, paid micro-service to programmatically resolve relative URLs to absolute ones — particularly in agent pipelines that scrape pages, process redirects, or generate links and need consistent URL normalization without implementing the RFC 3986 resolution algorithm yourself.

## Known failure modes

- Malformed relative or base URL input may return an error or unexpected result
- Missing required 'input' object field returns a 400-level error
- Ambiguous relative paths without sufficient base context may resolve incorrectly
- Network or service unavailability returns a 5xx error

## How this service works

Machine-readable settlement service

## Output

Returns an object containing the resolved absolute URL derived from the provided relative URL and base context, suitable for direct use in HTTP requests, links, or further processing.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "additionalProperties": true
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pennyrail-url-resolver-absolute-url-from-relative-259c2bc6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pennyrail.vercel.app](https://www.zero.xyz/host/pennyrail.vercel.app/llms.txt)
