{"uid":"cap_UGNjUBN1gyaza9shFMha5","slug":"delx-commerce-wrap-text-api-4d7ed969","name":"Delx Commerce — Wrap Text API","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/wrap-text?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","maxLength":100000,"description":"Primary text input (max 100k chars). Processed first-party; not retained as a dataset."},"width":{"type":"integer","minimum":1,"description":"Optional pad/wrap width when the tool supports it."}}},"responseSchema":{"type":"json","example":{"text":"hello agent world","lines":1,"width":80,"schema":"delx/wrap-text/v1"}},"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_5iLMuA9uA2q461Vl545iy","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":"Word-wraps or pads a block of text to a specified column width, returning the wrapped lines and metadata.","exampleAgentPrompt":"Can you word-wrap this article summary to 72 characters wide so it fits neatly in our terminal log output?","exampleUseCases":[{"title":"Terminal log formatting","prompt":"Take this error message and wrap it to 80 characters wide so it displays cleanly in our CLI tool output."},{"title":"Email plain-text column wrapping","prompt":"Reflow this draft email body to a maximum of 72 characters per line so it looks good in a plain-text email client."},{"title":"Fixed-width report preparation","prompt":"I need to wrap this product description to 60 characters per line before inserting it into our fixed-width report template."}],"resultDescription":"Returns a JSON object containing the wrapped text, the number of resulting lines, the applied column width, and a schema identifier ('delx/wrap-text/v1').","failureModes":["Text exceeds 100,000 character limit — request rejected","Width value less than 1 — validation error","Malformed JSON body — 400 bad request","Payment not provided or insufficient USDC — 402 payment required","Service unavailable — 503 response"],"whenToPreferThis":"Choose this endpoint when you need a simple, pay-per-use, no-signup text wrapping operation with verifiable delivery and microtransaction pricing in USDC. It is ideal for agents that need deterministic column-width formatting without setting up a subscription or managing API keys, especially in agentic pipelines that support x402 payment flows on Base or Solana.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:46.047Z","isFirstParty":false,"canonicalSlug":"delx-commerce-wrap-text-api-4d7ed969"}