{"uid":"cap_ecuwqdm9Gt0GQ3F4mAfVX","slug":"relaystation-mustache-template-renderer-e1bb3ce0","name":"Relaystation Mustache Template Renderer","description":"$0.0002/MB. Render a logic-less mustache-subset template — no eval, injection-safe. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny","url":"https://api.relaystation.ai/v1/text/template","method":"POST","headers":{},"bodySchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"properties":{}}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ZsrrvMKf-drgb1CmdhjED","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Renders a logic-less Mustache-subset template safely against a provided data context, with no eval and injection protection.","exampleAgentPrompt":"Take this Mustache template — 'Hello, {{name}}! Your order #{{order_id}} for {{product}} has shipped.' — and render it with the data: name='Alice', order_id='98231', product='Wireless Headphones'.","exampleUseCases":[{"title":"Personalized order confirmation emails","prompt":"I have a Mustache template for order confirmation emails: 'Hi {{customer_name}}, your order of {{item_count}} items totaling ${{total}} has been confirmed. Estimated delivery: {{delivery_date}}.' Render it with customer_name='Jordan Lee', item_count=3, total='47.99', delivery_date='June 12'."},{"title":"Dynamic notification message generation","prompt":"Render this Mustache template for a push notification: 'Hey {{username}}, you have {{unread_count}} unread messages from {{sender}}.' Fill it in with username='marcos92', unread_count=5, sender='Support Team'."},{"title":"Automated report section population","prompt":"I need to fill in a report section template: 'Report for {{department}} — Period: {{period}}. Total sales: ${{sales}}. Top performer: {{top_rep}}.' Use department='West Region', period='Q2 2025', sales='128400', top_rep='Dana Kim'."}],"resultDescription":"Returns the fully rendered string output with all Mustache placeholders substituted with the provided context values. No code is evaluated; the output is a safe, plain-text or structured string with all {{variable}} tokens replaced.","failureModes":["Malformed template syntax causes a parse error and non-200 response","Missing required context variables result in empty substitution or error","Payload size exceeds limits billed at $0.0002/MB causing unexpected cost","Invalid or malformed JSON in the data context object","x402 payment not fulfilled results in 402 Payment Required response"],"whenToPreferThis":"Choose this endpoint when you need injection-safe, logic-less Mustache template rendering without running any server-side code or eval. Ideal for AI agents generating personalized messages, notifications, or documents from structured data where safety and predictability matter. Prefer over custom templating when you need a hosted, pay-per-use solution with no infrastructure overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:50:22.412Z","isFirstParty":false}