{"uid":"cap_7gLG7ywGs4N5dLkHWMAlh","slug":"road-segment-observations-numeric-interval-filter-date-by-category-ad21cf5f","name":"Road Segment Observations — Numeric Interval Filter + Date by Category Pivot","description":"Road segment observations — Numeric interval filter + Date by category pivot: Numeric interval filter + Date by category pivot for supplied road segment observations records (length_m, travel_seconds). 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-weather-15-133?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","station_group","date","length_m","travel_seconds"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"length_m":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"station_group":{"type":"string","default":"","maxLength":80},"travel_seconds":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","length_m":10,"station_group":"group-a","travel_seconds":1},{"date":"2026-10-02","row_id":"row-2","length_m":20,"station_group":"group-b","travel_seconds":2},{"date":"2026-10-03","row_id":"row-3","length_m":15,"station_group":"group-a","travel_seconds":3},{"date":"2026-10-04","row_id":"row-4","length_m":30,"station_group":"group-b","travel_seconds":4}],"maxItems":200,"minItems":1},"field":{"enum":["length_m","travel_seconds"],"type":"string","default":"length_m"},"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_-KJEVc_f-edfOJNg6VGpH","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 road segment observation rows by a numeric interval on length_m or travel_seconds, then produces a date-by-category pivot report — two analytical reports from one call.","exampleAgentPrompt":"I have 150 road segment observation records with fields row_id, station_group, date, length_m, and travel_seconds — can you filter them to only rows where length_m is between 100 and 5000, then give me a pivot table of dates by station group?","exampleUseCases":[{"title":"Traffic corridor length analysis","prompt":"Here are my road segment records for October — filter out any rows where length_m falls outside 500 to 3000 meters and give me a pivot of how those filtered segments break down by date and station group."},{"title":"Travel time range investigation","prompt":"I need to analyze my road observation data and focus only on segments with travel_seconds between 30 and 300. Can you filter on travel_seconds with that range and then pivot the results by date across each station group?"},{"title":"Station group comparison after outlier trim","prompt":"I've got 180 road segment rows and I want to exclude extreme outliers — keep only records where length_m is between 10 and 10000, then show me a date-by-category pivot so I can compare station groups over time."}],"resultDescription":"Returns two reports: (1) a filtered subset of the input rows where the chosen numeric field (length_m or travel_seconds) falls within the specified minimum–maximum interval, and (2) a pivot table cross-tabulating dates against station_group categories, aggregating the filtered observations. Covers up to 200 input rows per call.","failureModes":["Input array exceeds 200 rows — request will be rejected or truncated","Missing required fields (row_id, station_group, date, length_m, travel_seconds) on any row causes validation failure","Date strings not matching YYYY-MM-DD pattern will fail schema validation","Minimum greater than maximum produces an empty filtered result set","Null values in the selected numeric field are excluded from interval filtering","Non-numeric values in length_m or travel_seconds fields cause parsing errors"],"whenToPreferThis":"Choose this endpoint when you have up to 200 road segment observation records and need both a numeric range filter (on length_m or travel_seconds) and a date-by-category pivot in a single low-cost call. It is ideal for transportation data pipelines, road network analytics dashboards, or traffic reporting workflows where you want to isolate segments within a specific measurement range and simultaneously see how they distribute across dates and station groups. Prefer it over general-purpose analytics tools when working specifically with road segment data containing station_group, date, length_m, and travel_seconds fields and you want two complementary reports bundled together at $0.01 USDC.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-22T00:34:13.386Z","isFirstParty":false,"canonicalSlug":"road-segment-observations-numeric-interval-filter-date-by-category-ad21cf5f"}