{"uid":"cap_khIqNEkJsT4CPb6hDybzv","slug":"localmark-localization-agent-577df26d","name":"LocalMark Localization Agent","description":"Translate supplied text or a flat JSON string map while checking that keys, placeholders, HTML tags and URLs survive unchanged.","url":"https://translate.localmark.ai/api/run?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":null,"responseSchema":{"type":"json","example":{"agent":"translate","model":"example_only","scope":"Illustrative response shape only.","result":{"scope":"Illustrative example. No model was called.","output":{"strings":{"help":"Read https://localmark.ai/guides for help.","count":"You have %d messages.","greeting":"Hello, {name}!"}},"summary":"Illustrative response shape only.","findings":[],"deterministic":{}},"status":"completed","billing":{"mode":"paid","price_usdc":"0.05"},"request_id":"example-operation"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_E4kTfAZKortii6u9RtfUq","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Translates plain text or a flat JSON string map into a target language while preserving keys, placeholders, HTML tags, and URLs unchanged.","exampleAgentPrompt":"Translate this flat JSON string map — {\"greeting\":\"Hello, {name}!\",\"count\":\"You have %d messages.\",\"help\":\"Read our guide for help.\"} — into French, and make sure the {name} placeholder, %d token, and any URLs all come through untouched.","exampleUseCases":[{"title":"Localizing mobile app strings","prompt":"I have a flat JSON file of English UI strings for my mobile app, like {\"welcome\":\"Welcome, {name}!\",\"items\":\"You have %d items in your cart.\"}. Can you translate all of them into Spanish and make sure the {name} and %d placeholders stay exactly as-is?"},{"title":"Translating marketing copy with HTML","prompt":"Translate this HTML-flavored string to German for me: \"Click <b>here</b> to visit <a href='https://localmark.ai'>our site</a>.\" — the HTML tags and URL must not be changed, only the visible words."},{"title":"QA-checking a translated locale file","prompt":"Here's a JSON string map I already had translated into Japanese. Can you run it through LocalMark to verify that all the placeholder tokens like {count} and %s survived the translation correctly and flag anything that looks broken?"}],"resultDescription":"Returns a JSON object containing the translated output (either a string or a reconstructed JSON string map with all keys intact), a summary of what was translated, a list of findings flagging any placeholder, HTML, or URL integrity issues detected, plus billing info (mode, price in USDC) and a request ID.","failureModes":["Malformed or deeply nested JSON input rejected — only flat JSON string maps are supported","Missing or unsupported target language causes a failed or low-confidence translation","Placeholder syntax unrecognized by the model may result in a finding flagging potential corruption","Network timeout on large string maps if the model call takes too long","Payment failure via x402 protocol returns an HTTP 402 before the translation runs"],"whenToPreferThis":"Choose this endpoint when you need machine translation that is specifically safe for software localization — i.e., when your strings contain interpolation placeholders like {name} or %d, HTML markup, or URLs that must survive translation verbatim. It is better than generic translation APIs for developer/app localization workflows because it actively validates token integrity and returns structured findings rather than silently corrupting format strings.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-02T12:28:32.513Z","isFirstParty":false,"canonicalSlug":"localmark-localization-agent-577df26d"}