{"uid":"cap_7blZRbvQRNFl90CIp4N0d","slug":"finmath-json-to-csv-converter-ebe6974a","name":"finmath JSON to CSV Converter","description":"Deterministic finance and crypto math for AI agents: TradFi (NPV, IRR, XIRR, Black-Scholes + Greeks, bonds, VaR, Sharpe) and DeFi (impermanent loss, perp liquidation, funding, Uniswap v3, health factor, cost basis). Exact, model-free arithmetic that LLMs get wrong — priced per call in USDC.","url":"https://finmath.qzqh5rrbkz.workers.dev/v1/json_to_csv?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["json"],"properties":{"json":{"type":"string","description":"json"}}},"responseSchema":{"type":"object","required":["result","meta"],"properties":{"meta":{"type":"object"},"result":{}}},"example":{"request":{"json":"[{\"date\":\"2024-01-01\",\"amount\":1000},{\"date\":\"2024-01-02\",\"amount\":1500}]"},"response":{"meta":{"tool":"json_to_csv","disclaimer":"Deterministic calculation utility. Not financial, investment, or trading advice.","deterministic":true},"result":{"csv":"date,amount\n2024-01-01,1000\n2024-01-02,1500"}}},"exampleRequest":{"json":"[{\"date\":\"2024-01-01\",\"amount\":1000},{\"date\":\"2024-01-02\",\"amount\":1500}]"},"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_HNd2GmmVyNX-Gy0cA5X67","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a JSON string into CSV format, as part of the finmath deterministic finance/crypto math service.","exampleAgentPrompt":"Convert this JSON array to CSV format: '[{\"date\":\"2024-01-01\",\"cashflow\":-1000},{\"date\":\"2024-06-01\",\"cashflow\":1200}]'","exampleUseCases":null,"resultDescription":"Returns a result field containing the CSV-formatted output of the input JSON, along with a meta object providing additional response metadata.","failureModes":["Invalid or malformed JSON string returns an error","Empty JSON input may produce empty or malformed CSV","Deeply nested JSON objects may not flatten cleanly into CSV rows","Missing required 'json' field returns a validation error"],"whenToPreferThis":"Use this endpoint when you need to convert a JSON string into CSV format within the finmath workflow, particularly when you want to export or display financial calculation results (e.g., NPV, IRR, bond cashflows, DeFi metrics) in a tabular, spreadsheet-compatible format. Prefer this over generic CSV converters when your data is already in the finmath ecosystem.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T18:42:44.792Z","isFirstParty":false,"canonicalSlug":"finmath-json-to-csv-converter-ebe6974a"}