{"uid":"cap_mkrG6Hm2b44b9wKJrvkHm","slug":"unique-lines-deduplicator-gpt-5-5-x402-gateway-f9bc15bd","name":"Unique Lines Deduplicator – GPT-5.5 x402 Gateway","description":"Deduplicate newline-separated text while preserving order and report duplicate counts without calling an upstream model. GET variant for agents, crawlers, and wallets that prefer query parameters over a JSON body. Pay up to $0.0001 per request with x402 USDC on Base.","url":"https://gpt55.558686.xyz/v1/tools/unique-lines","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["text"],"properties":{"text":{"type":"string","maxLength":50000,"minLength":1},"case_sensitive":{"type":"boolean"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"ok":{"type":"boolean"},"tool":{"type":"string"},"fetchedAt":{"type":"string"}},"additionalProperties":true}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"text":"apple\nbanana\napple\ncherry\nbanana\ndate","case_sensitive":false}}},"response":{"ok":true,"text":"apple\nbanana\ncherry\ndate","tool":"uniqueLines","lines":["apple","banana","cherry","date"],"fetchedAt":"2026-06-18T06:21:13.501Z","caseSensitive":false,"duplicateCount":2,"inputLineCount":6,"uniqueLineCount":4}},"exampleRequest":{"text":"apple\nbanana\napple\ncherry\nbanana\ndate","case_sensitive":false},"tags":["x402"],"displayCostAmount":"0.0001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.0001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_D-E8vFVMa5yeEaVd0zck1","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Removes duplicate lines from a text input, returning only unique lines, optionally with case-sensitive matching.","exampleAgentPrompt":"I have this big list of names with a bunch of duplicates — can you remove all the repeated lines and give me just the unique ones? Treat 'Apple' and 'apple' as the same (case-insensitive).","exampleUseCases":null,"resultDescription":"A JSON object with ok: true, tool: 'uniqueLines', a summary message, and the deduplicated lines of the input text.","failureModes":["Missing 'text' query parameter returns an error","Text exceeding 50,000 characters rejected","Payment failure via x402/USDC blocks the request","Non-GET method returns 405","Empty string input rejected (minLength: 1)"],"whenToPreferThis":"Use this endpoint when you need a quick, pay-per-use (no subscription) API call to deduplicate lines in a text blob, especially in an automated pipeline that already uses x402 USDC micropayments on Base. Ideal for lightweight text cleaning tasks without standing up your own deduplication logic.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:27:30.038Z","isFirstParty":false}