Helenis API
Start for free

API reference

SMS Send Time API

Can I text this number now? Local time, quiet hours, legal windows, holidays, next send slot.

Host
sms-send-time-local-time-quiet-hours-holidays.p.rapidapi.com
Base path
/v1/send-time
Auth
X-RapidAPI-Key, X-RapidAPI-Host
For agents
openapi.json · send-time.md

Send Time

Can this number be texted or called now? If not, when? One or up to 100.

Check Send Time

GET /v1/send-time/check

Can I text or call this number now? If not, when?. Check whether a phone number can be texted or called now under the country rule, a preset or your own hours, days and holidays: local time and zone, why not, and the next allowed moment (UTC and local). Every time zone of the number is checked. Offline, instant. 1 credit.

Parameters of Check Send Time
ParameterInTypeDescription
number required query string Phone number in any format: +1 212 555 0142, 0044..., or a national number with the country parameter.
country query string ISO country for a number written without +country code.
channel query "sms" | "call" sms (texts, WhatsApp, RCS) or call. Default sms.
policy query string auto: the country's legal or industry window when one is built in, else daytime (09:00-20:00). Or a preset id from Get Send Time Policies. Default auto.
hours query string Your own window, local time: up to 4 ranges, e.g. 09:00-12:00,14:00-19:30.
days query string Your own days: mon-fri, mon,wed,sat, all or workdays (the country's working days).
skip_holidays query boolean Avoid the country's public holidays (default: the preset's rule; true for your own window).
local_rules query boolean Also respect the country's built-in legal or industry window on top of yours. Default True.
at query string Check this moment instead of now (ISO 8601, UTC when no offset).
curl -G "https://sms-send-time-local-time-quiet-hours-holidays.p.rapidapi.com/v1/send-time/check" \
  --data-urlencode "number=+1 212 555 0142" \
  --data-urlencode "at=2026-11-26T11:30:00Z" \
  -H "X-RapidAPI-Key: YOUR_API_KEY" \
  -H "X-RapidAPI-Host: sms-send-time-local-time-quiet-hours-holidays.p.rapidapi.com"

Check Send Time in Bulk

POST /v1/send-time/check/bulk

Send-time check for up to 100 numbers. The same check for up to 100 numbers with one window, in order, with a summary: how many can be reached now, how many must wait, how many are invalid. Schedule each message at its `send_at_utc`. 1 credit per number.

Parameters of Check Send Time in Bulk
ParameterInTypeDescription
channel body "sms" | "call" sms (texts, WhatsApp, RCS) or call: some countries only regulate one of them. Default sms.
policy body string auto (default): the country's legal or industry window for the channel when one is built in, else daytime. Or one preset id from Get Send Time Policies (daytime, business, us-tcpa, fr-calls...). Default auto.
hours body string Your own window, local time: up to 4 ranges such as 09:00-12:00,14:00-19:30 (end 24:00 allowed). Replaces the preset's hours.
days body string Your own days: mon-fri, mon,wed,sat, all, or workdays (the country's working days: Sunday-Thursday in Saudi Arabia).
skip_holidays body boolean Avoid the public holidays of each number's country. Defaults to the preset's rule (true for a custom window).
local_rules body boolean Also respect the country's built-in legal or industry window (US TCPA, France, Spain, Canada, Australia) on top of your own: the result is never wider than the rule. Default True.
at body string Check this moment instead of now (ISO 8601; UTC when no offset). For scheduling a campaign.
numbers required body string[] Up to 100 phone numbers, any format.
country body string ISO country for numbers written without +country code.
curl -X POST "https://sms-send-time-local-time-quiet-hours-holidays.p.rapidapi.com/v1/send-time/check/bulk" \
  -H "X-RapidAPI-Key: YOUR_API_KEY" \
  -H "X-RapidAPI-Host: sms-send-time-local-time-quiet-hours-holidays.p.rapidapi.com" \
  -H "Content-Type: application/json" \
  -d '{
    "channel": "sms",
    "policy": "auto",
    "hours": "09:00-20:00",
    "days": "mon-sat",
    "local_rules": true,
    "at": "2026-11-26T15:00:00Z",
    "numbers": [
      "+1 212 555 0142",
      "+33 6 12 34 56 78",
      "+61 412 345 678"
    ],
    "country": "US"
  }'

Policies

Built-in legal and industry windows by country, with sources.

Get Send Time Policies

GET /v1/send-time/policies

Built-in calling and texting windows, with their sources. Every preset: id, countries where `auto` applies it, channels, hours by weekday, whether public holidays are avoided, and the law or code it comes from. Informational, not legal advice. 1 credit.

curl -G "https://sms-send-time-local-time-quiet-hours-holidays.p.rapidapi.com/v1/send-time/policies" \
  -H "X-RapidAPI-Key: YOUR_API_KEY" \
  -H "X-RapidAPI-Host: sms-send-time-local-time-quiet-hours-holidays.p.rapidapi.com"

Response

{
  "input": "+1 212 555 0142",
  "valid": true,
  "e164": "+12125550142",
  "region": "US",
  "country": "United States",
  "line_type": "fixed_line_or_mobile",
  "timezone": "America/New_York",
  "timezones": [
    "America/New_York"
  ],
  "local_time": "2026-11-26T06:30:00-05:00",
  "local_weekday": "Thursday",
  "holiday": {
    "date": "2026-11-26",
    "name": "Thanksgiving Day"
  },
  "allowed_now": false,
  "reason": "before_hours",
  "reason_text": "06:30 on Thursday in New York: too early, the window opens at 08:00. Next window: today at 08:00 local time.",
  "send_at_utc": "2026-11-26T13:00:00Z",
  "send_at_local": "2026-11-26T08:00:00-05:00",
  "window_ends_utc": "2026-11-27T02:00:00Z",
  "window_ends_local": "2026-11-26T21:00:00-05:00",
  "wait_minutes": 90,
  "rules": [
    {
      "id": "us-tcpa",
      "name": "USA: TCPA calling hours",
      "kind": "law",
      "hours": "Every day 08:00-21:00",
      "skip_holidays": false,
      "source": "47 CFR 64.1200(c)(1) (Telephone Consumer Protection Act)"
    }
  ],
  "notes": [
    "Several US states are stricter than the TCPA (an 8 p.m. end, Sunday or holiday limits): pass hours=09:00-20:00 to stay inside all of them.",
    "Thanksgiving Day today in United States: allowed by the rules applied, but many people are off."
  ]
}

From a real response. The same number on Armistice Day in France with channel=call would come back "reason": "holiday": "Armistice Day, a public holiday in France: no sending on public holidays under France: telemarketing calls. Next window: tomorrow at 10:00 local time."

Bulk

curl -X POST "https://sms-send-time-local-time-quiet-hours-holidays.p.rapidapi.com/v1/send-time/check/bulk" \
  -H "Content-Type: application/json" \
  -H "X-RapidAPI-Key: YOUR_API_KEY" -H "X-RapidAPI-Host: sms-send-time-local-time-quiet-hours-holidays.p.rapidapi.com" \
  -d '{"numbers": ["+1 212 555 0142", "06 12 34 56 78", "+61 412 345 678", "12345"], "country": "FR", "channel": "call", "at": "2026-11-27T13:30:00Z"}'
{
  "checked_at": "2026-11-27T13:30:00Z",
  "results": [
    { "input": "+1 212 555 0142", "allowed_now": true, "reason": "allowed", "send_at_utc": "2026-11-27T13:30:00Z", "window_ends_local": "2026-11-27T21:00:00-05:00", "...": "..." },
    { "input": "06 12 34 56 78", "allowed_now": true, "reason_text": "14:30 on Friday in Paris: inside the window (10:00-13:00, 14:00-20:00) until 20:00.", "...": "..." },
    { "input": "+61 412 345 678", "allowed_now": false, "reason": "after_hours", "timezones": ["Australia/Adelaide", "Australia/Brisbane", "Australia/Eucla", "Australia/Lord_Howe", "Australia/Perth", "Australia/Sydney"], "send_at_utc": "2026-11-28T01:00:00Z", "...": "..." },
    { "input": "12345", "valid": false, "reason": "invalid_number", "...": "..." }
  ],
  "summary": { "allowed_now": 2, "wait": 1, "invalid": 1 },
  "notice": "Informational, not legal advice: rules change and have exceptions (consent, existing customers, B2B, state laws). Check them for your case."
}

Each number gets its own country's rule. Schedule each message at its send_at_utc.

Why developers pick this API

  • 🧩 One call instead of four: phone parsing, time zone lookup, holiday calendar and legal hours usually mean four providers and your own glue code. Here it is one answer per number.
  • 💸 Priced like a lookup, not a compliance suite: about $0.0002 per number on PRO, where phone lookups giving a time zone charge $0.0006 to $0.05 and still leave the rules to you.
  • ⚡ Instant and private: numbering plans, time zones and holidays run inside the API. No SMS, no call, no network lookup: the person never knows.
  • 🔍 Explainable: every answer lists the rules applied, with the law or code they come from (47 CFR 64.1200(c)(1), Code de la consommation D. 223-9...).
  • 🧾 Pay for answers only: failed calls (4xx, 5xx) use 0 credits.

Built-in windows

policy Where auto uses it Window (local time) Source
us-tcpa US and territories, SMS and calls Every day 08:00-21:00 47 CFR 64.1200(c)(1)
ca-crtc Canada, calls Mon-Fri 09:00-21:30, Sat-Sun 10:00-18:00 CRTC Unsolicited Telecommunications Rules
fr-calls France and overseas departments, calls Mon-Fri 10:00-13:00 and 14:00-20:00, no public holidays Code de la consommation, D. 223-9
fr-sms France, SMS Mon-Sat 08:00-21:30, no public holidays af2m Business Messaging charter 2026
es-calls Spain, calls Mon-Fri 09:00-21:00, no public holidays TRLGDCU art. 96.2
au-calls Australia, calls Mon-Fri 09:00-20:00, Sat 09:00-17:00, no public holidays Telemarketing and Research Calls Industry Standard 2017
daytime Everywhere else Every day 09:00-20:00, no public holidays Good practice
business Never automatic 09:00-18:00 on the country's working days Good practice

Pass your own hours and days instead: with local_rules=true (the default) the country's rule still applies on top, so your window can only get narrower. Get Send Time Policies returns this table as JSON.

Reasons

reason Meaning
allowed Inside the window in every possible time zone
before_hours / after_hours Too early or too late today
between_hours In the break between two ranges (13:00-14:00 in France)
weekend A day off in that country (its own weekend)
day_excluded A day you left out of days
holiday A public holiday, named in holiday
invalid_number / unknown_timezone Not a valid number, or a satellite or global number with no time zone (allowed_now is null)

Errors

Status code Meaning
400 invalid_country country is not an ISO 3166 two-letter code.
400 invalid_policy Unknown policy: see Get Send Time Policies.
400 invalid_hours / invalid_days A range like 21:00-07:00 (split it at midnight) or an unknown day.
400 invalid_time at outside 2000-2099.
400 invalid_request Missing number, more than 100 numbers, or a preset policy together with your own hours.
429 daily_limit_reached Daily safety limit of your plan; resets at 00:00 UTC.

A malformed number is not an error: it comes back with "reason": "invalid_number".

Use it from an AI agent

Add this MCP server and the SMS Send Time Checker - Quiet Hours, Time Zones & Holidays actor becomes a tool your agent can call. Works in Claude, Cursor, VS Code and any MCP client; billed per event through Apify.

MCP server URL
https://mcp.apify.com?tools=helenisapi/sms-send-time-checker

Prefer plain HTTP? Give your agent the OpenAPI document or the Markdown reference.

See the plans Error handling