More
Limits and billing
File limits, rate limits, the Free Trial, the Plan, Extra Hours and the Spending Cap.
File limits#
The same limits apply on the website and through the API.
- At most 25 pages (
pdf_too_many_pages) and 50 MB (file_too_large). - Recording
- At most 4 hours (
recording_too_long) and 300 MB (file_too_large). Converting it to MP3 makes it much smaller. - Word List
- At most 100,000 words, each a non-empty string of at most 100
characters (
invalid_word_list). - Language
- The Source Text must be in Hebrew script: Hebrew or Aramaic
(
unsupported_language). Scanned PDFs without a text layer are fine. - Title
- At most 300 characters.
- Links
pdf_url,recording_urlandwebhook_url: http or https, at most 2000 characters.
An upload that breaks several limits gets all of them in problems
(see Errors). A Linked Recording is checked when the Build runs:
if it breaks a limit, the Build fails with a failure_reason and counts 0 Audio Hours.
Rate limits#
Each API Key may send 60 requests a minute, and up to 60 at once before that rate applies.
Each key has its own allowance. Over it, the API answers 429 with the code rate_limited
and a Retry-After header: the whole seconds to wait.
{
"error": {
"code": "rate_limited",
"message": "Too many requests with this API Key. Try again in 3 seconds."
}
}curl
# --retry honours Retry-After on 429 answers.
curl --retry 5 https://app.shiurreader.com/api/v1/builds/cd4e2fd751c84d659936cdf0e0002da0 \
-H "Authorization: Bearer $SHIUR_READER_API_KEY"Python
import time
def call(method, url, **kwargs):
while True:
response = requests.request(method, url, headers=HEADERS, **kwargs)
if response.status_code != 429:
return response
time.sleep(int(response.headers["Retry-After"]))JavaScript
async function call(url, options = {}) {
for (;;) {
const response = await fetch(url, { ...options, headers: { ...HEADERS, ...options.headers } });
if (response.status !== 429) return response;
const seconds = Number(response.headers.get("Retry-After"));
await new Promise((resolve) => setTimeout(resolve, seconds * 1000));
}
}Polling a Build every 10 seconds uses 6 requests a minute. For many Builds at once, use webhooks instead of polling.
Billing#
Builds are billed in Audio Hours, the same way on the website and through the API. Owners see usage and bills on the Billing page.
Audio Hours#
The full length of a Recording, explanations included, is what an Organization is billed for. A Build reports it
in audio_hours as a decimal string ("1.5" for 90 minutes). Failed Builds count zero.
Deleting a Reader does not refund its hours.
Free Trial#
A new Organization gets 3 Audio Hours once, with no card. A Build whose Recording is longer than the free hours
left (counting Builds still in progress) is refused with 402 plan_required. When the Free Trial is used
up, every new Build gets plan_required until an Owner joins the Plan.
If a Linked Recording turns out longer than the free hours left, the Build fails instead, with a
failure_reason that says so.
The Plan and Extra Hours#
The Plan is $4 a month. It keeps your Readers online and includes 3 Audio Hours each month; unused hours do not carry over. Each Extra Hour beyond those 3 costs 79 cents and is added to the same monthly bill.
Spending Cap#
An Owner can set a monthly Spending Cap. A Build that would take this month's expected bill over the cap is still
accepted (202), with status waiting and waiting_reason
spending_cap_reached. It starts by itself, becoming queued, when an Owner raises the cap
or the next month begins. Owners also get an email.
{
"id": "cd4e2fd751c84d659936cdf0e0002da0",
"url": "https://app.shiurreader.com/api/v1/builds/cd4e2fd751c84d659936cdf0e0002da0",
"title": "Lehavin 6",
"status": "waiting",
"waiting_reason": "spending_cap_reached",
"progress": {
"percent": 0,
"message": "This Build would take this month's expected bill over the Spending Cap, so it waits. It starts by itself when an Owner raises the cap on the Billing page, or when the next month begins."
},
"failure_reason": null,
"audio_hours": null,
"visibility": null,
"reader": null,
"match": null,
"timings_url": null,
"reader_data_url": null,
"created_at": "2026-10-11T09:00:00Z",
"finished_at": null
}Missed payments#
After a missed payment, Readers stay online for a 7-day Grace Period. After that, Readers go offline and new
Builds are refused with 402 payment_overdue until an Owner pays.