16trust / 100

Ens Expiry

by Vextorium in Onchain & crypto

x402 APIFailing, checked 2 min ago

Expiry of a .eth (ENS) or .base.eth (Basename) name: expiration date, days left, grace period end, registrant and whether it is free to register.

POST https://api.vextorium.com/v1/ens-expiry

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
0.0%
Response time
- typical, - slowest 5%
Last check
2 min ago: Amount "0.003" is not in atomic token units
Next check
in 1 h

How to call it

# bash or zsh: see the payment challenge (nothing is charged)
curl -g -i -X POST 'https://api.vextorium.com/v1/ens-expiry' \
  -H 'content-type: application/json' \
  --data-raw '{"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.vextorium.com%2Fv1%2Fens-expiry
const res = await pay("https://api.vextorium.com/v1/ens-expiry", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: "{\"name\":\"vitalik.eth\"}",
});
console.log(await res.json());

Example input

{
  "name": "vitalik.eth"
}

Example output

{
  "expires": "2048-01-31",
  "free": false,
  "grace_period_end": "2048-04-30",
  "name": "vitalik.eth",
  "network": "ethereum",
  "note": "After expiry there are 90 days of grace to renew; then it goes to a temporary auction and becomes available.",
  "record_owner": "0x220866B1A2219f40e72f5c628B65D54268cA3A9D",
  "registered": true,
  "remaining_days": 7790.4,
  "status": "active"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 min agoAmount "0.003" is not in atomic token units40284 ms$0.003
4 h agoAmount "0.003" is not in atomic token units40285 ms$0.003
9 h agoAmount "0.003" is not in atomic token units402225 ms$0.003
13 h agoAmount "0.003" is not in atomic token units40298 ms$0.003
17 h agoAmount "0.003" is not in atomic token units40287 ms$0.003
21 h agoAmount "0.003" is not in atomic token units40289 ms$0.003
26 h agoAmount "0.003" is not in atomic token units40288 ms$0.003
30 h agoAmount "0.003" is not in atomic token units40278 ms$0.003
34 h agoAmount "0.003" is not in atomic token units40281 ms$0.003
38 h agoAmount "0.003" is not in atomic token units40279 ms$0.003
41 h agoAmount "0.003" is not in atomic token units402329 ms$0.003
46 h agoAmount "0.003" is not in atomic token units40281 ms$0.003
2 days agoAmount "0.003" is not in atomic token units40285 ms$0.003
2 days agoAmount "0.003" is not in atomic token units40284 ms$0.003
2 days agoAmount "0.003" is not in atomic token units402158 ms$0.003