{"uid":"cap_JHphxcj6Z9sCmvjjplfyn","slug":"pennyrail-text-lines-sort-afa46d6d","name":"PennyRail Text Lines Sort","description":"Machine-readable settlement service","url":"https://pennyrail.vercel.app/api/p/nano/text.lines-sort--order-lines","method":"POST","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"string"}}},"responseSchema":{"type":"object","additionalProperties":true},"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_6jWXQL4RI3MRklAKvPDSO","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":"Sorts lines of text in a specified order via a micropayment-gated API endpoint","exampleAgentPrompt":"Can you sort these lines alphabetically for me: 'Zebra\\nApple\\nMango\\nBanana'?","exampleUseCases":[{"title":"Alphabetize a grocery list","prompt":"I have a grocery list with items on separate lines — Milk, Zucchini, Apples, Bread, Eggs — can you sort them alphabetically for me?"},{"title":"Sort log entries by label","prompt":"I've got a bunch of log labels on separate lines and I need them sorted in ascending order so I can scan them more easily: ERROR, DEBUG, INFO, WARN, TRACE."},{"title":"Reorder names for a roster","prompt":"Here's a list of attendee names each on its own line — sort them from A to Z so I can print the roster: Jordan, Alice, Marcus, Beth, Zachary."}],"resultDescription":"Returns a transformed text block where the input lines have been reordered according to the specified sort order (e.g. ascending or descending alphabetical). The response is a JSON object containing the sorted output text.","failureModes":["Missing 'input' field returns a 400 or validation error","Empty string input may return an empty result or error","Non-text or malformed JSON body may cause a 422 or 500 error","Payment failure (x402) if USDC micropayment is not correctly attached","Very large inputs may time out or hit size limits on the Vercel serverless function"],"whenToPreferThis":"Choose this endpoint when you need a simple, stateless, pay-per-use text line sorting operation without standing up your own infrastructure. It is ideal for lightweight agent workflows that occasionally need to sort small-to-medium blocks of newline-delimited text and can accommodate a $0.001 USDC micropayment per call via the x402 protocol.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:54:54.498Z","isFirstParty":false}