{"uid":"cap_YZdM_cXRHcMRHcYQCnX80","slug":"staking-supplied-rewards-duplicate-key-report-date-by-category-pivot-a83a6a02","name":"Staking Supplied Rewards — Duplicate Key Report + Date by Category Pivot","description":"Staking supplied rewards — Duplicate key report + Date by category pivot: Duplicate key report + Date by category pivot for supplied staking supplied rewards records (reward_units, staked_units). 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-15-068?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","instrument_group","date","reward_units","staked_units"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"reward_units":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"staked_units":{"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","reward_units":10,"staked_units":1,"instrument_group":"group-a"},{"date":"2026-10-02","row_id":"row-2","reward_units":20,"staked_units":2,"instrument_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","reward_units":15,"staked_units":3,"instrument_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","reward_units":30,"staked_units":4,"instrument_group":"group-b"}],"maxItems":200,"minItems":1},"field":{"enum":["reward_units","staked_units"],"type":"string","default":"reward_units"}}},"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_3M5ZGOhrp7CI62fDGyTHh","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":"Analyzes staking reward data by detecting duplicate row keys and generating a date-by-category pivot table for reward_units or staked_units, up to 200 rows.","exampleAgentPrompt":"Can you run a duplicate key check and a date-by-category pivot on my staking rewards data for the reward_units field? I have rows with row_id, date, instrument_group, reward_units, and staked_units — here are my records: row-1 on 2026-10-01 group-a 10 reward / 1 staked, row-2 on 2026-10-02 group-b 20 reward / 2 staked, row-3 on 2026-10-03 group-a 15 reward / 3 staked.","exampleUseCases":[{"title":"Staking audit before DeFi reconciliation","prompt":"Before I reconcile my DeFi staking positions, can you check this dataset of 50 staking reward records for duplicate row IDs and also pivot the reward_units by date and instrument group? I'll send the rows with row_id, date, instrument_group, reward_units, and staked_units."},{"title":"Category performance pivot for staking portfolio","prompt":"I have staking data across multiple instrument groups over the past quarter — can you generate a date-by-category pivot of staked_units and also flag any duplicate row keys in the dataset?"},{"title":"Data quality gate for staking pipeline","prompt":"Before loading my staking rewards into our data warehouse, run a duplicate key report and a date-by-instrument-group pivot on these records using the reward_units field — I need to catch any key collisions and see the cross-tab breakdown."}],"resultDescription":"Returns two reports: (1) a duplicate key report identifying any row_ids that appear more than once in the input dataset, and (2) a date-by-category pivot table summarizing the selected field (reward_units or staked_units) broken down by date rows and instrument_group columns. Both reports are computed locally from the supplied data with no external lookups.","failureModes":["Input array is empty or missing required fields (row_id, instrument_group, date) — validation error returned","More than 200 rows submitted — request rejected with max-items error","Invalid date format not matching YYYY-MM-DD pattern — schema validation failure","Invalid field enum value (not reward_units or staked_units) — rejected","Numeric values outside ±1,000,000,000,000 range — schema validation failure","Payment not included or insufficient USDC — x402 payment required response"],"whenToPreferThis":"Choose this endpoint when you need both a duplicate key audit and a date-by-category pivot on staking reward data (reward_units or staked_units) in a single low-cost call ($0.01 USDC). Ideal for data quality gates before ETL pipelines, staking portfolio reconciliation, or quick exploratory cross-tabulation of staking records up to 200 rows. Prefer this over generic analytics tools when your data is already structured with row_id, instrument_group, date, reward_units, and staked_units fields and you want two bundled reports without setting up a full analytics stack.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T13:16:30.704Z","isFirstParty":false,"canonicalSlug":"staking-supplied-rewards-duplicate-key-report-date-by-category-pivot-a83a6a02"}