{
  "format": "delx/intent-card/v1",
  "id": "timestamp-align-api",
  "intent": "Timestamp Align for an agent workflow",
  "title": "Timestamp Align API for agents",
  "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, or media generation. Results are advisory; the caller owns authorization and production controls.",
  "keywords": [
    "Timestamp Align API",
    "Timestamp Align for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-06",
  "canonical_url": "https://commerce.delx.ai/intents/timestamp-align-api",
  "machine_url": "https://commerce.delx.ai/intents/timestamp-align-api.json",
  "recommendation": {
    "tool_name": "util_timestamp_align",
    "service_name": "Delx Timestamp Align",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/timestamp-align",
    "price_usdc": "0.003",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "type": "object",
      "properties": {
        "timestamps": {
          "description": "ISO-8601 timestamps to bucket-align in UTC.",
          "type": "array"
        },
        "interval_seconds": {
          "description": "Bucket width in seconds.",
          "type": "number"
        }
      },
      "required": [
        "timestamps",
        "interval_seconds"
      ],
      "additionalProperties": true
    },
    "example_input": {
      "timestamps": [
        "2026-08-06T10:00:12Z",
        "2026-08-06T10:00:59Z"
      ],
      "interval_seconds": 60
    },
    "example_output": {
      "schema": "delx/util-timestamp-align/v1",
      "valid_count": 2,
      "interval_seconds": 60,
      "aligned": [
        "2026-08-06T10:00:00Z",
        "2026-08-06T10:00:00Z"
      ],
      "truncated": false
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/timestamp-align -m POST -H 'x-delx-source: intent-card-timestamp-align-api' --max-amount 0.003 -b '{\"timestamps\":[\"2026-08-06T10:00:12Z\",\"2026-08-06T10:00:59Z\"],\"interval_seconds\":60}'",
      "max_amount_usdc": "0.003"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-timestamp-align-api"
  },
  "evidence": {
    "paid_openapi": "https://api.delx.ai/openapi.x402.json",
    "governed_portfolio": "https://api.delx.ai/x402-portfolio.json",
    "live_contract": "https://api.delx.ai/api/v1/x402/timestamp-align"
  }
}
