Expand an RFC 5545 recurrence rule into concrete occurrence timestamps
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 F…
by api.duoleads.com · discovered, not yet claimed by its owner · updated 2026-10-01
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
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.
Tags: deterministic · no-api-key · time · calendar · recurrence · bazaar
Call contract
- Method
- GET
- Input
- query parameters
- Output
- json
- Last paid call
- 2026-10-01
{
"dtstart": "2026-01-01T09:00:00",
"rrule": "FREQ=MONTHLY;BYDAY=-1FR;COUNT=3",
"zone": "Europe/Amsterdam"
}{
"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"
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/36318.jsonfor the price and payment options. - Pay. Call
GET https://api.duoleads.com/v1/time/rrule. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.05 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base
- Demand
- 2 calls · 1 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.05 | 0xCD673f7e1daD254347AEab6be0DEFe8b9C6b3A39 | 120s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xCD673f7e1daD254347AEab6be0DEFe8b9C6b3A39",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "50000",
"amountUsd": 0.05,
"maxTimeoutSeconds": 120
}
]Schemas
Output schema (JSON Schema)
{
"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"
}Example shape — generated from the schema, not a captured live response
{
"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"
}Examples
curl "https://api.duoleads.com/v1/time/rrule"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidconst res = await fetch("https://api.duoleads.com/v1/time/rrule");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
res = httpx.get("https://api.duoleads.com/v1/time/rrule")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- api.duoleads.com
- Endpoint
- https://api.duoleads.com/v1/time/rrule
- Machine-readable
/resources/36318.json