{"uid":"cap_9QTvMM-bwpp8EltUXMOrm","slug":"schedule-tools-time-interval-merger-4e725afc","name":"Schedule Tools – Time Interval Merger","description":"Time interval merger — sort, deduplicate, and combine overlapping or adjacent RFC 3339 date-time ranges.","url":"https://schedule-tools.use.x402atlas.com/intervals-merge","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_DmwJVdvvDly5-5VggAfg-","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Sorts, deduplicates, and merges overlapping or adjacent RFC 3339 date-time intervals into a minimal canonical list of non-overlapping ranges.","exampleAgentPrompt":"I have a bunch of calendar blocks that overlap — can you merge these time intervals into a clean, non-overlapping list? The ranges are: 2025-06-01T09:00:00Z to 2025-06-01T11:00:00Z, 2025-06-01T10:30:00Z to 2025-06-01T12:00:00Z, and 2025-06-01T14:00:00Z to 2025-06-01T15:00:00Z.","exampleUseCases":[{"title":"Consolidate overlapping meeting blocks","prompt":"I pulled busy times from three different people's calendars and some blocks overlap. Can you merge all these time ranges into a clean non-overlapping list? Here are the intervals: 2025-07-10T08:00:00Z–2025-07-10T09:30:00Z, 2025-07-10T09:00:00Z–2025-07-10T10:00:00Z, 2025-07-10T13:00:00Z–2025-07-10T14:00:00Z, and 2025-07-10T13:45:00Z–2025-07-10T15:00:00Z."},{"title":"Normalize aggregated event schedule","prompt":"I've collected event time slots from multiple sources and there are duplicates and overlapping windows. Please sort and merge them into a minimal set of distinct intervals: 2025-08-05T10:00:00Z–2025-08-05T11:00:00Z, 2025-08-05T10:00:00Z–2025-08-05T11:00:00Z, 2025-08-05T11:00:00Z–2025-08-05T12:30:00Z, and 2025-08-05T15:00:00Z–2025-08-05T16:00:00Z."},{"title":"Compute total blocked time for billing","prompt":"I need to figure out total blocked time on a calendar, but the blocked slots overlap in places. Merge these intervals for me so I can sum them up accurately: 2025-09-01T09:00:00Z–2025-09-01T10:00:00Z, 2025-09-01T09:30:00Z–2025-09-01T11:30:00Z, 2025-09-01T11:30:00Z–2025-09-01T12:00:00Z."}],"resultDescription":"A sorted, deduplicated array of RFC 3339 date-time interval pairs representing the minimal set of non-overlapping, non-adjacent merged ranges that cover exactly the same total time as the input set.","failureModes":["Invalid RFC 3339 format in any interval boundary returns a 400 error","End datetime before start datetime in any interval causes a validation error","Empty input list returns an empty merged list or error depending on implementation","Intervals with mismatched timezone representations may cause unexpected merging behavior","Malformed JSON body returns a 400 bad request"],"whenToPreferThis":"Choose this endpoint when you have a raw list of date-time intervals (possibly overlapping, adjacent, or duplicated) and need a canonical, minimal, non-overlapping representation — especially for calendar aggregation, busy-time computation, billing calculations, or scheduling pipelines that require clean interval sets. Prefer it over manual logic when working with RFC 3339 timestamps across timezones where arithmetic errors are risky.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:41:41.421Z","isFirstParty":false}