{"uid":"cap_U9QQC2YLd82D3CgKifDQ-","slug":"moneytools-yaml-json-converter-b9664c19","name":"MoneyTools YAML ↔ JSON Converter","description":"YAML ↔ JSON converter: YAML (multi-document, with line-numbered errors) to JSON, or JSON to YAML. Free tier 10/day; then $0.001 via x402 (HTTP 402 + PAYMENT-REQUIRED) or X-API-Key credits. Not charged on failure. $0.001 USDC per call via x402 on Base. Run by MoneyTools.","url":"https://tools.moneytools.dev/v1/yaml-json?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"string","examples":["name: moneytools\ntools: 103"],"description":"YAML or JSON text"},"direction":{"type":"string","description":"yaml-to-json | json-to-yaml (auto)"}}},"responseSchema":{"type":"json"},"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_EiTsfjOOI_OS5nutDuqGM","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 YAML (including multi-document) to JSON or JSON to YAML, with line-numbered error reporting on failure","exampleAgentPrompt":"Convert this YAML to JSON for me: 'name: moneytools\\ntools: 103\\nenabled: true'","exampleUseCases":[{"title":"Kubernetes manifest to JSON","prompt":"I've got this Kubernetes deployment YAML and I need it as JSON so I can pass it to a REST API — can you convert it? Here's the YAML: 'apiVersion: apps/v1\\nkind: Deployment\\nmetadata:\\n  name: my-app'"},{"title":"JSON config to YAML for readability","prompt":"Can you convert this JSON config to YAML so it's easier to read and edit? {\"database\":{\"host\":\"localhost\",\"port\":5432,\"name\":\"mydb\"}}"},{"title":"Validate and convert multi-document YAML","prompt":"I have a multi-document YAML file — can you convert it to JSON and tell me if there are any errors, with the line numbers where they occur? Here's the content: '---\\nname: service-a\\n---\\nname: service-b'"}],"resultDescription":"Returns the converted output as a string in the target format (JSON or YAML). On error, returns a structured error response with line-numbered details indicating exactly where the input failed to parse, so the agent can report or fix the problem. Not charged on failure.","failureModes":["Invalid YAML syntax — returns line-numbered error indicating the problematic line","Invalid JSON input — returns parse error with position context","Ambiguous direction when neither clearly YAML nor JSON — may misdetect format","Free tier exhausted (10/day) with no payment configured — returns HTTP 402 Payment Required","Malformed request body — returns 400-level error"],"whenToPreferThis":"Choose this endpoint when you need reliable YAML↔JSON conversion with multi-document YAML support and line-numbered error diagnostics. It auto-detects direction, so you don't need to specify yaml-to-json or json-to-yaml explicitly. Prefer it over generic code execution for format conversion when you want a lightweight, pay-per-use call with no failure charges and structured error output.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-05T12:43:01.317Z","isFirstParty":false,"canonicalSlug":"moneytools-yaml-json-converter-b9664c19"}