data

Structured data contract

Normalize caller-supplied CSV, TSV, JSON, JSON Lines, or YAML to deterministic JSON, infer a Draft 2020-12 schema from that normalized value, and validate one future JSON value in a single x402 call.

Price: $0.035 USDC via x402 exact payment on Base and Solana.

post/v1/data/contract

Request

  • Base URL: https://apiacre.com
  • URL: https://apiacre.com/v1/data/contract
  • Auth: none required

Request body

contentstring required
format'csv' | 'tsv' | 'json' | 'jsonl' | 'yaml' required

Source format; use jsonl for JSON Lines or NDJSON

root_mode'records' | 'preserve'

Keep the compatible array-of-records contract, or preserve the JSON/YAML root shape

instanceunknown required
max_errorsinteger
check_formatsboolean

Assert supported JSON Schema formats during future-value validation

Response

Successful Response

request_idstring required
servicestring required
versionstring
dataobject required

Changes

No recorded changes to this operation across all 1 revision of this API.