{"uid":"cap_uEfMTzZbSPzIz7K7E3OVy","slug":"gregorian-to-jalali-date-converter-farsi-tools-c00e6ee4","name":"Gregorian to Jalali Date Converter (Farsi Tools)","description":"Persian (Farsi) and Iranian utility API for AI agents. Text normalization, transliteration, Jalali (Solar Hijri) calendar conversion, Persian digits and number-to-words, Iranian national ID / Sheba (IBAN) / mobile / landline / postal code / bank card (Luhn PAN) / company ID / economic code validators, Iranian provinces and cities, official Jalali holidays, Rial-Toman conversion. Also a FIXED-PRICE deliverable SKU: Persian/Arabic data cleanup at $0.90, $9 or $25 flat per file (not per call) - upload a CSV, TSV or text file and get it back normalized, with an optional Latin transliteration column. Pay per request in USDC on Base via x402 - no signup, no API key, no KYC.","url":"https://farsi-tools.johnaio281.workers.dev/api/fa/gregorian-to-jalali?utm_source=zero.xyz","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":["year","month","day"],"properties":{"day":{"type":"integer","maximum":31,"minimum":1},"year":{"type":"integer"},"month":{"type":"integer","maximum":12,"minimum":1}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"jalali":"1405/07/29","weekday":3,"monthName":"مهر"}},"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_tu2WxWJPj4MgaSRtut7yJ","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 a Gregorian calendar date (year, month, day) to its Persian (Jalali/Shamsi) equivalent, returning the Jalali date string, weekday number, and Persian month name.","exampleAgentPrompt":"What is October 20, 2025 in the Persian Jalali calendar? Give me the Jalali date, the Persian month name, and the weekday number.","exampleUseCases":[{"title":"Convert a birthday to Persian calendar","prompt":"My friend's birthday is March 3, 1990 in the Gregorian calendar — what is that date in the Jalali (Persian/Shamsi) calendar, and what Persian month does it fall in?"},{"title":"Display today's date in Farsi app","prompt":"Convert today's date, November 12, 2025, to Jalali so I can show users the Persian calendar date in my app."},{"title":"Schedule Iranian new year event","prompt":"What Jalali date corresponds to March 20, 2026 in the Gregorian calendar, and what is the Persian month name for it?"}],"resultDescription":"A JSON object containing: `jalali` (the Jalali date as a string in YYYY/MM/DD format, e.g. '1405/07/29'), `weekday` (an integer representing the day of the week), and `monthName` (the Persian name of the month, e.g. 'مهر').","failureModes":["Missing required query parameter (year, month, or day) returns an error","Out-of-range month (not 1-12) or day (not 1-31) returns a validation error","Invalid integer values for date components return a parsing error","Payment not provided or insufficient USDC balance triggers a 402 Payment Required response"],"whenToPreferThis":"Use this endpoint when you need to convert a specific Gregorian date to its Jalali (Persian/Shamsi) calendar equivalent, especially when building apps targeting Iranian users, displaying Persian dates, or performing calendar-aware scheduling for Iran. Prefer this over manual computation or locale libraries when you need the authoritative Persian month name in Farsi script alongside the numeric date.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T00:35:04.158Z","isFirstParty":false,"canonicalSlug":"gregorian-to-jalali-date-converter-farsi-tools-c00e6ee4"}