81trust / 100

Fallback Resolve

by agent.halowerk.com in Search & web

x402 APIPassing, checked 3 h ago

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.

POST https://agent.halowerk.com/v1/fallback-resolve

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
136 ms typical, 136 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://agent.halowerk.com/v1/fallback-resolve" \
  -H "content-type: application/json" \
  -d '{"failed_url":"https://legacy.example.invalid/v1/weather/forecast","limit":5,"network":"eip155:8453","required_fields":["temperature","precipitation"],"task":"Weather forecast with temperature and precipitation."}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fagent.halowerk.com%2Fv1%2Ffallback-resolve
const res = await pay("https://agent.halowerk.com/v1/fallback-resolve", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"failed_url":"https://legacy.example.invalid/v1/weather/forecast","limit":5,"network":"eip155:8453","required_fields":["temperature","precipitation"],"task":"Weather forecast with temperature and precipitation."}),
});
console.log(await res.json());

Example input

{
  "failed_url": "https://legacy.example.invalid/v1/weather/forecast",
  "limit": 5,
  "network": "eip155:8453",
  "required_fields": [
    "temperature",
    "precipitation"
  ],
  "task": "Weather forecast with temperature and precipitation."
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402136 ms$0.005