{"uid":"cap_eQvmKjnBe1JtDRQiHgsXn","slug":"registry-snapshots-secondary-measure-weighted-mean-keyed-dataset-8a982707","name":"Registry Snapshots — Secondary-Measure Weighted Mean & Keyed Dataset Comparison","description":"Registry snapshots — Secondary-measure weighted mean + Keyed dataset comparison: Secondary-measure weighted mean + Keyed dataset comparison for supplied registry snapshots records (registered_entities, changed_entities). 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-company-04-186?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","company_group","date","registered_entities","changed_entities"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"company_group":{"type":"string","default":"","maxLength":80},"changed_entities":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"registered_entities":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","company_group":"group-a","changed_entities":1,"registered_entities":10},{"date":"2026-10-02","row_id":"row-2","company_group":"group-b","changed_entities":2,"registered_entities":20},{"date":"2026-10-03","row_id":"row-3","company_group":"group-a","changed_entities":3,"registered_entities":15},{"date":"2026-10-04","row_id":"row-4","company_group":"group-b","changed_entities":4,"registered_entities":30}],"maxItems":200,"minItems":1},"field":{"enum":["registered_entities","changed_entities"],"type":"string","default":"registered_entities"},"other":{"type":"array","items":{"type":"object","required":["row_id","company_group","date","registered_entities","changed_entities"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"company_group":{"type":"string","default":"","maxLength":80},"changed_entities":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"registered_entities":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","company_group":"group-a","changed_entities":1,"registered_entities":10},{"date":"2026-10-02","row_id":"row-2","company_group":"group-b","changed_entities":2,"registered_entities":21},{"date":"2026-10-03","row_id":"row-3","company_group":"group-a","changed_entities":3,"registered_entities":17},{"date":"2026-10-04","row_id":"row-4","company_group":"group-b","changed_entities":4,"registered_entities":33}],"maxItems":200,"minItems":0}}},"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_wPFyIP4MDVuAtFYoSQ_tE","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":"Computes a secondary-measure weighted mean and performs keyed dataset comparison on two supplied registry snapshot datasets (registered_entities, changed_entities) of up to 200 rows each.","exampleAgentPrompt":"I have two sets of registry snapshot records for group-a and group-b across October 2026 — can you compute the secondary-measure weighted mean of registered_entities (weighted by changed_entities) across both datasets, and also run a keyed comparison between the two datasets? Each dataset has up to 10 rows with row_id, company_group, date, registered_entities, and changed_entities.","exampleUseCases":[{"title":"Compare two quarterly registry snapshots","prompt":"I have two quarterly registry snapshots for our compliance team — one from Q3 and one from Q4 — each with up to 50 rows of registered_entities and changed_entities by company group. Can you run a weighted mean of registered_entities using changed_entities as the weight, and then compare the two datasets row-by-row to flag any differences?"},{"title":"Weighted entity growth analysis by group","prompt":"We have registry data for groups alpha, beta, and gamma across 30 dates. I need the secondary-measure weighted mean of changed_entities across both our baseline and revised datasets, plus a keyed comparison between them — can you do both reports at once?"},{"title":"Audit registry changes between two snapshots","prompt":"Can you take our before and after registry snapshots — each about 80 rows with company_group, date, registered_entities, and changed_entities — compute the weighted mean of registered_entities weighted by changed_entities, and identify which row IDs differ between the two datasets?"}],"resultDescription":"Returns two independent analytical reports: (1) a secondary-measure weighted mean for the chosen field (registered_entities or changed_entities) across the supplied rows, and (2) a keyed dataset comparison between the primary rows and the secondary 'other' rows, identifying matches, mismatches, and differences by row key. Both reports are computed locally with no external lookups.","failureModes":["Missing required fields (row_id, company_group, date, registered_entities, changed_entities) causes validation failure","Exceeding 200 rows per dataset returns an error","Invalid date format (not YYYY-MM-DD) causes schema rejection","Null values in both registered_entities and changed_entities for a row may produce undefined weighted mean behavior","Empty rows array returns an error (minItems: 1)","Payment failure or insufficient USDC balance blocks the request"],"whenToPreferThis":"Choose this endpoint when you need both a weighted-mean statistical summary and a keyed row-level comparison of two registry snapshot datasets in a single $0.01 call. It is purpose-built for business entity registry data with registered_entities and changed_entities fields, company group keys, and date-stamped rows. Prefer it over general analytics tools when your data fits the registry snapshot schema and you want two bundled reports without live lookups or external data enrichment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:39:52.143Z","isFirstParty":false,"canonicalSlug":"registry-snapshots-secondary-measure-weighted-mean-keyed-dataset-8a982707"}