{"partialResults":false,"resources":[{"accepts":[{"amount":"1000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":300,"network":"eip155:8453","payTo":"0x7eC21Ee3AA308D2cbB8c65ef0E89af2a30101656","scheme":"exact"}],"description":"Date Math: Split a time range into minute, hour, day, week, month, quarter or year buckets with exact start and end times in a time zone. DST-aware (23- and 25-hour days, repeated and skipped hours), ISO or Sunday/Saturday weeks, fiscal quarters, partial first and last buckets flagged or clipped. Up to 1,000 buckets. Use for chart axes, time-series grouping and filling empty periods in dashboards.","extensions":{"bazaar":{"info":{"input":{"body":{"bucket":"day","from":"2026-10-31","timezone":"America/New_York","to":"2026-11-03"},"bodyType":"json","method":"POST","type":"http"},"output":{"example":{"bucket":"day","buckets":[{"end":"2026-11-01T00:00:00-04:00","end_utc":"2026-11-01T04:00:00Z","hours":24,"label":"2026-10-31","start":"2026-10-31T00:00:00-04:00","start_utc":"2026-10-31T04:00:00Z"}],"count":3,"from":"2026-10-31T00:00:00-04:00","size":1,"timezone":"America/New_York","to":"2026-11-03T00:00:00-05:00"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"bucket":{"default":"day","enum":["minute","hour","day","week","month","quarter","year"],"type":"string"},"clip":{"default":false,"description":"Clip the first and last buckets to [from, to) instead of returning whole buckets flagged partial","type":"boolean"},"fiscal_year_start":{"default":1,"description":"Month the fiscal year starts (1 = January). Quarters, halves and years follow it; fiscal years are named by the calendar year they end in (start 7: FY2027 = July 2026 – June 2027)","maximum":12,"minimum":1,"type":"integer"},"from":{"description":"Range start: YYYY-MM-DD (local midnight), local YYYY-MM-DDTHH:MM, or ISO 8601 with offset","type":"string"},"size":{"default":1,"description":"minute: 1,2,3,4,5,6,10,12,15,20,30; hour: 1,2,3,4,6,8,12. Other buckets: 1","maximum":30,"minimum":1,"type":"integer"},"timezone":{"description":"IANA time zone, e.g. America/New_York (default UTC)","type":"string"},"to":{"description":"Range end, exclusive (same formats)","type":"string"},"week_start":{"default":"monday","description":"First day of the week. monday = ISO weeks (labels like 2026-W46)","enum":["monday","sunday","saturday"],"type":"string"}},"required":["from","to"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"bucket":{"type":"string"},"buckets":{"items":{"properties":{"end":{"description":"Exclusive","type":"string"},"end_utc":{"type":"string"},"hours":{"description":"Real length: 23 or 25 on clock-change days","type":"number"},"label":{"description":"2026-11-01, 2026-W45, 2026-11, 2026-Q4, FY2027-Q2, 2026, or a local time like 2026-11-01T01:00-05:00","type":"string"},"partial":{"description":"The bucket extends beyond [from, to)","type":"boolean"},"start":{"type":"string"},"start_utc":{"type":"string"}},"required":["label","start","end","start_utc","end_utc","hours"],"type":"object"},"type":"array"},"count":{"type":"integer"},"fiscal_year_start":{"type":"string"},"from":{"type":"string"},"size":{"type":"integer"},"timezone":{"type":"string"},"to":{"type":"string"},"week_start":{"type":"string"}},"required":["timezone","bucket","size","from","to","count","buckets"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"}}},"iconUrl":"https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1794226386/bazaar-icons/53a3e11863560f54.png","lastUpdated":"2026-11-10T13:41:57.598Z","quality":{"l30DaysTotalCalls":1,"l30DaysUniquePayers":1,"lastCalledAt":"2026-11-10T13:41:57.403Z"},"resource":"https://date-math.datemath.workers.dev/v1/time_buckets","serviceName":"Date Math","tags":["time buckets","date histogram","time series intervals","chart time axis","group by week"],"type":"http","x402Version":2}],"searchMethod":"text","x402Version":2,"meta":{"searchToken":"cheacjscvdjwyaa"}}
