{"uid":"cap_aSdTokXcYstcYEkGPuKRz","slug":"delx-commerce-json-lines-stringify-7dbec64e","name":"Delx Commerce — JSON Lines Stringify","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/json-lines-stringify?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","maxProperties":128,"additionalProperties":true},"maxItems":256,"description":"Items supplied to JSON Lines Stringify; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"text":"{\"id\":1}\n{\"id\":2}","line_count":2},"schema":"delx/util-json-lines-stringify/v1","status":"pass","evidence":{"retained":false,"input_sha256":"0e0bc9cb6b5f1b41ed89071cc8222f2bbc6b2c97af66c03cd0d24ac5102d86af","external_calls":0},"operation":"data_batch:json_lines_stringify"}},"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_bW7IhCXQsuIf3E7WXpPm9","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":"Converts an array of JSON objects into a JSON Lines (NDJSON) formatted string, one object per line.","exampleAgentPrompt":"Convert this array of JSON objects into JSON Lines format — one object per line — so I can use it as NDJSON: [{\"id\":1,\"name\":\"Alice\"},{\"id\":2,\"name\":\"Bob\"},{\"id\":3,\"name\":\"Carol\"}].","exampleUseCases":[{"title":"Prepare records for BigQuery ingestion","prompt":"I have a list of 50 event records as a JSON array and I need to upload them to BigQuery, which requires NDJSON format. Can you serialize them into JSON Lines so each record is on its own line?"},{"title":"Format logs as newline-delimited JSON","prompt":"I've got an array of log entry objects from my pipeline and I need to write them out as JSON Lines so my log aggregator can parse them. Can you stringify this batch of log objects into NDJSON?"},{"title":"Generate NDJSON for streaming data export","prompt":"I'm exporting product catalog items as a streaming file and the downstream system expects one JSON object per line. Take my array of product objects and format it as JSON Lines for me."}],"resultDescription":"Returns a JSON Lines string (newline-delimited JSON, NDJSON) where each input object is serialized as a single line, along with the total line count, operation status, a SHA-256 hash of the input for verifiability, and confirmation that no data was retained.","failureModes":["Input array exceeds 256 items — request rejected","Individual objects exceed 128 properties — schema validation error","Malformed or non-object array items — serialization error","Payment failure via x402 — 402 response before processing","Network timeout on POST — no result returned"],"whenToPreferThis":"Use this endpoint when you need a verifiable, pay-per-use, no-signup utility to convert a bounded JSON array (up to 256 objects) into JSON Lines / NDJSON format in memory without data retention. Prefer it in agent workflows requiring cryptographic proof of processing (SHA-256 evidence) and no persistent storage of sensitive data. If you already have NDJSON libraries available locally, this is only advantageous for its verifiability guarantees and x402 micropayment compatibility.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:54:07.187Z","isFirstParty":false,"canonicalSlug":"delx-commerce-json-lines-stringify-7dbec64e"}