{"uid":"cap_pz9jSt69eSmfwUVWD7tmU","slug":"24k-labs-data-format-converter-3b213a09","name":"24K Labs Data Format Converter","description":"A curated directory of x402 services — each one on the list on purpose, with the health, uptime, and independent trust grades from across the ecosystem gathered in one place.","url":"https://api.24klabs.ai/api/data-format-convert","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"to":{"type":"string"},"from":{"type":"string"},"input":{"type":"string"}}},"responseSchema":{"type":"json","example":{"rows":2,"result":"{\"name\": \"Ann\", \"age\": \"30\"}"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_9w3kD2k0rQ_-_xoTV6Ugn","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts structured data between formats (e.g. CSV to JSON, JSON to CSV) and returns the transformed result with a row count.","exampleAgentPrompt":"Convert this CSV data to JSON for me: 'name,age\\nAnn,30\\nBob,25' — I need it as a JSON object.","exampleUseCases":[{"title":"CSV pipeline ingestion prep","prompt":"I have this CSV string — 'product,price,qty\\nWidget,9.99,100\\nGadget,24.99,50' — can you convert it to JSON so I can feed it into my processing pipeline?"},{"title":"JSON to CSV export for spreadsheet","prompt":"I've got a JSON array of user records like [{\"name\":\"Alice\",\"score\":88},{\"name\":\"Bob\",\"score\":72}] and I need it converted to CSV so I can open it in Excel."},{"title":"Normalize third-party data format","prompt":"I'm receiving data from a vendor in CSV format but my database expects JSON — can you convert 'id,status\\n1,active\\n2,inactive' to JSON right now?"}],"resultDescription":"Returns a JSON object containing the number of rows processed ('rows' integer) and a 'result' field with the converted data as a string in the target format (e.g. a JSON string representation of the converted records).","failureModes":["Malformed input data (e.g. inconsistent CSV columns) may cause parse errors","Unsupported format pair returns an error response","Empty input data may return rows:0 with empty result","Mismatched delimiters or encoding issues can cause garbled output"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-call serverless conversion between common structured data formats (CSV/JSON) without standing up your own parsing logic. Ideal for lightweight agent pipelines that occasionally need to reformat data on the fly, especially within the x402 micropayment ecosystem at $0.002 per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:02:30.886Z","isFirstParty":false}