{"uid":"cap_ltK8973HsVayJcDreaZuy","slug":"transport-ridership-numeric-interval-filter-secondary-measure-4ac50fb9","name":"Transport Ridership — Numeric Interval Filter + Secondary-Measure Weighted Mean","description":"Transport ridership — Numeric interval filter + Secondary-measure weighted mean: Numeric interval filter + Secondary-measure weighted mean for supplied transport ridership records (passenger_count, service_count). 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-economics-05-132?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","region","date","passenger_count","service_count"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"region":{"type":"string","default":"","maxLength":80},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"service_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"passenger_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","region":"group-a","row_id":"row-1","service_count":1,"passenger_count":10},{"date":"2026-10-02","region":"group-b","row_id":"row-2","service_count":2,"passenger_count":20},{"date":"2026-10-03","region":"group-a","row_id":"row-3","service_count":3,"passenger_count":15},{"date":"2026-10-04","region":"group-b","row_id":"row-4","service_count":4,"passenger_count":30}],"maxItems":200,"minItems":1},"field":{"enum":["passenger_count","service_count"],"type":"string","default":"passenger_count"},"maximum":{"type":"number","default":100,"maximum":1000000000000,"minimum":-1000000000000},"minimum":{"type":"number","default":0,"maximum":1000000000000,"minimum":-1000000000000}}},"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_OyW49W8d5wcBLz55udIVc","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":"Filters transport ridership rows by a numeric interval on a chosen field and computes a service-count-weighted mean of passenger counts (or vice versa) across up to 200 supplied records.","exampleAgentPrompt":"I have 150 daily ridership records with passenger_count and service_count per region — can you filter to rows where passenger_count is between 50 and 500 and then compute the service_count-weighted mean of passenger_count across those filtered rows?","exampleUseCases":[{"title":"Peak-hour ridership band analysis","prompt":"Here are 120 transit records for last month — filter to only the rows where passenger_count is between 200 and 800, then give me the service_count-weighted mean of passenger_count for that filtered set."},{"title":"Low-service route identification","prompt":"I have 80 regional transport records with service_count and passenger_count — filter to rows where service_count is between 1 and 10, and compute the passenger_count-weighted mean of service_count for those routes."},{"title":"Outlier exclusion for ridership reporting","prompt":"Can you take my 200-row ridership dataset, exclude any records where passenger_count is outside the 100 to 2000 range, and return the service_count-weighted mean of passenger_count for the remaining records?"}],"resultDescription":"Returns two analytical reports: (1) the subset of supplied rows whose chosen field (passenger_count or service_count) falls within the specified [minimum, maximum] interval, and (2) a secondary-measure weighted mean computed over the filtered records — all derived locally from the supplied data with no external lookups.","failureModes":["Rows array is empty or exceeds 200 items — validation error","minimum value greater than maximum value — produces empty filtered set or error","missing required row fields (row_id, region, date, passenger_count, service_count) — schema validation failure","all rows filtered out by interval — weighted mean is undefined or returns null","non-date-format string in date field — schema pattern mismatch","numeric values outside ±1,000,000,000,000 range — rejected by schema bounds"],"whenToPreferThis":"Choose this endpoint when you have up to 200 transport ridership rows already in hand and need both an interval filter on a numeric field and a weighted mean computation in a single paid call. It is purpose-built for transit/ridership data (passenger_count, service_count) with a known numeric range. Prefer it over generic analytics services when you want two bundled reports (filter + weighted mean) at a fixed $0.01 USDC cost with no external data fetching.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T13:15:50.298Z","isFirstParty":false,"canonicalSlug":"transport-ridership-numeric-interval-filter-secondary-measure-4ac50fb9"}