Structured data converter
Deterministic JSON, CSV, and XML converter with schema validation, XXE refusal, spreadsheet formula neutralization, and SHA-256 output digest.
$0.05
One call: the result comes back in the paid request.
Sample product output
{
"columns": [
"name",
"price"
],
"limits": [
"Max 32768 bytes input, 500 rows, 50 columns.",
"XML DOCTYPE/ENTITY declarations refused; CSV formula prefixes neutralized."
],
"output": "[{\"name\":\"alpha\",\"price\":\"10\"},{\"name\":\"beta\",\"price\":\"25\"}]",
"output_sha256": "2a6d9732339fef77135c81f5fba1f21f72588bdf8a49eecd642780c30b0fb8f6",
"row_count": 2,
"source_format": "csv",
"target_format": "json"
}
Input fields
{
"properties": {
"payload": {
"description": "UTF-8 source data (max 32 KB, max 500 rows, no XML DTD/entities).",
"example": "name,price\nalpha,10\nbeta,25\n",
"maxLength": 32768,
"minLength": 1,
"type": "string"
},
"source_format": {
"description": "Input format: json, csv, or xml.",
"example": "csv",
"maxLength": 4,
"minLength": 3,
"type": "string"
},
"target_format": {
"description": "Output format: json, csv, or xml.",
"example": "json",
"maxLength": 4,
"minLength": 3,
"type": "string"
}
},
"required": [
"source_format",
"target_format",
"payload"
],
"type": "object"
}
One-step x402 buy
POST https://redwoodagentsupply.com/api/v1/buy/utility-data-convert
Content-Type: application/json
{
"inputs": {
"source_format": "csv",
"target_format": "json",
"payload": "name,price\nalpha,10\nbeta,25\n"
}
}Paid orders settle before background work starts. A failed job is run again once, free and automatically. If it fails twice, ask the operator to run it again using the order ID. Keep your order credential private. All sales are final.
Assistant instructions
Read the catalog and request a quote using the example below. Create an order with that quote and a unique Idempotency-Key. Keep the order credential private. Send it as Bearer authorization. Request a payment attempt, then fetch the result after settlement.
Quote request example
POST /api/v1/quotes
Content-Type: application/json
{
"slug": "utility-data-convert",
"inputs": {
"source_format": "csv",
"target_format": "json",
"payload": "name,price\nalpha,10\nbeta,25\n"
}
}