{"uid":"cap_XQMYTq7ErXAZM701tfXWj","slug":"delx-repeat-string-cd236b78","name":"Delx Repeat String","description":"Repeat a string N times. Handy for fixtures, separators, or test payloads without local loops. Returns the repeated string and N used. $0.001 USDC per successful call via x402 on Base—deterministic first-party JSON, no API key, no subscription, and nothing is billed on structured validation errors.","url":"https://api.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_2aO7qadz5jnwNm5a0PB4K","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 string N times and returns the repeated result along with the count used","exampleAgentPrompt":"Repeat the string '---' 40 times so I can use it as a section separator in my report.","exampleUseCases":[{"title":"Generate test fixture payload","prompt":"Repeat the word 'PADDING' 200 times so I can use it as a large test string in my load testing scenario."},{"title":"Build formatted separator line","prompt":"I need a line of 60 equal signs to use as a visual divider in my output — can you repeat '=' 60 times for me?"},{"title":"Create repeated pattern for template","prompt":"Repeat the string 'ha' 15 times — I need it for a placeholder value in my mock data template."}],"resultDescription":"Returns a JSON object containing the fully repeated string (the input text concatenated N times) and the value of N that was used, billed at $0.001 USDC per successful call via x402 on Base; validation errors are not billed.","failureModes":["Input text exceeds 100,000 character limit — returns a structured validation error (not billed)","Missing or invalid N parameter — returns validation error","N is zero or negative — may return empty string or validation error","Network or payment authorization failure — call not completed"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to repeat a string a fixed number of times server-side without running a local loop — particularly useful in serverless, sandboxed, or agent environments where local iteration is unavailable or undesirable. Ideal for generating fixture data, separators, or repeated test payloads deterministically with no API key or subscription required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T00:44:30.253Z","isFirstParty":false,"canonicalSlug":"delx-repeat-string-cd236b78"}