78trust / 100
Chain Ens
by api.x-402.online in Weather & location
x402 APIPassing, checked 31 min ago
ENS name resolution in both directions: an .eth name to its address, or an address to its primary ENS name, with the avatar when set. Query: ?name=vitalik.eth or ?address=0xd8dA…
GET https://api.x-402.online/v1/chain/ens
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 355 ms typical, 600 ms slowest 5%
- Last check
- 31 min ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.x-402.online/v1/chain/ens?name=vitalik.eth"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.x-402.online%2Fv1%2Fchain%2Fens
const res = await pay("https://api.x-402.online/v1/chain/ens?name=vitalik.eth");
console.log(await res.json());Example input
{
"name": "vitalik.eth"
}Example output
{
"address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
"name": "vitalik.eth",
"resolved": true
}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 |
|---|---|---|---|---|
| 31 min ago | Passed | 402 | 355 ms | $0.005 |
| 4 h ago | Passed | 402 | 2.7 s | $0.005 |
| 8 h ago | Passed | 402 | 600 ms | $0.005 |
| 11 h ago | Passed | 402 | 274 ms | $0.005 |
| 15 h ago | Passed | 402 | 265 ms | $0.005 |
| 18 h ago | Passed | 402 | 577 ms | $0.005 |
| 23 h ago | Passed | 402 | 289 ms | $0.005 |
| 25 h ago | Passed | 402 | 244 ms | $0.005 |
| 30 h ago | Passed | 402 | 254 ms | $0.005 |
| 33 h ago | Passed | 402 | 426 ms | $0.005 |
| 36 h ago | Passed | 402 | 422 ms | $0.005 |
| 41 h ago | Passed | 402 | 408 ms | $0.005 |