Official community Python client for the Airtable API. Formerly known as airtable-python-wrapper. Current version is 3.3.0 (Nov 2025). Has gone through major rewrites at 1.0, 2.0, and 3.0 — each with breaking changes. Many tutorials still reference the old airtable-python-wrapper package which is abandoned.
pip install pyairtableVerified import paths — ran on the pinned version, not inferred.
Minimal Airtable read/write using pyairtable 3.3.x.
Generate a Personal Access Token at airtable.com/create/tokens and use that instead. Scopes must be explicitly granted per base.
pip install pyairtable — not airtable or airtable-python-wrapper.
pip install 'pydantic>=2.0'
api = Api(token); table = api.table(base_id, table_name)
Use api.base(base_id).schema() for metadata access.
Check SaveResult.created or SaveResult.updated explicitly.
Replace return_fields_by_field_id=True with use_field_ids=True.
Use Python 3.10+.
Verify that the BASE_ID and TABLE_NAME used in your code are correct and correspond to an existing Airtable base and table. Ensure the Personal Access Token has appropriate scopes and permissions to access the specified base and table.
Ensure `pyairtable` is installed (`pip install pyairtable`) and update your import statements to use `from pyairtable import Api` or `from pyairtable import Table`.
Replace `table.get_all()` with `table.all()` to retrieve all records or `table.each()` for an iterator, and update other method calls according to the current `pyairtable` API documentation.
Verify that your API key/PAT is correct, has the required scopes (e.g., `data.records:read` for reading), and that you are using a Personal Access Token (API keys are deprecated). Ensure it's passed correctly, e.g., `api = Api('YOUR_PAT')` or via `os.environ['AIRTABLE_API_KEY']`.Consult the `pyairtable` migration guide for your specific version change and update the `Table` or `Api` constructor calls. For `pyairtable` 2.0+, `Table` is typically instantiated as `Table(api_instance, base_id, table_name)` or `api.table(base_id, table_name)`.