Agent skill · Data & Analytics

api-rate-limiter

Manage API rate limits across all data sources (Alpha Vantage, Finnhub, Polygon, NewsAPI). Use when implementing data fetching, optimizing API calls, or debugging rate limit issues. Trigger on API quota, rate limiting, or data ingestion discussions.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill api-rate-limiter --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 7 KB
Bundled scripts: none
Path: skills/api/api-rate-limiter/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# API Rate Limiter Skill Efficiently manage API rate limits across all data providers to maximize data quality while staying within free tier limits. ## Rate Limit Reference | Provider | Rate Limit | Daily Limit | Strategy | |----------|------------|-------------|----------| | Alpha Vantage | 5/min | 25/day | High-value stocks only | | Finnhub | 60/min | Unlimited | Bulk quotes, news | | Polygon | 5/min | Unlimited | Supplementary data | | NewsAPI | - | 100/day | Sector news batch | ## Implementation Patterns ### Token Bucket Rate Limiter ```python import asyncio from datetime import datetime, timedelta from collections import deque class RateLimiter: def __init__(self, calls_per_minute: int, calls_per_day: int = None): self.calls_per_minute = calls_per_minute self.calls_per_day = calls_per_day self.minute_calls = deque() self.daily_calls = deque() self._lock = asyncio.Lock() async def acquire(self) -> bool: async with self._lock: now = datetime.utcnow() # Clean old minute calls while self.minute_calls and self.minute_calls[0] < now - timedelta(minutes=1): self.minute_calls.popleft() # Clean old daily calls while self.daily_calls and self.daily_calls[0] < now - timedelta(days=1): s

What's inside
Steps it walks through
  1. Rate Limit Reference
  2. Implementation Patterns
  3. Token Bucket Rate Limiter
  4. Request Batching
  5. Priority Queue Strategy
  6. Optimal API Usage Strategy
  7. Daily Pipeline Schedule
  8. API Selection Matrix
  9. Monitoring Commands
  10. Error Handling
  11. Quick Reference
Ships with 1 file
  • metadata.json
Commands it runs
Check current rate limit status
python -c "
from backend.services.rate_limiter import get_rate_limit_status
status = get_rate_limit_status()
for api, info in status.items():
if info.get('daily_limit'):
View API call history
from backend.services.api_tracker import get_call_history
import json
history = get_call_history(hours=24)
More from claude-skill-registry
All skills →
About this skill
What does the api-rate-limiter skill do?

Manage API rate limits across all data sources (Alpha Vantage, Finnhub, Polygon, NewsAPI). Use when implementing data fetching, optimizing API calls, or debugging rate limit issues. Trigger on API quota, rate limiting, or data ingestion discussions.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill api-rate-limiter --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going