82trust / 100

Uuid Ulid Gen

by UUID / ULID / NanoID Toolkit in Search & web

x402 APIPassing, checked 2 h ago

Generate UUID v4/v5/v7, ULID, or NanoID (single or batch), or parse/validate an existing id and extract its embedded timestamp.

POST https://api.24klabs.ai/api/v1/uuid-ulid-gen

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
279 ms typical, 279 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.24klabs.ai/api/v1/uuid-ulid-gen" \
  -H "content-type: application/json" \
  -d '{"kind":"uuid5","name":"example.com","namespace":"dns"}'
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.24klabs.ai%2Fapi%2Fv1%2Fuuid-ulid-gen
const res = await pay("https://api.24klabs.ai/api/v1/uuid-ulid-gen", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"kind":"uuid5","name":"example.com","namespace":"dns"}),
});
console.log(await res.json());

Example input

{
  "kind": "uuid5",
  "name": "example.com",
  "namespace": "dns"
}

Example output

{
  "ids": [
    "cfbff0d1-9375-5685-968c-48ce8b15ae17"
  ]
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402289 ms$0.001
7 h agoPassed402279 ms$0.001