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
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 20 min ago | Passed | 402 | 422 ms | $0.005 |
| 4 h ago | Passed | 402 | 524 ms | $0.005 |
| 7 h ago | Passed | 402 | 536 ms | $0.005 |
| 11 h ago | Passed | 402 | 594 ms | $0.005 |
| 15 h ago | Passed | 402 | 442 ms | $0.005 |
| 18 h ago | Passed | 402 | 439 ms | $0.005 |
| 23 h ago | Passed | 402 | 415 ms | $0.005 |
| 26 h ago | Passed | 402 | 435 ms | $0.005 |
| 29 h ago | Passed | 402 | 522 ms | $0.005 |
| 34 h ago | Passed | 402 | 571 ms | $0.005 |