# Halowerk Fallback Dependency Resolver

> Halowerk Fallback Dependency Resolver is a paid API for AI agents from agent.halowerk.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-13).

Searches the x402 discovery catalogue to find alternative services that can replace a broken or unavailable API dependency, ranked by task relevance and price.

## Facts

- Endpoint: POST https://agent.halowerk.com/v1/fallback-resolve
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/halowerk-fallback-dependency-resolver-69d0b6bb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1PN5cVMDAeVN1uTAfiZUI

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 halowerk-fallback-dependency-resolver-69d0b6bb -d '<json body>'
```

Example prompt: My dependency at https://api.example.com/geocode just went down — can you search the x402 catalogue for a replacement that takes an address and returns latitude and longitude fields, and show me the best matches sorted by price?

## When to prefer this

Use this endpoint when an agent's dependency fails at runtime and you need an automated way to find a working replacement from the x402 ecosystem. It is especially useful in agentic pipelines that need resilience without manual intervention, and when you want candidates scored and priced so the agent can pick the best cost-performance option automatically.

## Known failure modes

- No matching services found in catalogue if the task description is too vague or niche
- Low-relevance results if the description of the failed service is sparse
- Catalogue freshness issues if a listed service has since gone offline
- Invalid URL format for the failed endpoint causing a request error
- Mismatched results if task description terms don't overlap with catalogue metadata

## How this service works

Searches the public x402 discovery catalogue for services able to replace a broken dependency. Give the failed URL and, better still, a short description of what it did and the fields you need back; matches are scored on overlap between your task words and the candidate name, description and path, then ordered by score and price. Every hit carries the reason it matched, its price in USDC, its network and when the catalogue last saw it.

## Output

A ranked list of x402 service candidates that can substitute for the failed dependency, each including: the reason it matched the query, its price in USDC, the network it operates on, and when the catalogue last observed it.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "task": {
   "type": "string",
   "maxLength": 500,
   "description": "What it did, in a few words. The single strongest signal for a good match."
  },
  "limit": {
   "type": "integer",
   "default": 10,
   "maximum": 25,
   "minimum": 1,
   "description": "How many candidates to return."
  },
  "network": {
   "type": "string",
   "maxLength": 64,
   "description": "Only candidates on this network, e.g. eip155:8453."
  },
  "failed_url": {
   "type": "string",
   "maxLength": 2000,
   "description": "The endpoint that stopped working."
  },
  "max_price_usdc": {
   "type": "number",
   "minimum": 0,
   "description": "Ignore candidates above this price per call."
  },
  "required_fields": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "default": [],
   "description": "Field names you need in the answer. Candidates mentioning them score higher."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/halowerk-fallback-dependency-resolver-69d0b6bb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent.halowerk.com](https://www.zero.xyz/host/agent.halowerk.com/llms.txt)
