{"uid":"cap_fX3sWs_XE5bd-EungldsT","slug":"json-yaml-format-converter-c1e19894","name":"JSON/YAML Format Converter","description":"Converts assets across supported networks with x402 payment support.","url":"https://payai.agentstools.dev/convert?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"to":{"enum":["base64","csv","hex","html","json","markdown","text","toml","yaml"],"type":"string","description":"Target format"},"data":{"type":"string","description":"The data to convert (the source document as a string)"},"from":{"enum":["base64","csv","hex","html","json","markdown","text","toml","yaml"],"type":"string","description":"Source format"},"options":{"type":"object","description":"Per-conversion options, e.g. {minify, sort_keys, indent, delimiter}"}}},"responseSchema":null,"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":{"p10Cents":"0.1000","medianCents":"0.1000","p90Cents":"0.1000","minCents":"0.1000","maxCents":"0.1000","p95Cents":"0.1000","sampleCount":1,"varies":false,"failureChargeRate":1},"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_TBHJ_klG1P8ujaN9NiJFG","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 input data between JSON and YAML formats, returning the converted payload and format metadata","exampleAgentPrompt":"Convert this JSON object to YAML for me: {\"name\": \"Alice\", \"age\": 30, \"roles\": [\"admin\", \"user\"]}","exampleUseCases":null,"resultDescription":"Returns the converted payload in the target format (JSON or YAML) along with basic metadata describing the source and target formats used in the conversion.","failureModes":["Invalid or malformed JSON input causes parse error","Invalid or malformed YAML input causes parse error","Unsupported source/target format combination returns error","Empty payload returns validation error"],"whenToPreferThis":"Use this endpoint when an agent needs a quick, reliable, stateless JSON↔YAML conversion without setting up a local parser — especially in workflows where config files, infrastructure-as-code, or API payloads need to be reformatted on the fly.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T12:36:20.224Z","isFirstParty":false,"canonicalSlug":"json-yaml-format-converter-c1e19894"}