80trust / 100

Data Deduplicate

by API Acre in Documents & files

x402 APIPassing, checked 3 h ago

Remove duplicate CSV, TSV, JSON, JSON Lines, or YAML records using selected identity fields and report the removed count.

POST https://apiacre.com/v1/data/deduplicate

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
180 ms typical, 292 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://apiacre.com/v1/data/deduplicate" \
  -H "content-type: application/json" \
  -d '{"content":"id,name\n1,Ada\n1,Ada","format":"csv","keys":["id"]}'
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%2Fapiacre.com%2Fv1%2Fdata%2Fdeduplicate
const res = await pay("https://apiacre.com/v1/data/deduplicate", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"content":"id,name\n1,Ada\n1,Ada","format":"csv","keys":["id"]}),
});
console.log(await res.json());

Example input

{
  "content": "id,name\n1,Ada\n1,Ada",
  "format": "csv",
  "keys": [
    "id"
  ]
}

Example output

{
  "data": {
    "inputRows": 2,
    "keys": [
      "id"
    ],
    "outputRows": 1,
    "records": [
      {
        "id": "1",
        "name": "Ada"
      }
    ],
    "removed": 1
  },
  "meta": {
    "cached": false,
    "duration_ms": 42,
    "next_actions": [],
    "sources": [],
    "warnings": []
  },
  "request_id": "018f1f54-7f38-7ba2-8dc3-5f90272d9f1a",
  "service": "data.deduplicate",
  "version": "1"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402164 ms$0.01
6 h agoPassed402179 ms$0.01
10 h agoPassed402180 ms$0.01
14 h agoPassed402234 ms$0.01
18 h agoPassed402124 ms$0.01
21 h agoPassed402292 ms$0.01
25 h agoPassed402225 ms$0.01
28 h agoPassed40262 ms$0.01
32 h agoPassed402258 ms$0.01
37 h agoPassed402382 ms$0.01