Skills Development Fathom API Rate Limit Management

Fathom API Rate Limit Management

v20260423
fathom-rate-limits
This module provides robust handling for Fathom API rate limits (60 requests/minute per user). It implements advanced retry strategies (handling 429 errors and server failures) and efficient batch processing to reliably sync large volumes of meeting intelligence, such as transcripts and action items, into external systems like CRMs or project trackers.
Get Skill
307 downloads
Overview

Fathom Rate Limits

Overview

Fathom's API enforces a strict 60 requests-per-minute cap per user across all API keys. Since meeting transcripts and action items are often fetched in bulk after a day of calls, this limit becomes a real constraint for teams processing large meeting backlogs. Transcript endpoints are especially heavy because they return full conversation text, making pagination and careful throttling essential for any integration that syncs meeting intelligence into CRMs or project trackers.

Rate Limit Reference

EndpointLimitWindowScope
List meetings60 req1 minutePer user
Get transcript60 req1 minutePer user
Action items60 req1 minutePer user
Meeting summary60 req1 minutePer user
Webhook management10 req1 minutePer user

Rate Limiter Implementation

class FathomRateLimiter {
  private tokens: number = 60;
  private lastRefill: number = Date.now();
  private queue: Array<{ resolve: () => void }> = [];

  async acquire(): Promise<void> {
    this.refill();
    if (this.tokens >= 1) { this.tokens -= 1; return; }
    return new Promise(resolve => this.queue.push({ resolve }));
  }

  private refill() {
    const now = Date.now();
    const elapsed = now - this.lastRefill;
    this.tokens = Math.min(60, this.tokens + (elapsed / 60_000) * 60);
    this.lastRefill = now;
    while (this.tokens >= 1 && this.queue.length) {
      this.tokens -= 1;
      this.queue.shift()!.resolve();
    }
  }
}

const limiter = new FathomRateLimiter();

Retry Strategy

async function fathomRetry<T>(fn: () => Promise<Response>, maxRetries = 3): Promise<T> {
  for (let attempt = 0; attempt <= maxRetries; attempt++) {
    await limiter.acquire();
    const res = await fn();
    if (res.ok) return res.json();
    if (res.status === 429) {
      const retryAfter = parseInt(res.headers.get("Retry-After") || "60", 10);
      const jitter = Math.random() * 3000;
      await new Promise(r => setTimeout(r, retryAfter * 1000 + jitter));
      continue;
    }
    if (res.status >= 500 && attempt < maxRetries) {
      await new Promise(r => setTimeout(r, Math.pow(2, attempt) * 2000));
      continue;
    }
    throw new Error(`Fathom API ${res.status}: ${await res.text()}`);
  }
  throw new Error("Max retries exceeded");
}

Batch Processing

async function syncAllTranscripts(meetingIds: string[], batchSize = 10) {
  const results: any[] = [];
  for (let i = 0; i < meetingIds.length; i += batchSize) {
    const batch = meetingIds.slice(i, i + batchSize);
    const batchResults = await Promise.all(
      batch.map(id => fathomRetry(() =>
        fetch(`${BASE}/api/v1/meetings/${id}/transcript`, { headers })
      ))
    );
    results.push(...batchResults);
    if (i + batchSize < meetingIds.length) await new Promise(r => setTimeout(r, 12_000));
  }
  return results;
}

Error Handling

IssueCauseFix
429 Too Many RequestsExceeded 60 req/min user capWait for Retry-After, then resume
Empty transcriptMeeting still processingPoll with 30s interval until ready
401 on refreshExpired OAuth tokenRotate token before batch starts
Timeout on long meetingsTranscript > 2 hours of audioRequest with Accept-Encoding: gzip
Missing action itemsAI extraction not yet completeRetry after 5-minute delay

Resources

Next Steps

See fathom-performance-tuning.

Info
Category Development
Name fathom-rate-limits
Version v20260423
Size 3.91KB
Updated At 2026-04-26
Language