{"uid":"cap_6FKzvKd1Coj06AjVT9LJP","slug":"delx-timestamp-align-93b73f0b","name":"Delx Timestamp Align","description":"Align ISO-8601 timestamps down to fixed UTC interval buckets — call when bucket-aligning ISO timestamps to a UTC interval. Use on caller-supplied ticks/returns when agents need signal prep without a licensed live market feed (ottoai-class demand, first-party transform). Returns deterministic machine-readable JSON for $0.003 USDC via x402 on Base. Execution is first-party, local-only, stateless, and memory-only with no paid upstream, no input retention, and no claim of live chain tip, web search…","url":"https://api.delx.ai/api/v1/x402/timestamp-align","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"timestamps":{"type":"array","description":"ISO-8601 timestamps to bucket-align in UTC."},"interval_seconds":{"type":"number","description":"Bucket width in seconds."}}},"responseSchema":{"type":"json","example":{"schema":"delx/util-timestamp-align/v1","aligned":["2026-08-06T10:00:00Z","2026-08-06T10:00:00Z"],"truncated":false,"valid_count":2,"interval_seconds":60}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_n-C-_XTjG-io9TTVbkIeU","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Aligns an array of ISO-8601 timestamps down to fixed-width UTC interval buckets, returning deterministic bucket-aligned timestamps as JSON","exampleAgentPrompt":"Align these ISO-8601 timestamps to 300-second (5-minute) UTC buckets: ['2024-03-15T14:23:47Z', '2024-03-15T14:27:12Z', '2024-03-15T14:31:05Z'].","exampleUseCases":[{"title":"Candlestick bar grouping for trading signals","prompt":"I have a list of trade tick timestamps and I need to snap them all down to the nearest 60-second UTC bucket so I can group them into 1-minute candlestick bars — the timestamps are ['2024-06-01T09:31:42Z','2024-06-01T09:32:58Z','2024-06-01T09:33:05Z']."},{"title":"Hourly aggregation of sensor event logs","prompt":"Align these sensor event timestamps to 3600-second (1-hour) UTC buckets so I can count events per hour: ['2024-05-10T08:14:22Z','2024-05-10T08:55:03Z','2024-05-10T09:07:44Z','2024-05-10T10:59:01Z']."},{"title":"15-minute window binning for agent metrics","prompt":"I need to bucket these agent activity timestamps into 900-second (15-minute) UTC intervals for a performance dashboard — here are the timestamps: ['2024-07-20T13:02:11Z','2024-07-20T13:18:45Z','2024-07-20T13:29:59Z']."}],"resultDescription":"Returns a deterministic JSON object containing each input timestamp mapped to its corresponding UTC bucket boundary (floored to the nearest interval), expressed as ISO-8601 strings. No upstream calls are made; computation is local and stateless.","failureModes":["Invalid ISO-8601 format in any timestamp causes a validation error","Non-positive or zero interval_seconds returns an error","Missing required fields (timestamps array or interval_seconds) returns a 400-class error","Non-UTC or ambiguous timezone offsets may produce unexpected bucket assignments","Payment failure via x402 prevents execution and returns a 402 response"],"whenToPreferThis":"Choose this endpoint when you need pure, deterministic, stateless timestamp bucketing without any live data feed dependency. It is ideal for preprocessing caller-supplied tick data, event logs, or returns arrays before aggregation or signal computation. Prefer it over general-purpose time libraries when you need a cheap ($0.003), reliable, API-accessible transform callable by an agent without local code execution. It is not suitable for fetching live market data, computing derived signals, or any operation requiring external data sources.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:57:17.087Z","isFirstParty":false}