# apiacre.com Data Profiler

> apiacre.com Data Profiler is a paid API for AI agents from apiacre.com, paid per call via x402, $0.025/call, status unknown (last checked 2026-09-13).

Analyzes a dataset to return field-level statistics including null counts, inferred types, uniqueness ratios, and sample values.

## Facts

- Endpoint: POST https://apiacre.com/v1/data/profile
- Price: $0.025/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/apiacre-com-data-profiler-a2f809b1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MNQD4ytsAgV39Xb0ZSmPU

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability apiacre-com-data-profiler-a2f809b1 -d '<json body>'
```

Example prompt: Profile this dataset for me — I need to know the field names, their inferred types, how many nulls each has, how unique the values are, and a few sample values per field.

## When to prefer this

Use this endpoint when you need a fast, automated structural summary of a dataset before loading, transforming, or modeling it. It is ideal for data quality audits, exploratory data analysis, and pre-pipeline inspection where you need null rates, type inference, uniqueness, and samples in one call — without writing custom profiling code.

## Known failure modes

- Empty or malformed input records return a validation error
- Records with deeply nested structures may not profile nested fields
- Very large datasets may time out or require batching
- Inconsistent types within a field may result in ambiguous or mixed type inference

## How this service works

Profile CSV, TSV, JSON, JSON Lines, or YAML records for field types, nulls, uniqueness, and representative samples.

## Output

Returns a per-field breakdown including: field name, inferred data type, null count and null rate, unique value count and uniqueness ratio, and a set of sample values drawn from the column.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "format": {
   "enum": [
    "csv",
    "tsv",
    "json",
    "jsonl",
    "yaml"
   ],
   "type": "string"
  },
  "content": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "rows": 2,
   "columns": 2,
   "profile": {
    "name": {
     "null": 0,
     "types": {
      "str": 2
     },
     "unique": 2,
     "nonNull": 2,
     "samples": [
      "Ada",
      "Lin"
     ]
    },
    "score": {
     "null": 0,
     "types": {
      "str": 2
     },
     "unique": 2,
     "nonNull": 2,
     "samples": [
      "98",
      "91"
     ]
    }
   }
  },
  "meta": {
   "cached": false,
   "sources": [],
   "warnings": [],
   "duration_ms": 42,
   "next_actions": [
    {
     "path": "/v1/data/clean",
     "title": "Dataset cleaning",
     "method": "POST",
     "reason": "Apply collision-safe header, whitespace, and empty-value normalization after ...",
     "service": "data.clean"
    }
   ]
  },
  "service": "data.profile",
  "version": "1",
  "request_id": "018f1f54-7f38-7ba2-8dc3-5f90272d9f1a"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/apiacre-com-data-profiler-a2f809b1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from apiacre.com](https://www.zero.xyz/host/apiacre.com/llms.txt)
