{"uid":"cap_vprHeAf86oXTu5BGYcyg4","slug":"delx-commerce-csv-sort-rows-fa040c4f","name":"Delx Commerce CSV Sort Rows","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/csv-sort-rows?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","maxLength":8192,"description":"Text supplied to CSV Sort Rows; used only for this bounded calculation and processed in memory without retention."},"column":{"type":"string","maxLength":8192,"description":"Column supplied to CSV Sort Rows; used only for this bounded calculation and processed in memory without retention."},"descending":{"type":"boolean","description":"Descending supplied to CSV Sort Rows; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"csv":"id,name\n1,Ada\n2,Lin","row_count":2},"schema":"delx/util-csv-sort-rows/v1","status":"pass","evidence":{"retained":false,"input_sha256":"cb69489ce0dceef87b94db612016a08b6e5cea76db3556e85ba7b78b5827e73e","external_calls":0},"operation":"data_batch:csv_sort_rows"}},"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_wl3vAjOS53bHGb2gAUz5T","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 the rows of a CSV string by a specified column, optionally in descending order, and returns the sorted CSV with row count.","exampleAgentPrompt":"Sort this CSV by the 'price' column in descending order: 'id,name,price\\n3,Widget,9.99\\n1,Gadget,24.50\\n2,Doohickey,4.75'","exampleUseCases":[{"title":"Sort leaderboard data by score","prompt":"I have this CSV of player scores and I need the rows sorted by the 'score' column from highest to lowest: 'player_id,name,score\\n101,Alice,4800\\n102,Bob,7200\\n103,Carol,3100'"},{"title":"Alphabetize a product catalog","prompt":"Can you sort this product list CSV alphabetically by the 'product_name' column? 'sku,product_name,qty\\nA12,Zebra Pen,50\\nB34,Apple Watch,10\\nC56,Mango Juice,200'"},{"title":"Order timestamped log entries by date","prompt":"Sort these log entries by the 'timestamp' column in ascending order so I can read them chronologically: 'event_id,timestamp,message\\n3,2024-03-15,Reboot\\n1,2024-01-02,Login\\n2,2024-02-20,Error'"}],"resultDescription":"Returns a JSON object containing the sorted CSV as a string under result.csv, the number of data rows under result.row_count, a status field ('pass'), an operation identifier, and an evidence block confirming no data retention and zero external calls, along with an input SHA-256 hash for verifiability.","failureModes":["Malformed or unparseable CSV input returns an error status","Specified column name not found in CSV headers causes failure","Input exceeding 8192 character limit is rejected","Boolean descending field sent as string may cause validation error","Empty CSV input with no rows returns row_count of 0"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-call, no-signup CSV row sort with cryptographic proof of no data retention — ideal for agents handling sensitive tabular data that must not be persisted, or for pipelines that require verifiable, auditable transformations at minimal cost ($0.001 USDC per call).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T03:05:18.749Z","isFirstParty":false,"canonicalSlug":"delx-commerce-csv-sort-rows-fa040c4f"}