Helenis API
Start for free

BusinessMarketing Calendar

Marketing Calendar API: Retail Holidays and Campaign Ideas by Country

Marketing calendar API guide: Black Friday, Mother's Day and Ramadan dates by country, campaign start dates, AI ideas and local-language greetings in Python.

Holiday Marketing Calendar API cover: a calendar sticker, an arrow and a JSON response for Black Friday on 2026-11-27, importance high, campaign start 2026-10-30 and promotion fit promote.
Black Friday in France: two days away, campaign start a month earlier, a subject line in French.

A CRM team selling in five countries needs a calendar that public holiday APIs do not provide. Those APIs list the days shops close; campaigns run on Black Friday, Singles' Day, Mother's Day, Ramadan and Diwali. Mother's Day alone falls on at least five different dates depending on the country, and in France it can move by a week because of Pentecost. Teams end up maintaining a spreadsheet per market, copied from blog posts every January.

A marketing calendar API computes those dates by rule for each country and adds the planning data around them: importance, the date to start the campaign, and, on request, AI-written guidance with campaign ideas and a greeting in the local language. This article explains why retail dates are harder than public holidays, then uses the Holiday Marketing Calendar API from Python to build a multi-country plan, with real responses throughout.

Why retail dates are harder than public holidays

Public holidays are set by law and published; retail moments follow custom, and custom differs by country.

Event Rule 2026 date
Mother's Day, United States and Mexico 2nd Sunday of May (US); 10 May every year (MX) 10 May in both
Mother's Day, France Last Sunday of May, moved to the first Sunday of June when it falls on Pentecost 31 May
Mothering Sunday, United Kingdom 4th Sunday of Lent (Easter minus 21 days) 15 March
Mother's Day, Arab world 21 March 21 March
Father's Day, Germany Ascension Day 14 May
Father's Day, Brazil 2nd Sunday of August 9 August
French winter and summer sales Set by decree: a Wednesday in January and one in late June, 4 weeks 7 January and 24 June

Black Friday is renamed "White Friday" in the Gulf, where Friday is the holy day of the week. Singles' Day (11.11) matters across East and Southeast Asia, where 9.9, 10.10 and 12.12 have followed. Ramadan, Eid, Diwali and Lunar New Year follow lunar or lunisolar calendars, and Islamic dates depend on the sighting of the moon, so they can move by a day.

The API combines the official public holidays of 250 countries (with their local names) and more than 40 retail moments computed by rule, then merges duplicates: Christmas is one event in France, carrying both the marketing name and the official "Noël".

Upcoming events with campaign ideas

GET /v1/holiday-marketing/upcoming returns the coming events of a country in date order. Ideas are on by default; limit caps the number of events and days the horizon. The examples use Python and requests; the API reference lists every parameter.

Python
import requests

HOST = "holiday-marketing-calendar-ideas-greetings.p.rapidapi.com"
API = f"https://{HOST}"
HEADERS = {"x-rapidapi-key": "YOUR_API_KEY", "x-rapidapi-host": HOST}


def calendar_api(path: str, **params) -> dict:
    response = requests.get(
        f"{API}/v1/holiday-marketing/{path}",
        headers=HEADERS,
        params=params,
        timeout=60,
    )
    response.raise_for_status()
    return response.json()


france = calendar_api("upcoming", country="FR", date="2026-11-25", days=45, limit=3)
for event in france["events"]:
    print(event["date"], event["name"], event["marketing"]["email_subject"])

With curl:

Terminal
curl "https://holiday-marketing-calendar-ideas-greetings.p.rapidapi.com/v1/holiday-marketing/upcoming?country=FR&date=2026-11-25&days=45&limit=3" \
  -H "x-rapidapi-key: YOUR_API_KEY" \
  -H "x-rapidapi-host: holiday-marketing-calendar-ideas-greetings.p.rapidapi.com"

The real response, with the first event in full and the others shortened:

JSON
{
  "country": "FR",
  "country_name": "France",
  "language": "en",
  "local_language": "fr",
  "start": "2026-11-25",
  "end": "2027-01-08",
  "count": 3,
  "ai_events": 3,
  "events": [
    {
      "id": "black-friday",
      "name": "Black Friday",
      "type": "shopping",
      "importance": "high",
      "date": "2026-11-27",
      "weekday": "Friday",
      "days_until": 2,
      "campaign_start": "2026-10-30",
      "public_holiday": false,
      "estimated": false,
      "rule": "Friday after the US Thanksgiving (4th Thursday of November)",
      "marketing": {
        "local_name": "Black Friday",
        "meaning": "Black Friday is a major commercial event in France, marking the start of the holiday shopping season with significant discounts across all retail sectors.",
        "commercial_impact": "It is the biggest shopping day of the year, driving massive traffic to both physical stores and e-commerce websites. Expect high demand for electronics, fashion, and home goods, with logistics networks operating at peak capacity.",
        "impact_tags": ["discounts", "electronics", "fashion", "home"],
        "promotion_fit": "promote",
        "campaign_ideas": [
          "Launch a countdown series of 'teaser' deals starting in early November to build anticipation.",
          "Implement a tiered discount structure where loyalty members get early access to the best offers.",
          "Use SMS and email to highlight 'limited stock' alerts to drive urgency during the final 48 hours."
        ],
        "email_subject": "Black Friday : nos meilleures offres sont là ! ⚡",
        "email_subject_translation": "Black Friday: our best offers are here! ⚡",
        "greeting": "Profitez de nos offres exceptionnelles pour préparer vos cadeaux de fin d'année.",
        "greeting_translation": "Take advantage of our exceptional offers to prepare your end-of-year gifts.",
        "audience": "Target bargain hunters and customers who have previously engaged with seasonal sales or abandoned carts."
      }
    },
    {
      "id": "cyber-monday",
      "name": "Cyber Monday",
      "date": "2026-11-30",
      "campaign_start": "2026-11-02",
      "marketing": { "email_subject": "Cyber Monday : les dernières promos en ligne 💻", "...": "..." }
    },
    {
      "id": "christmas",
      "name": "Christmas",
      "type": "gifting",
      "importance": "high",
      "date": "2026-12-25",
      "days_until": 30,
      "campaign_start": "2026-11-10",
      "public_holiday": true,
      "holiday_name": "Noël",
      "marketing": {
        "local_name": "Noël",
        "campaign_ideas": [
          "Create curated gift guides categorized by personality or budget to simplify the shopping experience.",
          "Promote digital gift cards as a perfect solution for last-minute shoppers who fear shipping delays.",
          "Send a 'guaranteed delivery' cutoff reminder to ensure customers order before the shipping deadline."
        ],
        "email_subject": "Noël : trouvez le cadeau parfait 🎁",
        "greeting": "Toute notre équipe vous souhaite de merveilleuses fêtes de fin d'année entouré de vos proches.",
        "greeting_translation": "Our entire team wishes you a wonderful holiday season surrounded by your loved ones.",
        "...": "..."
      }
    }
  ],
  "note": "National holidays only. Dates marked estimated follow the moon or an annual announcement."
}

The call used 15 credits: 5 for each of the 3 events with guidance. The guidance is in English (language), while the subject and greeting are in French, the market's language, each with a translation so a non-French speaker can review it. campaign_start applies the usual lead time: four weeks before Black Friday, 45 days before Christmas.

A year of dates for 1 credit

Planning starts with dates, and dates do not need AI. GET /v1/holiday-marketing/calendar returns a year (or one month) without ideas by default, for 1 credit per call. Filter with types and min_importance. The United Arab Emirates in 2027, high-importance events only:

JSON
{
  "country": "AE",
  "country_name": "United Arab Emirates",
  "local_language": "ar",
  "start": "2027-01-01",
  "end": "2027-12-31",
  "count": 8,
  "ai_events": 0,
  "events": [
    {
      "id": "ramadan",
      "name": "Ramadan",
      "type": "religious",
      "importance": "high",
      "date": "2027-02-08",
      "start_date": "2027-02-08",
      "end_date": "2027-03-08",
      "campaign_start": "2027-01-18",
      "public_holiday": false,
      "estimated": true,
      "rule": "9th month of the Islamic calendar, until Eid al-Fitr"
    },
    { "id": "eid-al-fitr", "name": "Eid al-Fitr", "date": "2027-03-09", "public_holiday": true, "holiday_name": "عيد الفطر", "estimated": true },
    { "id": "mothers-day", "name": "Mother's Day", "date": "2027-03-21", "rule": "March 21" },
    { "id": "eid-al-adha", "name": "Eid al-Adha", "date": "2027-05-16", "estimated": true },
    { "id": "fathers-day", "name": "Father's Day", "date": "2027-06-21", "rule": "June 21" },
    { "id": "back-to-school", "name": "Back to school", "date": "2027-08-10", "end_date": "2027-08-31", "estimated": true },
    { "id": "black-friday", "name": "White Friday", "date": "2027-11-26", "campaign_start": "2027-10-29" },
    { "...": "..." }
  ]
}

Periods carry start_date and end_date (Ramadan, back to school, the sales). estimated: true marks dates that follow the moon or an annual announcement: plan around them, and confirm the week before. The same call for India from August to November 2027 returns Raksha Bandhan, Janmashtami, Dussehra and Diwali as a five-day period from Dhanteras (27 October) to Bhai Dooj (31 October), with its campaign starting on 27 September. It also shows how coinciding days are reported: Children's Day on 14 November 2027 falls on Guru Nanak's Birthday, a public holiday, and stays a separate event that keeps its own flag:

JSON
{
  "id": "childrens-day",
  "name": "Children's Day",
  "type": "gifting",
  "importance": "medium",
  "date": "2027-11-14",
  "weekday": "Sunday",
  "days_until": 105,
  "campaign_start": "2027-10-24",
  "public_holiday": false,
  "same_day_holiday": "Guru Nanak's Birthday",
  "estimated": false,
  "rule": "November 14"
}

public_holiday: false says Children's Day itself is not a day off; same_day_holiday warns that shops and offices may be closed that day anyway.

A multi-market plan in a few calls

One calendar call per country gives the whole year's campaign starts:

Python
markets = ["FR", "DE", "MX", "AE"]
plan = []
for country in markets:
    year = calendar_api("calendar", country=country, year=2027, min_importance="high")
    for e in year["events"]:
        plan.append((e["campaign_start"], e["date"], country, e["name"]))

for start, date, country, name in sorted(plan):
    print(f"{start}  start  {country}  {name} ({date})")

Four markets, four credits, one sorted list of when each campaign must start. From there, fetch ideas only for the events you are about to work on.

One event in depth: ideas and a local greeting

GET /v1/holiday-marketing/event returns one event of one country with its guidance, for 5 credits. Mother's Day in Mexico, 2027:

JSON
{
  "country": "MX",
  "country_name": "Mexico",
  "language": "en",
  "local_language": "es",
  "event": {
    "id": "mothers-day",
    "name": "Mother's Day",
    "type": "gifting",
    "importance": "high",
    "date": "2027-05-10",
    "weekday": "Monday",
    "campaign_start": "2027-04-19",
    "public_holiday": false,
    "estimated": false,
    "rule": "May 10",
    "marketing": {
      "local_name": "Día de las Madres",
      "meaning": "This is one of the most important celebrations in Mexico, dedicated to honoring mothers with family gatherings and gifts. It is a deeply emotional day where restaurants are fully booked and families prioritize spending time together.",
      "commercial_impact": "This is a massive retail peak for flowers, jewelry, perfumes, electronics, and home appliances. Expect heavy traffic in physical stores and significant pressure on logistics, so early ordering is heavily promoted to avoid delivery delays.",
      "impact_tags": ["gifting", "family", "food", "fashion"],
      "promotion_fit": "promote",
      "campaign_ideas": [
        "Launch a gift guide segmenting products by personality type to help customers find the perfect present.",
        "Offer free expedited shipping or guaranteed delivery dates for orders placed before May 7th.",
        "Run a social media contest encouraging users to share stories about their mothers to increase brand engagement."
      ],
      "email_subject": "¡Consiente a mamá como se merece! 💐",
      "email_subject_translation": "Spoil mom the way she deserves! 💐",
      "greeting": "En este Día de las Madres, celebramos a quienes nos dan todo su amor. ¡Gracias por ser parte de nuestra familia!",
      "greeting_translation": "This Mother's Day, we celebrate those who give us all their love. Thank you for being part of our family!",
      "audience": "Target all customers with a focus on gift-givers, including children and partners looking for high-value items."
    }
  }
}

The date is 10 May whatever the weekday, which is the Mexican custom; a US-centric calendar would have said 9 May, the second Sunday. For Ramadan in the Emirates, the same call returns an Arabic subject line, "رمضان كريم: عروض خاصة لاستقبال الشهر الفضيل 🌙", translated as "Ramadan Kareem: Special offers to welcome the holy month 🌙", ideas built around hosting, iftar and suhoor bundles and a charity tie-in, and promotion_fit: "promote".

promotion_fit is the field to read before planning a sale: promote, soft (acknowledge the day, no hard selling) or avoid (days of remembrance where a discount would offend). Set language for the guidance (49 languages) and local_language to force the language of the subject and greeting, for example English copy for an expatriate audience.

Which events a country has

GET /v1/holiday-marketing/events?country=GB lists the retail moments computed for a country, with their rule and lead time, for 1 credit. For the UK it returns 13, including mothers-day ("Mothering Sunday: 4th Sunday of Lent (Easter - 21 days)"), fathers-day ("3rd Sunday of June"), boxing-day and giving-tuesday. Asking /event for something a country does not mark returns 404 event_not_found, unbilled, and the message lists what it does mark: there is no singles-day in France, and the 22 French events include winter-sales and summer-sales.

Reviewing AI copy before it ships

The guidance is written by an AI model and cached per country, event, date and languages, so repeated calls usually return the same text quickly; when the cache is renewed, the wording can change while the dates stay the same. It is told to describe mechanics and timing and never to invent discounts, statistics, brands or people; that is why the ideas above talk about early access, delivery cutoffs and gift guides rather than percentages. Treat the output as a first draft from a well-informed colleague, because drafts have flaws. In the real responses above, the French Christmas greeting writes "entouré de vos proches" where French grammar wants "entourés", and the Black Friday guidance calls it "the biggest shopping day of the year" in France, a claim your team may not want to repeat:

  • Read the translation fields, and have a native speaker read the original, before sending copy in a language your team does not speak.
  • Check estimated dates a week ahead, especially Islamic ones.

The calendar's dates are computed by code from published rules; only the marketing block comes from the model. For working-day maths around these dates, such as last shipping days before Christmas, the public holidays and working days guide covers regional holidays and due dates, and the SMS send time guide covers when each recipient may receive the campaign.

What it costs

1 credit per call without AI (a whole year of dates included); 5 credits per event returned with guidance. A call can add guidance to 40 events at most (3 on the free plan). Failed calls (4xx, 5xx) use no credits.

Plan Price per month Credits In practice
BASIC Free 15 per day 15 date calls, or 3 events with ideas
PRO $4.99 10,000 10,000 date calls or 2,000 events with ideas
ULTRA $14.99 30,000 30,000 date calls or 6,000 events with ideas
MEGA $49.99 100,000 100,000 date calls or 20,000 events with ideas

Beyond the monthly quota, paid plans continue at $0.005 per credit. On PRO, a date call costs about $0.0005 and an event with ideas about $0.0025.

What the marketing calendar API does not do

  • No regional holidays. Public holidays are national; for a German Land or a US state, use a holiday API with subdivisions.
  • No dates announced each year. Amazon Prime Day, Mexico's Hot Sale or Chile's CyberDay are set by companies or trade bodies every year and are not covered. El Buen Fin and the Super Bowl are, marked estimated.
  • No sending or scheduling. It tells you when and what; your email or SMS platform sends.
  • No guaranteed copy. AI text can contain an occasional error, especially in less common languages; review it like any draft.
  • No performance data. There are no conversion rates or spending figures, by design.
  • Bounded years. 2015 to 2035, the range of the lunar and Hindu calendar tables used.

Frequently asked questions

How do I get Black Friday and Cyber Monday dates by API?

Call GET /v1/holiday-marketing/calendar?country=...&year=...&types=shopping without ideas: 1 credit returns every shopping event of the year for that country, with campaign_start. Black Friday is the Friday after the fourth Thursday of November, and appears as "White Friday" in Gulf countries.

When is Mother's Day in each country?

It depends on local custom: 10 May every year in Mexico, the second Sunday of May in the US, the last Sunday of May in France (first Sunday of June when Pentecost takes that day), the fourth Sunday of Lent in the UK, 21 March in much of the Arab world. GET /v1/holiday-marketing/event?country=...&event=mothers-day returns the date for any covered country and year.

Are Ramadan and Diwali dates exact?

They come from published lunar and Hindu calendar tables and are marked estimated: true, because the start of an Islamic month depends on the sighting of the moon and can shift by a day. Plan the campaign on the given dates and confirm the week before.

How is this different from a public holidays API?

A holiday API answers "is the office closed?". A marketing calendar answers "when do people buy?": it adds retail days, campaign start dates, importance and optional copy, and keeps public holidays because closures matter to campaigns too.

Can I get the campaign ideas in my language and the greeting in the customer's?

Yes. language sets the language of the guidance and local_language the language of the subject and greeting (by default, the country's main language); every subject and greeting comes with a translation into language.

Get started

Holiday Marketing Calendar API

Marketing calendar for any country: holidays, Black Friday, Mother's Day, AI campaign ideas.

  • Marketing Calendar
  • Email Marketing
  • Ecommerce
  • Python
  • LLM