{"uid":"cap_9n2unmZlTbNqmK-3BKB8c","slug":"delx-commerce-sort-lines-api-ee8c0a57","name":"Delx Commerce Sort Lines 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/sort-lines?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","bodyType","body"],"properties":{"body":{"type":"object","additionalProperties":true},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type","example"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","additionalProperties":true}}}}},"responseSchema":{"type":"json","example":{}},"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_QZL56nNIBql1BXYNjQ6iy","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 or data entries in a specified order, delivered pay-per-result with USDC micropayment via x402 protocol","exampleAgentPrompt":"Sort these lines alphabetically for me: 'banana', 'apple', 'cherry', 'date' — I want them in ascending order as a JSON result, and it should cost no more than a fraction of a cent per call.","exampleUseCases":[{"title":"Alphabetical log line sorting","prompt":"I have a big list of log entries and I need them sorted alphabetically so I can scan for patterns — can you sort these lines for me: 'zebra error', 'alpha warning', 'mango info'?"},{"title":"Sorted product name list","prompt":"Sort this product list into ascending alphabetical order for me: 'Widget Z', 'Widget A', 'Widget M', 'Widget B' — I need the output as a clean JSON list."},{"title":"Ranking task list by priority label","prompt":"I have a list of tasks tagged by priority and I want them sorted so the highest priority ones come first: 'low: review docs', 'high: fix bug', 'medium: write tests', 'high: deploy release'."}],"resultDescription":"A JSON object containing the input lines reordered according to the requested sort criteria, returned after a successful USDC micropayment via x402 on Base or Solana.","failureModes":["Missing required 'input' or 'output' fields returns a validation error","Invalid bodyType enum value causes a 400 bad request","Payment not received or insufficient USDC balance causes a 402 Payment Required response","Malformed JSON body results in a parse error","Empty lines array may return an empty sorted result"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, no-signup, pay-per-result text line sorting operation with verifiable delivery and exact micropayment pricing in USDC — ideal for agents that need trustless, atomic data transformation without committing to a subscription or API key setup.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:43.704Z","isFirstParty":false,"canonicalSlug":"delx-commerce-sort-lines-api-ee8c0a57"}