{"uid":"cap_d71OmS9gaqdgx5toF84fQ","slug":"lin-desk-yaml-to-json-converter-4075f773","name":"LIN Desk YAML to JSON Converter","description":"Pay-per-call API for AI agents: turn any public web page or PDF into clean, LLM-ready Markdown. $0.002 per call in USDC on Base via x402. No API key, no signup.","url":"https://lin-desk-x402.lindesk.workers.dev/v1/dataformat/yaml2json?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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["input"],"properties":{"input":{"type":"string","description":"Payload text (CSV/JSON/YAML/XML); max 100 KiB"},"indent":{"type":"string","pattern":"^-?\\d+$","description":"JSON indent (default 2)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"op":{"type":"string"},"cols":{"type":"array"},"rows":{"type":"integer"},"valid":{"type":"boolean"},"errors":{"type":"array"},"result":{},"encoding":{"type":"string"},"elapsed_ms":{"type":"integer"}}}}}}},"responseSchema":{"type":"json","example":{"op":"yaml2json","parsed":{"name":"alice","tags":["a","b"]},"result":"{\n  \"name\": \"alice\",\n  \"tags\": [\n    \"a\",\n    \"b\"\n  ]\n}","elapsed_ms":0}},"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_B6nqyDbi7ugHUo4aOLPAp","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 into formatted JSON via a pay-per-call GET API endpoint.","exampleAgentPrompt":"Convert this YAML snippet to JSON for me: 'name: alice\\ntags:\\n  - a\\n  - b' — use an indent of 2.","exampleUseCases":[{"title":"Convert Kubernetes manifest to JSON","prompt":"I have a Kubernetes deployment YAML and need it as JSON so I can feed it into my Python script — can you convert this YAML for me? 'apiVersion: apps/v1\\nkind: Deployment\\nmetadata:\\n  name: my-app'"},{"title":"Reformat OpenAPI spec for tooling","prompt":"My OpenAPI spec is in YAML but the tool I'm using only accepts JSON. Can you convert this YAML spec to JSON with 4-space indentation?"},{"title":"Parse config file in CI pipeline","prompt":"I've got a CI config written in YAML and need to validate it by parsing it to JSON. Here's the YAML: 'stages:\\n  - build\\n  - test\\n  - deploy' — please convert it."}],"resultDescription":"Returns a JSON object containing the operation name ('yaml2json'), the parsed representation of the YAML as a native object, the serialized JSON string result with requested indentation, and elapsed processing time in milliseconds.","failureModes":["Invalid or malformed YAML input returns a validation error with error details in the errors array","Input payload exceeding 100 KiB limit is rejected","Missing required 'input' query parameter causes a 400-level error","Non-YAML content (e.g. binary data) may fail parsing silently or with an error array"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, stateless, pay-per-call YAML-to-JSON conversion without API keys or signup overhead. Ideal for AI agent pipelines that occasionally need to reformat YAML configs, specs, or data blobs into JSON programmatically on Base/USDC micropayment rails.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T00:45:07.271Z","isFirstParty":false,"canonicalSlug":"lin-desk-yaml-to-json-converter-4075f773"}