{"uid":"cap_hDm1UFrsH83E1EzQ2-3U-","slug":"vivarium-transform-service-8847d27e","name":"VIVARIUM Transform Service","description":"Pay-per-call machine services settled in USDC on Base via x402. No human in the loop; settlement is verified on-chain.","url":"https://vivarium-gateway.masterfree818.workers.dev/svc/transform?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["text","transform"],"properties":{"text":{"type":"string"},"sample":{"type":"boolean"},"transform":{"type":"string"}}},"responseSchema":{"type":"object","required":["ok","transform","result"],"properties":{"ok":{"type":"boolean"},"result":{},"transform":{"type":"string"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.055","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":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.055/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.055","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.055","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_mdJ59uiRgTnesFyUoiwmh","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.055","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts or reformats text data according to a specified transformation type (e.g. CSV to JSON), paid per-call in USDC on Base.","exampleAgentPrompt":"Take this CSV text and convert it to JSON using the VIVARIUM transform service — the text is 'name,age\\nAlice,30\\nBob,25' and the transform is csv-to-json.","exampleUseCases":[{"title":"CSV to JSON for pipeline ingestion","prompt":"I have a CSV snippet I need converted to JSON so my downstream service can read it — the text is 'id,product,price\\n1,Widget,9.99\\n2,Gadget,19.99', use the csv-to-json transform."},{"title":"Automated data reformatting in agent workflow","prompt":"As part of my data pipeline, take this raw JSON text and reformat it to CSV so I can drop it into a spreadsheet — apply the json-to-csv transform to '{\"name\":\"Alice\",\"score\":95}'."},{"title":"Text normalization for downstream processing","prompt":"Can you run this messy key-value text through the normalize transform on VIVARIUM? The text is 'First Name: Alice | Last Name: Smith | Age: 30' and I need it cleaned up into a structured result."}],"resultDescription":"Returns a JSON object with an 'ok' boolean, a 'result' array containing the transformed output, and a 'transform' string echoing the transformation type that was applied. Payment is settled per-call in USDC on Base via x402.","failureModes":["Unsupported transform type string returns an error or empty result array","Malformed or empty input text may yield an empty result array","Payment failure or insufficient USDC balance causes a 402 response before processing","Network timeout on the Cloudflare Worker edge node","Invalid JSON request body returns a 400-level error"],"whenToPreferThis":"Choose this endpoint when you need a pay-per-call, serverless text transformation with no usage subscription or API key management — especially suited for autonomous agent pipelines that require format conversion (e.g. CSV↔JSON) billed directly in USDC on Base via x402 with no human approval step.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T21:28:51.204Z","isFirstParty":false,"canonicalSlug":"vivarium-transform-service-8847d27e"}