Skip to content
data · documents · data · profiling · csv · tsv · json · jsonl · yaml · quality

Dataset profile

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

$0.025 USDCBase + Solanax402 v2POST
Pay $0.025 USDC and run in your browserView free result sample

Endpoint

https://apiacre.com/v1/data/profile

Send the JSON body below. An unpaid request returns HTTP 402 with a PAYMENT-REQUIRED header; an x402-compatible buyer signs the requirement and retries with PAYMENT-SIGNATURE.

Pay $0.025 USDC and run in your browser

Official Coinbase agent path

Coinbase Agentic Wallet can satisfy this x402 request in one command. Running it may pay automatically, so --max-amount is fixed to $0.025 USDC in atomic units. Copying the command does not install, authenticate, sign, or pay; review the request and use a separate low-value wallet before running it.

npx --yes awal@latest x402 pay https://apiacre.com/v1/data/profile \
  -X POST \
  -d '{"content":"name,score\nAda,98\nLin,91","format":"csv"}' \
  --max-amount 25000 \
  --json

Coinbase pay-for-service documentation · Buyer setup and wallet safety

Alternative third-party AgentCash commands

Run check first without payment. Its fetch command may automatically pay up to the exact listed price.

npx --yes agentcash@latest check https://apiacre.com/v1/data/profile
npx --yes agentcash@latest fetch https://apiacre.com/v1/data/profile \
  --method POST \
  --header 'content-type: application/json' \
  --body '{"content":"name,score\nAda,98\nLin,91","format":"csv"}' \
  --payment-protocol x402 \
  --payment-network base \
  --max-amount 0.025

AgentCash CLI documentation

Input example

{
  "content": "name,score\nAda,98\nLin,91",
  "format": "csv"
}

Response shape

View free static sample JSON

{
  "request_id": "018f1f54-7f38-7ba2-8dc3-5f90272d9f1a",
  "service": "data.profile",
  "version": "1",
  "data": {
    "rows": 2,
    "columns": 2,
    "profile": {
      "name": {
        "nonNull": 2,
        "null": 0,
        "unique": 2,
        "types": {
          "str": 2
        },
        "samples": [
          "Ada",
          "Lin"
        ]
      },
      "score": {
        "nonNull": 2,
        "null": 0,
        "unique": 2,
        "types": {
          "str": 2
        },
        "samples": [
          "98",
          "91"
        ]
      }
    }
  },
  "meta": {
    "duration_ms": 42,
    "cached": false,
    "sources": [],
    "warnings": [],
    "next_actions": [
      {
        "service": "data.clean",
        "title": "Dataset cleaning",
        "reason": "Apply collision-safe header, whitespace, and empty-value normalization after profiling the source.",
        "method": "POST",
        "path": "/v1/data/clean",
        "price": "$0.01",
        "input_template": {
          "content": "$request.content",
          "format": "$request.format",
          "trim_strings": true,
          "empty_to_null": true,
          "normalize_headers": true
        },
        "use_output": "Verify result.data.inputSha256 and outputSha256, inspect exact transformation counts, and retain result.data.records as the cleaned artifact.",
        "handoff_path": "/catalog/data.clean",
        "checkout_path": "/try/data.clean",
        "sample_path": "/samples/data.clean",
        "maximum_atomic_usdc": "10000",
        "handoff_payment_required": false,
        "executes_automatically": false,
        "authorization_required": true
      },
      {
        "service": "data.schema",
        "title": "JSON Schema generator",
        "reason": "Infer a reusable JSON Schema after profiling the source records.",
        "method": "POST",
        "path": "/v1/data/schema",
        "price": "$0.025",
        "input_template": {
          "content": "$request.content",
          "format": "$request.format"
        },
        "use_output": "Persist result.data.schema as the validation contract for future records.",
        "handoff_path": "/catalog/data.schema",
        "checkout_path": "/try/data.schema",
        "sample_path": "/samples/data.schema",
        "maximum_atomic_usdc": "25000",
        "handoff_payment_required": false,
        "executes_automatically": false,
        "authorization_required": true
      }
    ]
  }
}

Complete recipes using this API

These buyer-controlled recipes connect this service to compatible API Acre results. Every step has its own exact price and requires separate authorization.

Continue this workflow

These optional follow-ups use this result in a larger workflow. Each call shows a fresh x402 challenge and requires separate buyer authorization.

Try the payment challenge

curl -i -X POST 'https://apiacre.com/v1/data/profile' \
  -H 'content-type: application/json' \
  --data '{"content":"name,score\nAda,98\nLin,91","format":"csv"}'