16trust / 100

Csv Stats

by Vextorium in Documents & files

x402 APIFailing, checked 3 h ago

Profile a CSV (delimiter auto-detected): rows, columns, type of each column, nulls, unique values, min, max, mean, median, std, sum, top values, duplicate rows and a sample. Understand a dataset before using it.

POST https://api.vextorium.com/v1/csv-stats

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
0.0%
Response time
- typical, - slowest 5%
Last check
3 h ago: Amount "0.004" is not in atomic token units
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.vextorium.com/v1/csv-stats" \
  -H "content-type: application/json" \
  -d '{"content":"city,sales,month\nMadrid,100,1\nBarcelona,80,1\nMadrid,120,2"}'
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%2Fcsv-stats
const res = await pay("https://api.vextorium.com/v1/csv-stats", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"content":"city,sales,month\nMadrid,100,1\nBarcelona,80,1\nMadrid,120,2"}),
});
console.log(await res.json());

Example input

{
  "content": "city,sales,month\nMadrid,100,1\nBarcelona,80,1\nMadrid,120,2"
}

Example output

{
  "columns": 3,
  "delimiter": ",",
  "duplicate_rows": 0,
  "profile": [
    {
      "avg_length": 7,
      "column": "city",
      "empty": 0,
      "most_frequent": [
        {
          "times": 2,
          "value": "Madrid"
        },
        {
          "times": 1,
          "value": "Barcelona"
        }
      ],
      "type": "str",
      "unique": 2
    },
    {
      "avg": 100,
      "column": "sales",
      "deviation": 20,
      "empty": 0,
      "max": 120,
      "median": 100,
      "min": 80,
      "most_frequent": [
        {
          "times": 1,
          "value": 100
        },
        {
          "times": 1,
          "value": 80
        }
      ],
      "sum": 300,
      "type": "int64",
      "unique": 3
    }
  ],
  "rows": 3,
  "sample": [
    {
      "city": "Madrid",
      "month": 1,
      "sales": 100
    },
    {
      "city": "Barcelona",
      "month": 1,
      "sales": 80
    }
  ]
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
3 h agoAmount "0.004" is not in atomic token units402207 ms$0.004
7 h agoAmount "0.004" is not in atomic token units40297 ms$0.004
11 h agoAmount "0.004" is not in atomic token units402117 ms$0.004
15 h agoAmount "0.004" is not in atomic token units40286 ms$0.004
19 h agoAmount "0.004" is not in atomic token units40280 ms$0.004
23 h agoAmount "0.004" is not in atomic token units40281 ms$0.004
27 h agoAmount "0.004" is not in atomic token units40277 ms$0.004
32 h agoAmount "0.004" is not in atomic token units40290 ms$0.004
35 h agoAmount "0.004" is not in atomic token units402300 ms$0.004
40 h agoAmount "0.004" is not in atomic token units40289 ms$0.004
43 h agoAmount "0.004" is not in atomic token units40293 ms$0.004
2 days agoAmount "0.004" is not in atomic token units40289 ms$0.004
2 days agoAmount "0.004" is not in atomic token units40285 ms$0.004
2 days agoAmount "0.004" is not in atomic token units40287 ms$0.004
3 days agoAmount "0.004" is not in atomic token units40285 ms$0.004