{
  "x402Version": 2,
  "id": 2586,
  "slug": "2586",
  "resource": "https://apiacre.com/v1/data/contract",
  "description": "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.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xa0BFa4f07281c9b248DC3AED2217836BcA24869B",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "35000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "B4CHWQeQn7GDLZD2aW6hpGG2bEseisBFLZYECA3HDLan",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "35000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "check_formats": true,
            "content": "[{\"name\":\"Ada\",\"score\":98}]",
            "format": "json",
            "instance": [
              {
                "name": "Lin",
                "score": 91
              }
            ],
            "max_errors": 25,
            "root_mode": "records"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "data": {
              "contract": {
                "inference": {
                  "csvEmptyStringsAsNull": false,
                  "csvNumericStringsCoerced": false,
                  "dialect": "https://json-schema.org/draft/2020-12/schema",
                  "tabularNumericStringsCoerced": false,
                  "version": "apiacre-schema-inference/3"
                },
                "input": {
                  "characters": 46,
                  "format": "json",
                  "records": 1,
                  "rootMode": "records",
                  "utf8Bytes": 46
                },
                "schema": {
                  "$schema": "https://json-schema.org/draft/2020-12/schema",
                  "items": {
                    "properties": {
                      "name": {
                        "type": "string",
                        "x-apiacre-observed": {
                          "missingCount": 0,
                          "nullCount": 0,
                          "presentCount": 1,
                          "sampleCount": 1,
                          "types": [
                            "string"
                          ]
                        }
                      },
                      "score": {
                        "type": "integer",
                        "x-apiacre-observed": {
                          "missingCount": 0,
                          "nullCount": 0,
                          "presentCount": 1,
                          "sampleCount": 1,
                          "types": [
                            "integer"
                          ]
                        }
                      }
                    },
                    "required": [
                      "name",
                      "score"
                    ],
                    "type": "object",
                    "x-apiacre-observed": {
                      "missingCount": 0,
                      "nullCount": 0,
                      "presentCount": 1,
                      "sampleCount": 1,
                      "types": [
                        "object"
                      ]
                    }
                  },
                  "type": "array",
                  "x-apiacre-observed": {
                    "missingCount": 0,
                    "nullCount": 0,
                    "presentCount": 1,
                    "sampleCount": 1,
                    "types": [
                      "array"
                    ]
                  }
                }
              },
              "normalized": {
                "content": "[\n  {\n    \"name\": \"Ada\",\n    \"score\": 98\n  }\n]",
                "format": "json",
                "records": 1,
                "rootMode": "records",
                "sourceFormat": "json"
              },
              "pipeline": {
                "deterministic": true,
                "networkRequestsMade": 0,
                "singlePaymentAuthorization": true,
                "steps": [
                  "normalize-to-json",
                  "infer-draft-2020-12",
                  "validate-instance"
                ],
                "version": "apiacre-data-contract/1"
              },
              "validation": {
                "errorCount": 0,
                "errorCountExact": true,
                "instanceValid": true,
                "schemaValid": true,
                "valid": true
              }
            },
            "meta": {
              "cached": false,
              "duration_ms": 42,
              "next_actions": [],
              "sources": [],
              "warnings": []
            },
            "request_id": "018f1f54-7f38-7ba2-8dc3-5f90272d9f1a",
            "service": "data.contract",
            "version": "1"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "check_formats": {
                    "type": "boolean"
                  },
                  "content": {
                    "type": "string"
                  },
                  "format": {
                    "enum": [
                      "csv",
                      "tsv",
                      "json",
                      "jsonl",
                      "yaml"
                    ],
                    "type": "string"
                  },
                  "instance": {},
                  "max_errors": {
                    "type": "integer"
                  },
                  "root_mode": {
                    "enum": [
                      "records",
                      "preserve"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "content",
                  "format",
                  "instance"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "data": {
                    "additionalProperties": false,
                    "properties": {
                      "contract": {
                        "type": "object"
                      },
                      "normalized": {
                        "type": "object"
                      },
                      "pipeline": {
                        "type": "object"
                      },
                      "validation": {
                        "type": "object"
                      }
                    },
                    "required": [
                      "normalized",
                      "contract",
                      "validation",
                      "pipeline"
                    ],
                    "type": "object"
                  },
                  "meta": {
                    "properties": {
                      "cached": {
                        "type": "boolean"
                      },
                      "duration_ms": {
                        "type": "integer"
                      },
                      "next_actions": {
                        "items": {
                          "type": "object"
                        },
                        "type": "array"
                      },
                      "sources": {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "warnings": {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      }
                    },
                    "required": [
                      "duration_ms",
                      "cached",
                      "sources",
                      "warnings",
                      "next_actions"
                    ],
                    "type": "object"
                  },
                  "request_id": {
                    "type": "string"
                  },
                  "service": {
                    "type": "string"
                  },
                  "version": {
                    "type": "string"
                  }
                },
                "required": [
                  "request_id",
                  "service",
                  "version",
                  "data",
                  "meta"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "payment-identifier": {
      "info": {
        "required": false
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "id": {
            "maxLength": 128,
            "minLength": 16,
            "pattern": "^[a-zA-Z0-9_-]+$",
            "type": "string"
          },
          "required": {
            "type": "boolean"
          }
        },
        "required": [
          "required"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar",
    "payment-identifier"
  ],
  "sourceHost": "apiacre.com",
  "lastUpdated": "2026-08-31T16:18:07.632Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-08-31T16:18:07.38Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "apiacre.com",
    "manifest_name": "apiacre.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}