{"uid":"cap_JzLBA1xPodjVEHxQgNExW","slug":"lunar-solar-date-converter-vietnamese-chinese-calendar-0f8c575d","name":"Lunar-Solar Date Converter (Vietnamese/Chinese Calendar)","description":"Convert between solar (Gregorian) and Vietnamese/Chinese lunar dates, both directions, 1900-2100, with leap month support. Returns Can Chi of the day. Essential for birthday lookup, ancestor worship dates (ngay gio) and traditional holidays.","url":"https://lunar-api-production-cba9.up.railway.app/v1/lunar/convert","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["date"],"properties":{"date":{"type":"string","description":"YYYY-MM-DD"},"leap":{"type":"string","description":"1 if lunar month is leap (lunar2solar only)"},"direction":{"enum":["solar2lunar","lunar2solar"],"type":"string","description":"default solar2lunar"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"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_iDRJuYlKzLK0HDO16S9ib","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 between Gregorian solar dates and Vietnamese/Chinese lunar calendar dates in both directions, with Can Chi and leap month support","exampleAgentPrompt":"What is the Vietnamese lunar calendar date for March 15, 2025, including the Can Chi for that day? Convert solar to lunar.","exampleUseCases":null,"resultDescription":"Returns the corresponding lunar calendar date with month, day, year, Can Chi (heavenly stems and earthly branches), and leap month status for the given solar date — or the Gregorian equivalent for a given lunar date.","failureModes":["Date out of supported range (1900-2100) returns an error","Missing required 'date' query parameter returns 400 bad request","Invalid date format (not YYYY-MM-DD) returns parsing error","Invalid direction enum value returns validation error","Leap month flag provided for non-leap lunar month returns error or unexpected result"],"whenToPreferThis":"Use this endpoint when you need precise bidirectional conversion between Gregorian and Vietnamese/Chinese lunar dates, especially when Can Chi (heavenly stems/earthly branches) is needed, when handling leap lunar months, or when computing traditional Vietnamese dates like ngay gio (death anniversaries) or birthdays in the lunar calendar.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:36:40.074Z","isFirstParty":false}