$npx skillfedfor your agent

beaapi

BEA API Python package

Worth itPyPI Information AnalysisReleased Feb 2026153.3K downloads / moCC0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — beaapi-0.2.0-py3-none-any.whl
v0.2.0 · released 2026-02-17 · Python >=3.9 · 1 runtime deps: pandas

Yes. beaapi is actively maintained, has no known vulnerabilities, installs with minimal friction, and is the official Python interface to BEA's economic data. If you need U.S. economic statistics—GDP, trade, industry output, or regional data—this is the right tool. The only prerequisite is obtaining a free API key.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • You must register for a free BEA API key at https://apps.bea.gov/api/signup/ before making any data requests.
  • Low friction to install; depends only on pandas.
  • The package is actively maintained with recent commits and is in beta status, suitable for production use with the understanding that the API surface may evolve.

License · maintenance · safety

CC0 (permissive) — Licensed under CC0 (public domain), so you may use, modify, and distribute the package freely without attribution requirements or restrictions.

last release 2026-02-17 (178 days) · last repo commit 2026-02-17 · 66 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 153,316 downloads/mo, #10,885 on PyPI

Verify before relying

pip install beaapi

import beaapi

beakey = 'YOUR_36_DIGIT_API_KEY'
bea_tbl = beaapi.get_data(beakey, datasetname='NIPA', TableName='T20305', Frequency='Q', Year='2015')
  • Whether the package handles rate limiting or pagination for large data requests automatically.
  • Performance characteristics when querying across multiple datasets or years simultaneously.
  • Whether offline metadata caching is fully functional or requires periodic API calls.
Same gist for agents: .md · .json

What it is and what it does

beaapi is a Python wrapper around the U.S. Bureau of Economic Analysis public data API. It simplifies access to BEA's economic datasets—including NIPA tables, GDP by industry, international trade accounts, and regional data—by providing functions to list available datasets, discover parameters and their allowed values, search metadata by keyword, and retrieve data directly into pandas DataFrames.

The package handles the HTTP communication and response parsing, so you work with structured data immediately. It requires only pandas as a runtime dependency and supports current Python versions. You supply an API key (obtained free from BEA) and call functions like `get_data()` to fetch specific tables, `get_parameter_list()` to explore what parameters a dataset accepts, and `search_metadata()` to find tables by keyword. The result is always a DataFrame, making downstream analysis straightforward.

Use it for

  • Retrieve quarterly or annual NIPA tables for macroeconomic analysis and forecasting.
  • Query GDP-by-industry data to analyze sectoral economic performance over time.
  • Access international trade and investment position data for cross-border economic research.
  • Search metadata to discover which BEA tables contain specific economic indicators.
  • Build automated data pipelines that fetch updated economic statistics on a schedule.
  • Combine BEA data with other sources in a pandas workflow for integrated economic analysis.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

beaapi is actively maintained, has no known vulnerabilities, installs with minimal friction, and is the official Python interface to BEA's economic data. If you need U.S. economic statistics—GDP, trade, industry output, or regional data—this is the right tool. The only prerequisite is obtaining a free API key.

Install

beaapi on PyPI

Before you install

Low friction to install; depends only on pandas. The package is actively maintained with recent commits and is in beta status, suitable for production use with the understanding that the API surface may evolve.

You must register for a free BEA API key at https://apps.bea.gov/api/signup/ before making any data requests.

License in practice

Licensed under CC0 (public domain), so you may use, modify, and distribute the package freely without attribution requirements or restrictions.

Quickstart

pip install beaapi

import beaapi

beakey = 'YOUR_36_DIGIT_API_KEY'
bea_tbl = beaapi.get_data(beakey, datasetname='NIPA', TableName='T20305', Frequency='Q', Year='2015')

Verify before relying

  • Whether the package handles rate limiting or pagination for large data requests automatically.
  • Performance characteristics when querying across multiple datasets or years simultaneously.
  • Whether offline metadata caching is fully functional or requires periodic API calls.

Package facts

LicenseCC0 permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
pandas
MaintenanceActively maintained 178 days since the last release
Last repo commit
First released
Downloads153,316 / month, #10,885 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: EducationIntended Audience :: Financial and Insurance IndustryIntended Audience :: Science/ResearchLicense :: Public DomainOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsProgramming Language :: Python :: 3

Evidence: beaapi-0.2.0-py3-none-any.whl

Tags

Capabilities
BEA economic data APIUS economic statistics retrievalNIPA table data accessGDP and national income datainternational trade statisticsregional economic dataeconomic dataset queries
Topics
economic-datagovernment-apidata-retrieval

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “BEA economic data API”

  • beaapibeaapi retrieves and processes economic data from the U.S. Bureau of…
  • fredapifredapi wraps the FRED web service to fetch U.S. Federal Reserve…
  • openbb-fredIntegrates FRED (Federal Reserve Economic Data) as a data provider…

Give your agent the search over MCP, or paste the wish link into any chat.

More Information Analysis packages

regex Worth it
PyPI · Python Modules · released Jul 2026

A drop-in replacement for Python's standard `re` module that adds advanced regex features like nested sets, fuzzy matching, lookaround in conditionals, and full Unicode case-folding while maintaining backward compatibility.

Apache-2.0 AND CNRI-Pythoncompiled wheel · 3.10+
437.7Mdownloads / mo
pyarrow Worth it
PyPI · Information Analysis · released Aug 2026

pyarrow provides Python bindings to Apache Arrow's C++ libraries for efficient columnar data processing, serialization, and interoperability with pandas, NumPy, and other Python ecosystem tools.

Apache-2.0compiled wheel · 3.10+
432.9Mdownloads / mo
networkx Worth it
PyPI · Python Modules · released Dec 2025

NetworkX provides data structures and algorithms for creating, analyzing, and manipulating graphs and networks, supporting everything from simple undirected graphs to complex directed and weighted networks.

BSD-3-Clausepure Python
290.9Mdownloads / mo
snowflake-connector-python Worth it
PyPI · Software Development · released Aug 2026

Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.

Apache-2.0compiled wheel · 3.10+
193.6Mdownloads / mo
contourpy Worth it
PyPI · Information Analysis · released Jul 2025

ContourPy calculates contours of 2D quadrilateral grids using C++11 algorithms wrapped in Python, offering serial and multithreaded implementations without requiring Matplotlib as a dependency.

BSD-3-Clausecompiled wheel · 3.11+
191.2Mdownloads / mo
snowflake-snowpark-python Worth it
PyPI · Software Development · released Jul 2026

Snowpark Python provides APIs to query and process data directly in Snowflake without moving data to your local system, with support for both native Snowpark and pandas-compatible interfaces.

Install it if you use Snowflake and want to process data without moving it to your application layer.

Apache-2.0pure Python
100.7Mdownloads / mo

See also imfp · wbdata · fredapi · openbb-bls · openbb-fred · wbgapi · openbb-econdb · openbb-economy · openbb-oecd · Nasdaq-Data-Link