{"uid":"cap_hEKGHtS3US4jK3hQlbpUf","slug":"liquidity-observations-exact-row-deduplication-date-by-category-pivot-132df6d2","name":"Liquidity Observations — Exact Row Deduplication + Date by Category Pivot","description":"Liquidity observations — Exact row deduplication + Date by category pivot: Exact row deduplication + Date by category pivot for supplied liquidity observations records (base_quantity, quote_quantity). Up to 200 rows; 2 independent reports using shared local analytical engines. No live lookup, prediction, professional assessment or external action. 0.01 USDC includes 2 supplied-data reports for up to 200 rows.","url":"https://market.datapackvibe.com/x402/assistant-ib26-finance-10-052?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","instrument_group","date","base_quantity","quote_quantity"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"base_quantity":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"quote_quantity":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"instrument_group":{"type":"string","default":"","maxLength":80}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","base_quantity":10,"quote_quantity":1,"instrument_group":"group-a"},{"date":"2026-10-02","row_id":"row-2","base_quantity":20,"quote_quantity":2,"instrument_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","base_quantity":15,"quote_quantity":3,"instrument_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","base_quantity":30,"quote_quantity":4,"instrument_group":"group-b"}],"maxItems":200,"minItems":1},"field":{"enum":["base_quantity","quote_quantity"],"type":"string","default":"base_quantity"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_95tp6ZBf4gAFxXdq4s66i","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Deduplicates liquidity observation records and generates a date-by-instrument-group pivot table for base_quantity or quote_quantity fields, returning two analytical reports for up to 200 rows.","exampleAgentPrompt":"I have up to 200 liquidity observation rows — each with a row_id, date, instrument_group, base_quantity, and quote_quantity — can you deduplicate them exactly and give me a date-by-instrument-group pivot on base_quantity?","exampleUseCases":[{"title":"DeFi liquidity pool reporting","prompt":"I've got daily liquidity pool observations across groups like 'ETH-USDC' and 'BTC-USDT' with base and quote quantities — can you deduplicate the rows and pivot the base_quantity by date and instrument group so I can see supply across pools over time?"},{"title":"Auditing duplicate liquidity entries","prompt":"Our data pipeline sometimes produces duplicate liquidity records. Can you run exact deduplication on these rows and also give me a pivot of quote_quantity by date and category so I can spot anomalies?"},{"title":"Instrument group comparison over dates","prompt":"I want to compare base_quantity across different instrument groups day by day. Here are my 150 liquidity observation records — please deduplicate them and create a date-by-instrument-group pivot for base_quantity."}],"resultDescription":"Two analytical reports: (1) a deduplicated set of liquidity observation records with exact duplicate rows removed, and (2) a pivot table cross-tabulating dates against instrument groups with aggregated values for the selected field (base_quantity or quote_quantity). Both reports are computed locally on the supplied data with no external lookups.","failureModes":["Input rows exceed 200 items — request rejected","Missing required fields (row_id, date, instrument_group, base_quantity, quote_quantity) cause validation errors","Malformed date strings not matching YYYY-MM-DD pattern fail schema validation","base_quantity or quote_quantity values outside ±1,000,000,000,000 are rejected","Invalid field enum value (must be 'base_quantity' or 'quote_quantity') causes error","Empty rows array (minItems:1 not met) returns error"],"whenToPreferThis":"Choose this endpoint when you have up to 200 liquidity observation records with instrument group and date dimensions and need both exact duplicate removal and a cross-tabulated pivot view in a single low-cost call. It is ideal for DeFi or traditional finance liquidity supply analytics where data quality (deduplication) and dimensional summarization (date × category) are needed together without any live market data or external dependencies.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T12:38:55.292Z","isFirstParty":false,"canonicalSlug":"liquidity-observations-exact-row-deduplication-date-by-category-pivot-132df6d2"}