# SMS Send Time API

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

**A promo SMS at 6 a.m. gets you unsubscribes, complaints and, in some countries, fines.** Your contact list mixes New York, Paris, Perth and São Paulo, and your scheduler only knows UTC. Send the phone numbers, get for each one its **time zone**, its **local time**, whether a **text or call is allowed right now**, **why not** (too early, too late, weekend, public holiday with its name) and the **next allowed slot** in UTC and local time. Legal windows (**US TCPA**, **France**, **Spain**, **Canada**, **Australia**) are built in, with their sources. From **$0.0002 per number**.

- Host: `sms-send-time-local-time-quiet-hours-holidays.p.rapidapi.com`
- Base URL: `https://sms-send-time-local-time-quiet-hours-holidays.p.rapidapi.com/v1/send-time`
- Auth: headers `X-RapidAPI-Key` and `X-RapidAPI-Host`
- OpenAPI: https://helenis-api.com/docs/send-time/openapi.json

## Endpoints

### 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.

| Parameter | In | Type | Required | Description | Example |
|---|---|---|---|---|---|
| `number` | query | `string` | yes | Phone number in any format: +1 212 555 0142, 0044..., or a national number with the country parameter. | `+1 212 555 0142` |
| `country` | query | `string` | no | ISO country for a number written without +country code. | `US` |
| `channel` | query | `"sms" \| "call"` | no | sms (texts, WhatsApp, RCS) or call. Default `sms`. |  |
| `policy` | query | `string` | no | 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`. | `auto` |
| `hours` | query | `string` | no | Your own window, local time: up to 4 ranges, e.g. 09:00-12:00,14:00-19:30. | `09:00-12:00,14:00-19:30` |
| `days` | query | `string` | no | Your own days: mon-fri, mon,wed,sat, all or workdays (the country's working days). | `mon-fri` |
| `skip_holidays` | query | `boolean` | no | Avoid the country's public holidays (default: the preset's rule; true for your own window). |  |
| `local_rules` | query | `boolean` | no | Also respect the country's built-in legal or industry window on top of yours. Default `True`. |  |
| `at` | query | `string` | no | Check this moment instead of now (ISO 8601, UTC when no offset). | `2026-11-26T15:00:00Z` |

```bash
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.

| Parameter | In | Type | Required | Description | Example |
|---|---|---|---|---|---|
| `channel` | body | `"sms" \| "call"` | no | sms (texts, WhatsApp, RCS) or call: some countries only regulate one of them. Default `sms`. |  |
| `policy` | body | `string` | no | 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`. | `auto` |
| `hours` | body | `string` | no | 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. | `09:00-20:00` |
| `days` | body | `string` | no | Your own days: mon-fri, mon,wed,sat, all, or workdays (the country's working days: Sunday-Thursday in Saudi Arabia). | `mon-sat` |
| `skip_holidays` | body | `boolean` | no | Avoid the public holidays of each number's country. Defaults to the preset's rule (true for a custom window). |  |
| `local_rules` | body | `boolean` | no | 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` | no | Check this moment instead of now (ISO 8601; UTC when no offset). For scheduling a campaign. | `2026-11-26T15:00:00Z` |
| `numbers` | body | `string[]` | yes | Up to 100 phone numbers, any format. | `["+1 212 555 0142", "+33 6 12 34 56 78", "+61 412 345 678"]` |
| `country` | body | `string` | no | ISO country for numbers written without +country code. | `US` |

```bash
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.

```bash
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"
```

## Sample call

Check Send Time: `GET /v1/send-time/check`.

```bash
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"
```

## Response

```json
{
  "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

```bash
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"}'
```

```json
{
  "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"`.

## Pricing

1 credit per phone number checked. Failed calls are never billed.

| Plan | Price | Credits included | Above the quota |
|---|---|---|---|
| BASIC | Free | 10 / day | resets every day |
| PRO | $3.99/month | 20,000 / month | $0.002 per credit |
| ULTRA | $9.99/month | 150,000 / month | $0.002 per credit |
| MEGA | $29.99/month | 1,000,000 / month | $0.002 per credit |

Apify actor **SMS Send Time Checker - Quiet Hours, Time Zones & Holidays**: billed per event; free-plan users get 200 numbers per run.

| Event | Charged for | Price |
|---|---|---|
| `number-checked` | each number checked | $0.0005 |

## Links

- API reference (HTML): https://helenis-api.com/docs/send-time
- OpenAPI: https://helenis-api.com/docs/send-time/openapi.json
- Overview and pricing: https://helenis-api.com/apis/send-time/
- RapidAPI listing: https://rapidapi.com/helenis-api-helenis-api-business/api/sms-send-time-local-time-quiet-hours-holidays?utm_source=helenis&utm_medium=site&utm_campaign=send-time&utm_content=markdown
- Apify actor: https://apify.com/helenisapi/sms-send-time-checker?utm_source=helenis&utm_medium=site&utm_campaign=send-time&utm_content=markdown
- MCP server (Apify): https://mcp.apify.com?tools=helenisapi/sms-send-time-checker

MCP: Works in Claude, Cursor, VS Code and any MCP client; billed per event through Apify (your Apify token).

## Conventions (every Helenis API)

- Auth: two headers on every call, `X-RapidAPI-Key` (your key) and `X-RapidAPI-Host` (the API's host). One RapidAPI key works for every API you subscribe to.
- Billing in credits: one for a simple call, more for heavier work (a minute of audio, a page read by AI). Each API states its rule.
- Failed calls are never billed: a `4xx` bills zero credits and a `5xx` is never counted.
- Errors share one envelope: `{"error": {"status", "code", "message"}}` with a stable machine-readable `code`.
- `400`: fix the input (validation errors are always 400, never 422); not billed.
- `429`: rate limit; wait for `Retry-After`. `503`: temporary upstream or AI failure (`ai_error`, `upstream_timeout`); retry later, not billed.
- Values the source does not give come back as `null`, never invented.
