nba-advanced-stats

Retrieve bulk NBA statistics from nba_api with automatic api-sports fallback.

2|Updated Feb 3, 2026
One-click install
npx skills add https://github.com/brandonalfred/fortuna-app --skill nba-advanced-stats
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nba-advanced-stats
Source: https://github.com/brandonalfred/fortuna-app/tree/main/.claude/skills/nba-advanced-stats
Command: npx skills add https://github.com/brandonalfred/fortuna-app --skill nba-advanced-stats

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Analysts often struggle to obtain comprehensive, up-to-date NBA statistics with reliable fallbacks when data sources fail. This Skill provides a primary data path via nba_api for bulk NBA data and a robust fallback to api-sports to ensure continuity of analytics work.

Core Features & Use Cases

  • Bulk data access: season averages, per-game logs, and advanced metrics for all players and teams.
  • Pace, lineup, and opponent tendency analyses to compare performance and derive actionable insights.
  • Use Case: Build predictive models or betting insights using standardized NBA data without hitting API quotas.

Quick Start

Load season 2024-25 data using LeagueDashPlayerStats to fetch bulk player statistics for analysis.

Frequently Asked Questions about nba-advanced-stats

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I retrieve bulk NBA player statistics for a full season?

Retrieve bulk NBA statistics for a full season by using nba_api endpoints like LeagueDashPlayerStats to fetch season averages, per-game logs, and advanced metrics for all players simultaneously.

What happens when nba_api is unavailable during data retrieval?

When nba_api is unavailable, the data retrieval process automatically falls back to api-sports. This ensures continuity of your analytics work by enforcing reliable data access and local ID lookups without interruption.

Can I analyze NBA lineup data and opponent tendencies using this approach?

Yes, you can analyze NBA lineup data and opponent tendencies. The system applies pace, lineup, and opponent tendency metrics to compare performance and derive actionable insights for trend analysis and modeling.

Does this method for fetching NBA data hit API quotas?

No, this method does not hit API quotas. It provides a primary data path via nba_api for bulk NBA data, allowing you to build predictive models using standardized data without encountering quota limitations.

What is the best way to get advanced NBA metrics for predictive modeling?

The best way to get advanced NBA metrics for predictive modeling is to retrieve bulk statistics including pace and opponent tendencies. This provides standardized data to support trend analysis and modeling without quota limits.

Do I need api-sports to access NBA team stats and advanced metrics?

No, you do not need api-sports initially; nba_api is the primary source for bulk NBA team stats and advanced metrics. The api-sports dependency is only used as an automatic fallback when nba_api fails.