83trust / 100

Execute Universal Macaroon Search V1

by Macaroon Network in Search & web

x402 APIPassing, checked 2 h ago

Discover which Macaroon Network service, endpoint, or data product to call next. Searches Macaroon's own published catalogue -- title, category, description, price, and trust evidence metadata -- and returns a short, source-linked ranked list plus a safe recommended next call for each match. A thin wrapper over this registry's own existing semantic search and router infrastructure; does not execute matched services, does not call any underlying paid endpoint, and does not duplicate a matched ser

POST https://api.macaroonnetwork.com/execute/universal-macaroon-search-v1

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.macaroonnetwork.com/execute/universal-macaroon-search-v1" \
  -H "content-type: application/json" \
  -d '{"input":{"query":"which service checks a domain's trust and DNS setup"},"predicate":{"conditions":[{"field":"$.matches","type":"count_gte","value":1}],"type":"all"}}'
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.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.macaroonnetwork.com%2Fexecute%2Funiversal-macaroon-search-v1
const res = await pay("https://api.macaroonnetwork.com/execute/universal-macaroon-search-v1", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"input":{"query":"which service checks a domain's trust and DNS setup"},"predicate":{"conditions":[{"field":"$.matches","type":"count_gte","value":1}],"type":"all"}}),
});
console.log(await res.json());

Example input

{
  "input": {
    "query": "which service checks a domain's trust and DNS setup"
  },
  "predicate": {
    "conditions": [
      {
        "field": "$.matches",
        "type": "count_gte",
        "value": 1
      }
    ],
    "type": "all"
  }
}

Example output

{
  "payload": {
    "limitations": [],
    "matches": [],
    "notices": [],
    "query": ""
  },
  "predicate_passed": true,
  "settled": true
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402243 ms$0.001
7 h agoPassed402282 ms$0.001