Airtable 0.9.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package Airtable --version 0.9.2
                    
NuGet\Install-Package Airtable -Version 0.9.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Airtable" Version="0.9.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Airtable" Version="0.9.2" />
                    
Directory.Packages.props
<PackageReference Include="Airtable" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Airtable --version 0.9.2
                    
#r "nuget: Airtable, 0.9.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Airtable@0.9.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Airtable&version=0.9.2
                    
Install as a Cake Addin
#tool nuget:?package=Airtable&version=0.9.2
                    
Install as a Cake Tool

Airtable .NET API Client

Airtable.net is the C-Sharp client of the public APIs of Airtable. It builds a Windows class library named AirtableClientApi.dll. AirtableClientApi.dll facilitates the usage of Airtable APIs without having to worry about interfacing with raw HTTP, the low-level concepts like HTTP status codes and records paging. The users can write C-Sharp applications which integrate with Airtable by consuming what Airtable public APIs have to offer programmatically such as List Records, Create Record, Retrieve Record, Update Record, Replace Record, Delete Record.

Installation

Install the latest nuget package Airtable.0.9.2.0.nupkg

Requirements

.NET Framework 4.5.2 or newer Operating System: Windows 10 or newer Microsoft Visual Studio 2015 or newer (only if you choose to build AirtableApiClient.dll from source files using the instructions below.)

Build AirtableApiClient.dll

Download Airtable.net c# source files from github.com. To compile to an assembly, simply create a new project in visual studio of type Class Library and add these source files to the project. You will have to reference the following assemblies in order to successfully compile as a lot of library functions that are used in Airtable.net are defined there.

Newtonsoft.Json.dll.9.0.1 or newer can be downloaded from http://www.newtonsoft.com/json or from https://www.nuget.org/packages/newtonsoft.json/ .NETFramework\v4.5.2\Microsoft.CSharp.dll .NETFramework\v4.5.2\System.dll .NETFramework\v4.5.2\System.Core.dll .NETFramework\v4.5.2\System.Net.Http.dll .NETFramework\v4.5.2\System.Web.dll .NETFramework\v4.5.2\System.Web.Extensions.dll

Quickstart

Example demonstrating usage of the API to list records:



using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AirtableApiClient;

readonly string baseId = YOUR_BASE_ID;
readonly string appKey = YOUR_APP_KEY;



    string offset = null;
    string errorMessage = null;
    var records = new List<AirtableRecord>();

    using (AirtableBase airtableBase = new AirtableBase(appKey, baseId))
    {
       //
       // Use 'offset' and 'pageSize' to specify the records that you want
       // to retrieve.
       // Only use a 'do while' loop if you want to get multiple pages
       // of records.
       //

       do
       {
            Task<AirtableListRecordsResponse> task = airtableBase.ListRecords(
                   YOUR_TABLE_NAME, 
                   offset, 
                   fieldsArray, 
                   filterByFormula, 
                   maxRecords, 
                   pageSize, 
                   sort, 
                   view);

            AirtableListRecordsResponse response = await task;

            if (response.Success)
            {
                records.AddRange(response.Records.ToList());
                offset = response.Offset;
            }
            else if (response.AirtableApiError is AirtableApiException)
            {
                errorMessage = response.AirtableApiError.ErrorMessage;
                break;
            }
            else
            {
                errorMessage = "Unknown error";
                break;
            }
        } while (offset != null);
    }

    if (!string.IsNullOrEmpty(errorMessage))
    {
        // Error reporting
    }
    else
    {
        // Do something with the retrieved 'records' and the 'offset'
        // for the next page of the record list.
    } 


Documentation

View the full documentation

Product Compatible and additional computed target framework versions.
.NET Framework net452 is compatible.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on Airtable:

Package Downloads
Musoq.DataSources.Airtable

Lets you explore Airtable bases and tables with SQL-style queries, making it easy to join and filter Airtable data without leaving Musoq.

Ivy.Airtable.EFCore

Package Description

Airtable.EFCore

Package Description

SquidDraftLeague.Airtable

Airtable integration with SDL's drafting system.

Rag.NET.DataProviders.Airtable

Airtable data provider for Rag.NET

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.9.0 28,600 7/9/2026
1.8.0 109,860 11/13/2025
1.7.1 30,046 9/1/2025
1.7.0 2,817 8/17/2025
1.6.0 65,334 8/7/2025
1.5.0 678,134 8/20/2024
1.4.0 569,396 12/1/2023
1.3.0 292,147 3/8/2023
1.2.0 73,431 7/23/2022
1.1.6 29,873 2/22/2022
1.1.5 114,669 12/22/2020
1.1.4 8,609 8/25/2020
1.1.2 20,644 3/26/2020
1.1.0 34,720 10/20/2019
1.0.2 83,228 2/17/2019
1.0.0 2,605 10/29/2018
0.9.3 2,655 10/17/2018
0.9.2 3,175 11/30/2017
Loading failed

Improved error reporting. Removed calls to UrlEncode when not needed.