{"uid":"cap_bDu5CaeLtIyKriJAZZbBX","slug":"delx-commerce-repeat-string-api-f5b2c585","name":"Delx Commerce — Repeat String 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/repeat-string?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."}}},"responseSchema":{"type":"json","example":{"text":"hello agent worldhello agent world","count":2,"schema":"delx/repeat-string/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_D3JwB_BWuDUKDxaTe7Lye","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":"Repeats a given text string a specified number of times, returning the concatenated result with a count","exampleAgentPrompt":"Repeat the text 'hello agent world' twice using the Delx repeat-string API and show me the result.","exampleUseCases":[{"title":"Padding test data with repeated strings","prompt":"Take the string 'abc123' and repeat it 5 times so I can use it as placeholder test data in my pipeline."},{"title":"Validating pay-per-result micro-payment flow","prompt":"Run a quick test — send 'ping' through the Delx repeat-string endpoint 3 times and confirm I get the repeated output back so I know the x402 payment flow is working."},{"title":"Generating repeated banner text","prompt":"I need the phrase 'SALE ' repeated 10 times in a single string for a banner label — can you do that?"}],"resultDescription":"Returns a JSON object containing the repeated text string (original text concatenated N times), the repeat count, and a schema identifier ('delx/repeat-string/v1').","failureModes":["Input text exceeding 100,000 characters returns a validation error","Missing or malformed payment header causes a 402 Payment Required response","Invalid JSON body returns a 400 Bad Request","No repeat count specified may result in a default behavior or error depending on server implementation","Network or blockchain payment settlement failure may cause transaction rejection"],"whenToPreferThis":"Choose this endpoint when you need a simple, verifiable, pay-per-call string repetition utility with no signup or subscription, particularly in agent workflows using x402 micropayments over USDC on Base or Solana. Ideal for testing x402 payment flows or when you need a lightweight, stateless transformation with an auditable on-chain payment trail.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:54:08.189Z","isFirstParty":false,"canonicalSlug":"delx-commerce-repeat-string-api-f5b2c585"}