{"uid":"cap_JIkJdnJ1bNRUdld3pJXkC","slug":"writerslogic-calendar-converter-e94673ad","name":"WritersLogic Calendar Converter","description":"Pay-per-call agents settled in USDC on Base via x402. Every response carries a signed provenance envelope.","url":"https://agents.writerslogic.com/api/v1/calendar-convert?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"to":{"type":"array","items":{"enum":["hebrew","persian","ethiopic","islamic-umalqura","islamic-civil","islamic-tbla","islamic-icu","hijri-all"],"type":"string"},"maxItems":8,"description":"Calendars to convert into; hijri-all returns Umm al-Qura, tabular civil and ICU astronomical (add islamic-tbla explicitly; it differs from civil by its epoch) and fails when they disagree. Default: all non-Hijri plus hijri-all."},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10,"description":"convert: Gregorian date. Exactly one of date or from."},"from":{"type":"object","required":["calendar","year","month","day"],"properties":{"day":{"type":"integer","maximum":30,"minimum":1},"year":{"type":"integer","maximum":9999,"minimum":1},"month":{"type":"integer","maximum":13,"minimum":1,"description":"Numeric month. Hebrew follows ICU: Tishri=1; leap years have Adar I=6, Adar II=7, Nisan=8 ... Elul=13; common years have Adar=6, Nisan=7 ... Elul=12."},"calendar":{"enum":["hebrew","persian","ethiopic","islamic-umalqura","islamic-civil","islamic-tbla","islamic-icu"],"type":"string"}}},"mode":{"enum":["convert","easter"],"type":"string"},"years":{"type":"array","items":{"type":"integer","maximum":2999,"minimum":1583},"maxItems":60,"minItems":1,"description":"easter: Gregorian years."},"feasts":{"type":"boolean","description":"easter: also list Ash Wednesday, Good Friday, Ascension, Pentecost and other moveable feasts."}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.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_ZqwQ77rWI_BsWwv1gidRb","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts dates between Gregorian, Hebrew, Persian, Ethiopian, and multiple Hijri calendar systems, and computes Western and Orthodox Easter with optional moveable feasts for a given year range.","exampleAgentPrompt":"Convert March 15, 2025 (Gregorian) to Hebrew, Persian, Ethiopian, and all Hijri variants, and flag if any Hijri variants disagree on the day.","exampleUseCases":[{"title":"Multi-calendar date lookup for contract","prompt":"I need to know what March 15, 2026 is in the Hebrew, Persian, and Islamic (Umm al-Qura) calendars — convert it to all three for me."},{"title":"Easter planning for interfaith event","prompt":"What are the Western and Orthodox Easter dates for 2025 through 2030, and can you also include Ash Wednesday, Pentecost, and Ascension Day for each year?"},{"title":"Hijri date with variant comparison","prompt":"Convert today's date, 2025-07-10, into all Hijri calendar variants and let me know if any of them disagree on the day."}],"resultDescription":"Returns the input date expressed in each requested target calendar (year, month, day, and calendar name), Hijri variant labels (Umm al-Qura, tabular civil, tabular astronomical-epoch, ICU astronomical) with a flag when variants disagree, or for Easter mode a list of Western and Orthodox Easter dates per year with optional moveable feast dates (Ash Wednesday, Good Friday, Ascension, Pentecost, Trinity Sunday, Corpus Christi where applicable). Notes that Hebrew/Hijri days start at sunset, not midnight, and that Islamic observance dates may differ from computed dates.","failureModes":["Date out of supported range (1900–2100 Gregorian) returns an error","Invalid calendar enum value rejected","Hijri variant disagreement flagged rather than silently resolved","Missing required field (date or from) causes validation error","Conflicting input (both date and from supplied) rejected","Easter mode requires years array; omitting it returns an error","Year value outside 1583–2999 range for Easter mode rejected"],"whenToPreferThis":"Use this endpoint when you need authoritative, multi-variant calendar conversion between Gregorian and Hebrew, Persian, Ethiopian, or Islamic calendars, especially when you need Hijri variant disambiguation or disagreement detection. Also use it for computing Western and/or Orthodox Easter dates with moveable feasts across multiple years. It is better than generic date libraries when you need explicit Hijri variant labeling (Umm al-Qura vs tabular civil vs astronomical) and disagreement flagging, or when you need both computus traditions for Easter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T06:38:18.647Z","isFirstParty":false,"canonicalSlug":"writerslogic-calendar-converter-e94673ad"}