| name | airtable |
| description | Create, read, update, and delete records in Airtable bases. Use when you need to manage data in Airtable spreadsheets/databases, sync data, or automate workflows with Airtable as a data store. |
Airtable API
Manage Airtable bases, tables, and records via REST API.
Setup
- Get API key: https://airtable.com/create/tokens
- Create token with scopes:
data.records:read, data.records:write
- Store token:
mkdir -p ~/.config/airtable
echo "patXXXXXXXXXXXXXX" > ~/.config/airtable/api_key
- Find Base ID: Open base → Help → API documentation (starts with
app)
List Records
AIRTABLE_KEY=$(cat ~/.config/airtable/api_key)
BASE_ID="appXXXXXXXXXXXXXX"
TABLE_NAME="Table%20Name"
curl -s "https://api.airtable.com/v0/${BASE_ID}/${TABLE_NAME}" \
-H "Authorization: Bearer ${AIRTABLE_KEY}" | jq '.records'
Get Single Record
RECORD_ID="recXXXXXXXXXXXXXX"
curl -s "https://api.airtable.com/v0/${BASE_ID}/${TABLE_NAME}/${RECORD_ID}" \
-H | jq