XML to Excel API - flatten any XML into a table
xml_to_excelTurn XML (feeds, exports, orders) into an Excel or CSV table: finds the repeating row element, flattens attributes and nested tags. Runs on our server, files are deleted right after the call, nothing stored. Free: 25 calls/day per IP. Paid: $0.005 per call via x402 at https://radarbg.com/x402/xml-to-excel.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"fileName": "orders.xml",
"fileContent": "PG9yZGVycz48b3JkZXIgaWQ9JzEnPjxpdGVtPlBlbjwvaXRlbT48cXR5PjM8L3F0eT48L29yZGVyPjxvcmRlciBpZD0nMic+PGl0ZW0+Qm9vazwvaXRlbT48cXR5PjE8L3F0eT48L29yZGVyPjwvb3JkZXJzPg=="
},
"name": "xml_to_excel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | Or several files: [{fileName, fileContent (base64)}] | |
| format | No | xlsx or csv | xlsx |
| rowTag | No | Row element name (optional, auto-detected) | |
| fileName | No | File name with extension, e.g. report.pdf | |
| fileContent | No | The file as base64 (a data: URI is fine) |