{"uid":"cap_GN6EOzuN-3E9yXyYc_PaL","slug":"transport-ridership-category-frequencies-equal-width-histogram-663b652d","name":"Transport Ridership — Category Frequencies + Equal-Width Histogram","description":"Transport ridership — Category frequencies + Equal-width histogram: Category frequencies + Equal-width histogram 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-106?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"bins":{"type":"integer","default":5,"maximum":30,"minimum":1},"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"}}},"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_wO-H4Qs29Cm2vh1lkHHSP","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 category frequency counts and an equal-width histogram for transport ridership data (passenger_count or service_count) across up to 200 rows in a single API call.","exampleAgentPrompt":"Analyze my transport ridership data — here are 5 rows with passenger_count and service_count per region and date — give me the category frequencies by region and an equal-width histogram of passenger_count using 8 bins.","exampleUseCases":[{"title":"Regional ridership frequency audit","prompt":"I have 50 rows of daily transit data with region, date, passenger_count, and service_count. Can you give me the category frequencies by region and a 10-bin histogram of passenger_count so I can see which regions are busiest?"},{"title":"Service count distribution for planning","prompt":"Here are 120 records of bus service data with row_id, region, date, passenger_count, and service_count fields. Generate a category frequency table and a 5-bin equal-width histogram for service_count so I can understand the distribution."},{"title":"Ridership histogram for weekly report","prompt":"I need to summarize this week's transit ridership — I have 30 rows with passenger counts and service counts by region. Give me the category frequencies and a 7-bin histogram of passenger_count for the report."}],"resultDescription":"Returns two analytical reports: (1) category frequencies showing how often each region (or category value) appears in the dataset, and (2) an equal-width histogram dividing the selected numeric field (passenger_count or service_count) into the specified number of bins with counts per bin. Both reports are computed locally against the supplied rows with no external data lookups.","failureModes":["More than 200 rows submitted — request will be rejected or truncated","Invalid date format (not YYYY-MM-DD) causes row validation failure","Missing required fields (row_id, region, date, passenger_count, service_count) cause schema rejection","bins value outside 1–30 range causes parameter error","All values null for selected field produces empty or degenerate histogram","Payment of 0.01 USDC not included causes 402 response"],"whenToPreferThis":"Choose this endpoint when you have raw transport ridership records (up to 200 rows) and need two quick statistical summaries — category frequencies and a numeric histogram — in a single call without any external data lookup or prediction. It is ideal for lightweight, local analytics on pre-collected transit datasets where you want both a categorical breakdown by region and a distribution view of passenger or service counts simultaneously.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T06:48:15.895Z","isFirstParty":false,"canonicalSlug":"transport-ridership-category-frequencies-equal-width-histogram-663b652d"}