{"uid":"cap_ADI7aj9phT_HeHk1lRjdP","slug":"fastx402-yaml-to-json-converter-dfff99da","name":"FastX402 YAML to JSON Converter","description":"200 pay-per-call tools for AI agents, from $0.001 per request in USDC on Base or Solana with x402. No account, no API key.","url":"https://fastx402.tools/yaml-to-json?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["yaml"],"properties":{"yaml":{"type":"string","description":"YAML text"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"data":{"type":"object","properties":{"live":{"type":"boolean"},"name":{"type":"string"},"price":{"type":"number"},"tools":{"type":"array","items":{"type":"string"}}}}}}}}}},"responseSchema":{"type":"json","example":{"data":{"live":true,"name":"fastx402","price":0.001,"tools":["dns","qr-code"]}}},"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_81fMSDczeyUzcnuNvo8_I","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 a YAML string to its equivalent JSON representation via a pay-per-call GET request.","exampleAgentPrompt":"Can you convert this YAML to JSON for me? Here it is: 'name: fastx402\\nprice: 0.001\\ntools:\\n  - dns\\n  - qr-code'","exampleUseCases":[{"title":"Config file format migration","prompt":"I have this Kubernetes deployment YAML and I need it as JSON so I can feed it into a REST API that only accepts JSON — can you convert it? Here's the YAML: 'apiVersion: apps/v1\\nkind: Deployment\\nmetadata:\\n  name: my-app'"},{"title":"OpenAPI spec format switch","prompt":"My OpenAPI spec is in YAML but the tool I'm integrating with only reads JSON. Can you convert this YAML snippet to JSON? 'openapi: 3.0.0\\ninfo:\\n  title: My API\\n  version: 1.0.0'"},{"title":"CI pipeline data transformation","prompt":"I'm getting YAML output from a GitHub Actions workflow and need to pass it as JSON to a downstream service. Convert this YAML for me: 'status: success\\nbranch: main\\ncommit: abc123'"}],"resultDescription":"A JSON object containing a 'data' field with the converted JSON representation of the input YAML, plus metadata fields like 'live' (boolean), 'name' (service name), and 'price' (cost per call).","failureModes":["Invalid or malformed YAML input returns an error response","Missing required 'yaml' query parameter results in a 400-level error","Extremely large YAML documents may time out or be rejected","YAML with tabs instead of spaces may fail to parse correctly"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, instant, no-account YAML-to-JSON conversion paid per-call in USDC via x402 — ideal for AI agents that don't want to manage API keys or subscriptions and only occasionally need format conversion.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T07:10:39.119Z","isFirstParty":false,"canonicalSlug":"fastx402-yaml-to-json-converter-dfff99da"}