79trust / 100

Dns Lookup

by api.bakhour.ca in Security & trust

x402 APIPassing, checked 20 min ago

Resolve ONE DNS record type for a domain -- the cheapest, narrowest domain-check endpoint. For all record types at once, use /domain/intelligence. For a bundled DNS+TLS+headers audit, use /web/audit (raw) or /security/posture (scored). For mail-security plus a scored verdict, use /domain/due-diligence.

GET https://api.bakhour.ca/dns/lookup

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
442 ms typical, 571 ms slowest 5%
Last check
20 min ago
Next check
in 12 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.bakhour.ca/dns/lookup?domain=openai.com&record_type=A"
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.bakhour.ca%2Fdns%2Flookup
const res = await pay("https://api.bakhour.ca/dns/lookup?domain=openai.com&record_type=A");
console.log(await res.json());

Example input

{
  "domain": "openai.com",
  "record_type": "A"
}

Example output

{
  "answers": [
    "104.18.33.45"
  ],
  "domain": "openai.com",
  "record_type": "A"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
20 min agoPassed402422 ms$0.005
4 h agoPassed402524 ms$0.005
7 h agoPassed402536 ms$0.005
11 h agoPassed402594 ms$0.005
15 h agoPassed402442 ms$0.005
18 h agoPassed402439 ms$0.005
23 h agoPassed402415 ms$0.005
26 h agoPassed402435 ms$0.005
29 h agoPassed402522 ms$0.005
34 h agoPassed402571 ms$0.005