{"uid":"cap_M8J-NrN5iakXyU8fPStBg","slug":"business-location-inventories-exact-row-deduplication-date-by-c0038d30","name":"Business Location Inventories — Exact Row Deduplication + Date by Category Pivot","description":"Business location inventories — Exact row deduplication + Date by category pivot: Exact row deduplication + Date by category pivot for supplied business location inventories records (location_count, verified_locations). 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-05-052?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","company_group","date","location_count","verified_locations"],"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},"location_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"verified_locations":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","company_group":"group-a","location_count":10,"verified_locations":1},{"date":"2026-10-02","row_id":"row-2","company_group":"group-b","location_count":20,"verified_locations":2},{"date":"2026-10-03","row_id":"row-3","company_group":"group-a","location_count":15,"verified_locations":3},{"date":"2026-10-04","row_id":"row-4","company_group":"group-b","location_count":30,"verified_locations":4}],"maxItems":200,"minItems":1},"field":{"enum":["location_count","verified_locations"],"type":"string","default":"location_count"}}},"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_H29nsYpwSgLPV5kG6nsmD","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 exact duplicate rows and generates a date-by-category pivot table from supplied business location inventory records (location_count, verified_locations).","exampleAgentPrompt":"Deduplicate my business location inventory rows and generate a date-by-category pivot on location_count for these records: [{\"row_id\":\"r1\",\"company_group\":\"region-west\",\"date\":\"2025-01-01\",\"location_count\":50,\"verified_locations\":45},{\"row_id\":\"r2\",\"company_group\":\"region-east\",\"date\":\"2025-01-01\",\"location_count\":30,\"verified_locations\":28}].","exampleUseCases":[{"title":"Cleaning duplicate franchise location records","prompt":"I have a dataset of franchise location counts across company groups with some duplicate rows — can you deduplicate the exact duplicates and also pivot the location_count by date and company group? Here are the rows: [{\"row_id\":\"a1\",\"company_group\":\"franchise-north\",\"date\":\"2025-03-01\",\"location_count\":120,\"verified_locations\":115},{\"row_id\":\"a1\",\"company_group\":\"franchise-north\",\"date\":\"2025-03-01\",\"location_count\":120,\"verified_locations\":115},{\"row_id\":\"a2\",\"company_group\":\"franchise-south\",\"date\":\"2025-03-02\",\"location_count\":95,\"verified_locations\":90}]."},{"title":"Monthly location inventory trend pivot","prompt":"Can you run both the deduplication report and a date-by-category pivot on verified_locations for my monthly business location inventory data? The records cover three company groups across Q1 2025 — I'll pass you the full array of up to 150 rows."},{"title":"Audit location data quality before reporting","prompt":"Before I send our location_count figures to leadership, can you deduplicate any exact duplicate rows and pivot the data by date and company group so I can spot gaps? Use these 80 location inventory records I'm providing."}],"resultDescription":"Returns two analytical reports: (1) an exact-row-deduplication report identifying and removing fully duplicate records from the supplied dataset, and (2) a date-by-category pivot table showing the selected field (location_count or verified_locations) broken down by date and company_group. Both reports are computed locally on the supplied data with no external lookups.","failureModes":["Exceeds 200-row limit — request rejected; split dataset into smaller batches","Missing required fields (row_id, company_group, date, location_count, verified_locations) — validation error","Invalid date format (must be YYYY-MM-DD) — schema validation failure","Empty rows array — minimum 1 row required","Invalid field enum value — must be 'location_count' or 'verified_locations'","Numeric values outside ±1,000,000,000,000 range — schema rejection"],"whenToPreferThis":"Choose this endpoint when you have up to 200 rows of business location inventory data (with location_count and/or verified_locations fields) and need both exact-duplicate removal and a date-by-category pivot in a single low-cost call ($0.01 USDC). Ideal for data quality checks before reporting, or for summarizing multi-group location trends over time without needing a live database or external lookup service.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T06:45:59.453Z","isFirstParty":false,"canonicalSlug":"business-location-inventories-exact-row-deduplication-date-by-c0038d30"}