81trust / 100

Execute Domain Trust Report V1

by Macaroon Network in Security & trust

x402 APIPassing, checked 2 h ago

Single higher-value composite report for one domain: DNS resolution, TLS/SSL certificate validity and issuer, RDAP/WHOIS registration and nameservers, and email deliverability (MX/SPF/DMARC) signals, plus a derived trust score and risk band. Built entirely from already-cleared, already-live internal capabilities (domain-dns-check-v1, domain-ssl-check-v1, domain-whois-lookup-v1, email-domain-deliverability-check-v1) -- no new source, no new licence question, no proprietary reputation database.

POST https://api.macaroonnetwork.com/execute/domain-trust-report-v1

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
208 ms typical, 305 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/domain-trust-report-v1" \
  -H "content-type: application/json" \
  -d '{"input":{"domain":"example.com"},"predicate":{"conditions":[{"field":"$.dns_resolves","operator":"eq","type":"field_changed","value":true},{"field":"$.source_urls","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%2Fdomain-trust-report-v1
const res = await pay("https://api.macaroonnetwork.com/execute/domain-trust-report-v1", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"input":{"domain":"example.com"},"predicate":{"conditions":[{"field":"$.dns_resolves","operator":"eq","type":"field_changed","value":true},{"field":"$.source_urls","type":"count_gte","value":1}],"type":"all"}}),
});
console.log(await res.json());

Example input

{
  "input": {
    "domain": "example.com"
  },
  "predicate": {
    "conditions": [
      {
        "field": "$.dns_resolves",
        "operator": "eq",
        "type": "field_changed",
        "value": true
      },
      {
        "field": "$.source_urls",
        "type": "count_gte",
        "value": 1
      }
    ],
    "type": "all"
  }
}

Example output

{
  "payload": {
    "dmarc_policy": "",
    "dmarc_present": false,
    "dns_resolves": false,
    "domain": "",
    "ip_addresses": [],
    "limitations": [],
    "mx_present": false,
    "rdap_registered": false,
    "retrieved_at": "",
    "risk": "",
    "source_urls": [],
    "spf_present": false,
    "ssl_valid": false,
    "trust_score": 0,
    "warnings": []
  },
  "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 agoPassed402342 ms$0.005
5 h agoPassed402208 ms$0.005
10 h agoPassed402298 ms$0.005
13 h agoPassed40290 ms$0.005
16 h agoPassed40292 ms$0.005
21 h agoPassed402305 ms$0.005