{"uid":"cap_mpqguLnqnUKegcHha8nSG","slug":"agentdataformat-by-lin-desk-965f9c20","name":"AgentDataFormat by LIN Desk","description":"Deterministic data convert and JSON Schema validate for AI agents: CSV/JSON/YAML/XML transforms plus Draft 2020-12 schema check. $0.001 per call, USDC on Base (x402). Max body 100 KiB. No network I/O; XXE-safe XML. Failures are not charged.","url":"https://lin-desk-x402.lindesk.workers.dev/v1/dataformat?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"op":{"enum":["csv2json","json2csv","json2yaml","json_format","json_schema","xml2json","yaml2json"],"type":"string","description":"Conversion or validation operation"},"input":{"type":"string","description":"Payload string (CSV/JSON/YAML/XML text); max 100 KiB"},"options":{"type":"object","description":"Op-specific options (header, delimiter, indent, schema)"}}},"responseSchema":{"type":"json","example":{"op":"csv2json","cols":["name","age"],"rows":2,"result":[{"age":"30","name":"alice"},{"age":"25","name":"bob"}],"encoding":"utf-8","elapsed_ms":2}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.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_FWbwJQkbeiGhDYp9PlxpT","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":"Deterministically converts between CSV, JSON, YAML, and XML formats and validates JSON against Draft 2020-12 schemas, with no network I/O or external dependencies.","exampleAgentPrompt":"Convert this CSV text to JSON for me — the first row is the header and the delimiter is a comma — then validate the result against this JSON Schema Draft 2020-12 to make sure it's correct.","exampleUseCases":[{"title":"Pipeline data format normalization","prompt":"I have a batch of YAML config files coming in from our CI system and I need them converted to JSON so our downstream service can parse them — can you run yaml2json on this YAML text for me?"},{"title":"Schema compliance check before storage","prompt":"Before we store this JSON payload, validate it against our Draft 2020-12 schema and tell me if there are any errors: here's the JSON and here's the schema object."},{"title":"CSV export from JSON records","prompt":"Take this JSON array of user records and convert it to CSV with a header row so I can open it in a spreadsheet — use json2csv and include column headers."}],"resultDescription":"Returns the converted or validated output as a string: for format conversions (csv2json, json2csv, json2yaml, yaml2json, xml2json), the result is the target-format text; for json_format, it is pretty-printed JSON; for json_schema, it is a validation result indicating pass/fail and any schema violation details. Failures are not charged.","failureModes":["Input exceeds 100 KiB limit — request rejected","Invalid or malformed input for the chosen operation (e.g. non-parseable CSV/XML) — error returned","Schema validation errors returned when JSON does not conform to the provided Draft 2020-12 schema","Unsupported or missing 'op' enum value — request rejected","Payment failure via x402 — call not executed and not charged"],"whenToPreferThis":"Choose this endpoint when you need deterministic, reproducible data format conversions or JSON Schema validation with no external network calls, side effects, or risk of non-determinism. It is ideal for agentic pipelines that must transform structured data (CSV/JSON/YAML/XML) reliably at low cost ($0.001/call) and where XXE-safe XML handling is important. Prefer it over general-purpose LLM-based conversion when you need strict schema compliance checking against Draft 2020-12.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:37:14.919Z","isFirstParty":false,"canonicalSlug":"agentdataformat-by-lin-desk-965f9c20"}