{"uid":"cap_MQ83uhr6FeB0rGs_hMOMI","slug":"x402-content-format-converter-ff2e64ec","name":"x402 Content Format Converter","description":"Convert between common text formats: Markdown↔HTML and CSV↔JSON. Handy data-plumbing utility for agents and pipelines.","url":"https://x402.valkyry.fr/convert","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"to":{"enum":["markdown","html","csv","json"],"type":"string"},"data":{"type":"string","description":"Source content (markdown↔html, csv↔json)"},"from":{"enum":["markdown","html","csv","json"],"type":"string"}}},"responseSchema":{"type":"json","example":{"to":"html","from":"markdown","result":"<h1>Hello</h1>"}},"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_WByoW1_h_1cPcyu3-J3Mz","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 content between markdown, HTML, CSV, and JSON formats via a pay-per-call API using USDC on Base.","exampleAgentPrompt":"Convert this markdown text to HTML for me: '# Hello World\\n\\nThis is a paragraph with **bold** text.'","exampleUseCases":null,"resultDescription":"A JSON object containing the original `from` format, the `to` format, and a `result` string with the fully converted content in the target format (e.g. HTML markup, markdown text, JSON array, or CSV rows).","failureModes":["Unsupported format combination (e.g. markdown to CSV) may return an error or empty result","Malformed or extremely large input content may cause processing failure","Payment failure via x402 protocol will result in 402 Payment Required response before conversion occurs","Missing required fields (`from`, `to`, or `data`) will cause a validation error"],"whenToPreferThis":"Choose this endpoint when you need lightweight, pay-per-call format conversion between markdown, HTML, CSV, and JSON without managing a hosted conversion library. Ideal for AI agents that need on-demand document or data format transformation billed in micro-USDC amounts per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:34:57.853Z","isFirstParty":false}