Delx Array Uniq · ARR Uniq

by Delx Array Uniq

POSTBaseSolana

$0.001

per call · USD Coin on Base

Deduplicate a list preserving order. Call when you unique agent keys without sorting. Returns unique items and count for $0.001 USDC via x402 on Base. No network, no keys, no retention; first-party local JSON only. Results are advisory; the caller owns budgets, auth, and production controls.

Endpoint

POST https://api.delx.ai/api/v1/x402/arr-uniq

186

Calls / 30d

1

Unique payers / 30d

Sep 10

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://api.delx.ai/api/v1/x402/arr-uniq", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "items": [
      1,
      2,
      2,
      3,
      1
    ]
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://api.delx.ai/api/v1/x402/arr-uniq" \
  -H "Content-Type: application/json" \
  -d '{"items":[1,2,2,3,1]}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "count": 3,
  "items": [
    1,
    2,
    3
  ],
  "schema": "delx/util-arr-uniq/v1"
}

Payment details

Pay to0x9f8bd9875b3e0b632a24a3a7c73f7787175e73a2
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana
Schemesexact

Is this your API?

Pin it to the top of AI & Inference and the homepage with a featured placement.

Get featured →

More from Delx Array Uniq & similar services