Skip to content
Free static example · no wallet required

Data conversion

Inspect the exact response envelope first. When you need current analysis for your own input, one successful x402 call costs $0.005 USDC on Base or Solana.

No accountNo subscriptionExact USDC priceFresh calls only are paid
Full response envelope

What you receive

Demonstration data only. The paid endpoint returns a fresh result and settlement receipt.

{
  "request_id": "018f1f54-7f38-7ba2-8dc3-5f90272d9f1a",
  "service": "data.convert",
  "version": "1",
  "data": {
    "sourceFormat": "csv",
    "format": "json",
    "content": "[\n  {\n    \"name\": \"Ada\",\n    \"score\": \"98\"\n  }\n]",
    "rows": 1,
    "inputSha256": "bae2475f86fa2343a9611424d3c2475e454b639c71da96a788602528e0937bea",
    "outputSha256": "faeabfb2a327ba5d4ad8496da70414d873499b57241fab51fe88c705617410bd",
    "conversion": {
      "version": "apiacre-data-convert/3",
      "rootMode": "records",
      "sourceRoot": "array",
      "nodesProcessed": 4,
      "nonStringKeysNormalized": 0,
      "dateTimeScalarsNormalized": 0,
      "nestedTabularCellsJsonEncoded": 0,
      "deterministic": true,
      "networkRequestsMade": 0
    },
    "warnings": []
  },
  "meta": {
    "duration_ms": 42,
    "cached": false,
    "sources": [],
    "warnings": [],
    "next_actions": [
      {
        "service": "data.schema",
        "title": "JSON Schema generator",
        "reason": "Infer a reusable Draft 2020-12 contract from the converted records.",
        "method": "POST",
        "path": "/v1/data/schema",
        "price": "$0.025",
        "input_template": {
          "content": "$result.data.content",
          "format": "$result.data.format",
          "root_mode": "records"
        },
        "use_output": "Persist result.data.schema and use its input fingerprint to identify the converted source used for inference.",
        "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
      }
    ]
  }
}
Example request

Input JSON

{
  "content": "name,score\nAda,98",
  "format": "csv",
  "target_format": "json"
}
Delivery contract

One paid POST

Convert caller-supplied CSV, TSV, JSON, JSON Lines (NDJSON), or YAML with optional root preservation, deterministic integrity hashes, JSON-encoded nested tabular cells, and explicit rejection of ambiguous duplicate keys or non-finite numbers.

POST /v1/data/convert

Inspect validation rules and output schema

Need current data?

Run this exact service.

The checkout verifies the request, selected network, USDC asset, recipient, and price before opening a wallet.

Continue · $0.005 USDC