{
  "x402Version": 2,
  "id": 36318,
  "slug": "36318",
  "resource": "https://api.duoleads.com/v1/time/rrule",
  "description": "Expand an RFC 5545 recurrence rule into concrete occurrence timestamps. Accepts an RRULE string with DTSTART, an IANA time zone, and optional EXDATE and RDATE lists, and returns up to 200 occurrences as both local wall-clock times and UTC instants. Supports FREQ, INTERVAL, COUNT, UNTIL, BYDAY, BYMONTHDAY, BYMONTH, BYSETPOS and WKST. Occurrences moved by a DST gap carry gap: true. Rules needing over 50,000 candidate evaluations are rejected.",
  "type": "http",
  "serviceName": "Duo Data Utilities",
  "resourceType": "Monitoring",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xCD673f7e1daD254347AEab6be0DEFe8b9C6b3A39",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "50000",
      "amountUsd": 0.05,
      "maxTimeoutSeconds": 120
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "data": {
            "properties": {
              "count": {
                "type": "integer"
              },
              "occurrences": {
                "items": {
                  "properties": {
                    "dst": {
                      "type": "boolean"
                    },
                    "epoch_ms": {
                      "type": "integer"
                    },
                    "gap": {
                      "type": "boolean"
                    },
                    "instant": {
                      "type": "string"
                    },
                    "local": {
                      "type": "string"
                    },
                    "offset": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "local",
                    "instant",
                    "epoch_ms",
                    "offset",
                    "dst"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "rule": {
                "properties": {
                  "byday": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "byhour": {
                    "items": {
                      "type": "integer"
                    },
                    "type": "array"
                  },
                  "byminute": {
                    "items": {
                      "type": "integer"
                    },
                    "type": "array"
                  },
                  "bymonth": {
                    "items": {
                      "type": "integer"
                    },
                    "type": "array"
                  },
                  "bymonthday": {
                    "items": {
                      "type": "integer"
                    },
                    "type": "array"
                  },
                  "bysecond": {
                    "items": {
                      "type": "integer"
                    },
                    "type": "array"
                  },
                  "bysetpos": {
                    "items": {
                      "type": "integer"
                    },
                    "type": "array"
                  },
                  "count": {
                    "type": "integer"
                  },
                  "freq": {
                    "type": "string"
                  },
                  "interval": {
                    "type": "integer"
                  },
                  "until": {
                    "type": "string"
                  },
                  "wkst": {
                    "type": "string"
                  }
                },
                "required": [
                  "freq",
                  "interval",
                  "wkst"
                ],
                "type": "object"
              },
              "truncated": {
                "type": "boolean"
              },
              "zone": {
                "type": "string"
              }
            },
            "required": [
              "occurrences",
              "count",
              "truncated",
              "rule",
              "zone"
            ],
            "type": "object"
          },
          "meta": {
            "properties": {
              "computed_at": {
                "description": "RFC 3339 UTC with milliseconds",
                "type": "string"
              },
              "deterministic": {
                "type": "boolean"
              },
              "disclaimer": {
                "type": "string"
              },
              "price_usd": {
                "type": "string"
              },
              "request_id": {
                "type": "string"
              },
              "sources": {
                "items": {
                  "required": [
                    "id",
                    "version",
                    "published"
                  ],
                  "type": "object"
                },
                "type": "array"
              }
            },
            "required": [
              "request_id",
              "computed_at",
              "price_usd",
              "deterministic",
              "disclaimer"
            ],
            "type": "object"
          },
          "ok": {
            "const": true
          },
          "route": {
            "const": "/v1/time/rrule"
          },
          "version": {
            "type": "string"
          }
        },
        "required": [
          "ok",
          "route",
          "version",
          "data",
          "meta"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "dtstart": "2026-01-01T09:00:00",
            "rrule": "FREQ=MONTHLY;BYDAY=-1FR;COUNT=3",
            "zone": "Europe/Amsterdam"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "data": {
              "count": 3,
              "occurrences": [
                {
                  "dst": false,
                  "epoch_ms": 1769760000000,
                  "instant": "2026-01-30T08:00:00.000Z",
                  "local": "2026-01-30T09:00:00",
                  "offset": "+01:00"
                },
                {
                  "dst": false,
                  "epoch_ms": 1772179200000,
                  "instant": "2026-02-27T08:00:00.000Z",
                  "local": "2026-02-27T09:00:00",
                  "offset": "+01:00"
                },
                {
                  "dst": false,
                  "epoch_ms": 1774598400000,
                  "instant": "2026-03-27T08:00:00.000Z",
                  "local": "2026-03-27T09:00:00",
                  "offset": "+01:00"
                }
              ],
              "rule": {
                "byday": [
                  "-1FR"
                ],
                "count": 3,
                "freq": "MONTHLY",
                "interval": 1,
                "wkst": "MO"
              },
              "truncated": false,
              "zone": "Europe/Amsterdam"
            },
            "meta": {
              "computed_at": "2026-09-28T12:00:00.000Z",
              "deterministic": true,
              "disclaimer": "Factual output of a deterministic computation over public data. Provided as is, with no warranty of accuracy, completeness or availability. Not investment, financial, legal, tax, medical or any other professional advice, and not a recommendation. Verify before relying on it. Terms: https://api.duoleads.com/terms",
              "price_usd": "0.05",
              "request_id": "01K6B7Q4ZC8H3F2M9WXR5TYN0D"
            },
            "ok": true,
            "route": "/v1/time/rrule",
            "version": "1.0.0"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "after": {
                    "description": "RFC 3339 instant; skip occurrences before it.",
                    "maxLength": 64,
                    "type": "string"
                  },
                  "count": {
                    "default": "20",
                    "description": "Maximum occurrences to return, 1-200. Default 20.",
                    "maxLength": 64,
                    "pattern": "^[+-]?\\d+$",
                    "type": "string"
                  },
                  "dtstart": {
                    "description": "First occurrence, YYYY-MM-DDTHH:MM:SS local to zone.",
                    "maxLength": 32,
                    "type": "string"
                  },
                  "exdate": {
                    "description": "Comma-separated local datetimes to exclude.",
                    "maxLength": 1024,
                    "type": "string"
                  },
                  "rdate": {
                    "description": "Comma-separated local datetimes to add.",
                    "maxLength": 1024,
                    "type": "string"
                  },
                  "rrule": {
                    "description": "RFC 5545 RRULE, e.g. FREQ=MONTHLY;BYDAY=-1FR;COUNT=6.",
                    "maxLength": 512,
                    "type": "string"
                  },
                  "zone": {
                    "description": "IANA time zone id.",
                    "maxLength": 64,
                    "type": "string"
                  }
                },
                "required": [
                  "rrule",
                  "dtstart",
                  "zone"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "data": {
                    "properties": {
                      "count": {
                        "type": "integer"
                      },
                      "occurrences": {
                        "items": {
                          "properties": {
                            "dst": {
                              "type": "boolean"
                            },
                            "epoch_ms": {
                              "type": "integer"
                            },
                            "gap": {
                              "type": "boolean"
                            },
                            "instant": {
                              "type": "string"
                            },
                            "local": {
                              "type": "string"
                            },
                            "offset": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "local",
                            "instant",
                            "epoch_ms",
                            "offset",
                            "dst"
                          ],
                          "type": "object"
                        },
                        "type": "array"
                      },
                      "rule": {
                        "properties": {
                          "byday": {
                            "items": {
                              "type": "string"
                            },
                            "type": "array"
                          },
                          "byhour": {
                            "items": {
                              "type": "integer"
                            },
                            "type": "array"
                          },
                          "byminute": {
                            "items": {
                              "type": "integer"
                            },
                            "type": "array"
                          },
                          "bymonth": {
                            "items": {
                              "type": "integer"
                            },
                            "type": "array"
                          },
                          "bymonthday": {
                            "items": {
                              "type": "integer"
                            },
                            "type": "array"
                          },
                          "bysecond": {
                            "items": {
                              "type": "integer"
                            },
                            "type": "array"
                          },
                          "bysetpos": {
                            "items": {
                              "type": "integer"
                            },
                            "type": "array"
                          },
                          "count": {
                            "type": "integer"
                          },
                          "freq": {
                            "type": "string"
                          },
                          "interval": {
                            "type": "integer"
                          },
                          "until": {
                            "type": "string"
                          },
                          "wkst": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "freq",
                          "interval",
                          "wkst"
                        ],
                        "type": "object"
                      },
                      "truncated": {
                        "type": "boolean"
                      },
                      "zone": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "occurrences",
                      "count",
                      "truncated",
                      "rule",
                      "zone"
                    ],
                    "type": "object"
                  },
                  "meta": {
                    "properties": {
                      "computed_at": {
                        "description": "RFC 3339 UTC with milliseconds",
                        "type": "string"
                      },
                      "deterministic": {
                        "type": "boolean"
                      },
                      "disclaimer": {
                        "type": "string"
                      },
                      "price_usd": {
                        "type": "string"
                      },
                      "request_id": {
                        "type": "string"
                      },
                      "sources": {
                        "items": {
                          "required": [
                            "id",
                            "version",
                            "published"
                          ],
                          "type": "object"
                        },
                        "type": "array"
                      }
                    },
                    "required": [
                      "request_id",
                      "computed_at",
                      "price_usd",
                      "deterministic",
                      "disclaimer"
                    ],
                    "type": "object"
                  },
                  "ok": {
                    "const": true
                  },
                  "route": {
                    "const": "/v1/time/rrule"
                  },
                  "version": {
                    "type": "string"
                  }
                },
                "required": [
                  "ok",
                  "route",
                  "version",
                  "data",
                  "meta"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "deterministic",
    "no-api-key",
    "time",
    "calendar",
    "recurrence",
    "bazaar"
  ],
  "sourceHost": "api.duoleads.com",
  "lastUpdated": "2026-10-01T20:51:19.698Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-01T20:51:19.567Z"
  },
  "metadata": {
    "serviceName": "Duo Data Utilities",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "dtstart": "2026-01-01T09:00:00",
              "rrule": "FREQ=MONTHLY;BYDAY=-1FR;COUNT=3",
              "zone": "Europe/Amsterdam"
            },
            "type": "http"
          },
          "output": {
            "example": {
              "data": {
                "count": 3,
                "occurrences": [
                  {
                    "dst": false,
                    "epoch_ms": 1769760000000,
                    "instant": "2026-01-30T08:00:00.000Z",
                    "local": "2026-01-30T09:00:00",
                    "offset": "+01:00"
                  },
                  {
                    "dst": false,
                    "epoch_ms": 1772179200000,
                    "instant": "2026-02-27T08:00:00.000Z",
                    "local": "2026-02-27T09:00:00",
                    "offset": "+01:00"
                  },
                  {
                    "dst": false,
                    "epoch_ms": 1774598400000,
                    "instant": "2026-03-27T08:00:00.000Z",
                    "local": "2026-03-27T09:00:00",
                    "offset": "+01:00"
                  }
                ],
                "rule": {
                  "byday": [
                    "-1FR"
                  ],
                  "count": 3,
                  "freq": "MONTHLY",
                  "interval": 1,
                  "wkst": "MO"
                },
                "truncated": false,
                "zone": "Europe/Amsterdam"
              },
              "meta": {
                "computed_at": "2026-09-28T12:00:00.000Z",
                "deterministic": true,
                "disclaimer": "Factual output of a deterministic computation over public data. Provided as is, with no warranty of accuracy, completeness or availability. Not investment, financial, legal, tax, medical or any other professional advice, and not a recommendation. Verify before relying on it. Terms: https://api.duoleads.com/terms",
                "price_usd": "0.05",
                "request_id": "01K6B7Q4ZC8H3F2M9WXR5TYN0D"
              },
              "ok": true,
              "route": "/v1/time/rrule",
              "version": "1.0.0"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "properties": {
                    "after": {
                      "description": "RFC 3339 instant; skip occurrences before it.",
                      "maxLength": 64,
                      "type": "string"
                    },
                    "count": {
                      "default": "20",
                      "description": "Maximum occurrences to return, 1-200. Default 20.",
                      "maxLength": 64,
                      "pattern": "^[+-]?\\d+$",
                      "type": "string"
                    },
                    "dtstart": {
                      "description": "First occurrence, YYYY-MM-DDTHH:MM:SS local to zone.",
                      "maxLength": 32,
                      "type": "string"
                    },
                    "exdate": {
                      "description": "Comma-separated local datetimes to exclude.",
                      "maxLength": 1024,
                      "type": "string"
                    },
                    "rdate": {
                      "description": "Comma-separated local datetimes to add.",
                      "maxLength": 1024,
                      "type": "string"
                    },
                    "rrule": {
                      "description": "RFC 5545 RRULE, e.g. FREQ=MONTHLY;BYDAY=-1FR;COUNT=6.",
                      "maxLength": 512,
                      "type": "string"
                    },
                    "zone": {
                      "description": "IANA time zone id.",
                      "maxLength": 64,
                      "type": "string"
                    }
                  },
                  "required": [
                    "rrule",
                    "dtstart",
                    "zone"
                  ],
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "data": {
                      "properties": {
                        "count": {
                          "type": "integer"
                        },
                        "occurrences": {
                          "items": {
                            "properties": {
                              "dst": {
                                "type": "boolean"
                              },
                              "epoch_ms": {
                                "type": "integer"
                              },
                              "gap": {
                                "type": "boolean"
                              },
                              "instant": {
                                "type": "string"
                              },
                              "local": {
                                "type": "string"
                              },
                              "offset": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "local",
                              "instant",
                              "epoch_ms",
                              "offset",
                              "dst"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "rule": {
                          "properties": {
                            "byday": {
                              "items": {
                                "type": "string"
                              },
                              "type": "array"
                            },
                            "byhour": {
                              "items": {
                                "type": "integer"
                              },
                              "type": "array"
                            },
                            "byminute": {
                              "items": {
                                "type": "integer"
                              },
                              "type": "array"
                            },
                            "bymonth": {
                              "items": {
                                "type": "integer"
                              },
                              "type": "array"
                            },
                            "bymonthday": {
                              "items": {
                                "type": "integer"
                              },
                              "type": "array"
                            },
                            "bysecond": {
                              "items": {
                                "type": "integer"
                              },
                              "type": "array"
                            },
                            "bysetpos": {
                              "items": {
                                "type": "integer"
                              },
                              "type": "array"
                            },
                            "count": {
                              "type": "integer"
                            },
                            "freq": {
                              "type": "string"
                            },
                            "interval": {
                              "type": "integer"
                            },
                            "until": {
                              "type": "string"
                            },
                            "wkst": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "freq",
                            "interval",
                            "wkst"
                          ],
                          "type": "object"
                        },
                        "truncated": {
                          "type": "boolean"
                        },
                        "zone": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "occurrences",
                        "count",
                        "truncated",
                        "rule",
                        "zone"
                      ],
                      "type": "object"
                    },
                    "meta": {
                      "properties": {
                        "computed_at": {
                          "description": "RFC 3339 UTC with milliseconds",
                          "type": "string"
                        },
                        "deterministic": {
                          "type": "boolean"
                        },
                        "disclaimer": {
                          "type": "string"
                        },
                        "price_usd": {
                          "type": "string"
                        },
                        "request_id": {
                          "type": "string"
                        },
                        "sources": {
                          "items": {
                            "required": [
                              "id",
                              "version",
                              "published"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "required": [
                        "request_id",
                        "computed_at",
                        "price_usd",
                        "deterministic",
                        "disclaimer"
                      ],
                      "type": "object"
                    },
                    "ok": {
                      "const": true
                    },
                    "route": {
                      "const": "/v1/time/rrule"
                    },
                    "version": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "ok",
                    "route",
                    "version",
                    "data",
                    "meta"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.duoleads.com",
    "manifest_name": "api.duoleads.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "data": {
        "count": 0,
        "occurrences": [
          {
            "dst": true,
            "epoch_ms": 0,
            "gap": true,
            "instant": "string",
            "local": "string",
            "offset": "string"
          }
        ],
        "rule": {
          "byday": [
            "string"
          ],
          "byhour": [
            0
          ],
          "byminute": [
            0
          ],
          "bymonth": [
            0
          ],
          "bymonthday": [
            0
          ],
          "bysecond": [
            0
          ],
          "bysetpos": [
            0
          ],
          "count": 0,
          "freq": "string",
          "interval": 0,
          "until": "string",
          "wkst": "string"
        },
        "truncated": true,
        "zone": "string"
      },
      "meta": {
        "computed_at": "string",
        "deterministic": true,
        "disclaimer": "string",
        "price_usd": "string",
        "request_id": "string",
        "sources": [
          {}
        ]
      },
      "ok": null,
      "route": null,
      "version": "string"
    },
    "type": "string"
  }
}