Using Airtable with GraphQL

You can now query Airtable with GraphQL!

At StepZen we’ve built tools to create a GraphQL API out of an existing REST API (or database). This way you can take the REST API from Airtable and transform it into GraphQL.

There are two ways to get a GraphQL API for Airtable, either with code or without writing any code.

Without code:
Visit StepZen GraphQL Studio and insert your API Key, Base id and Table name.

With code:

  1. Install CLI (npm i -g stepzen)
  2. Run command to import a REST API
stepzen import curl "https://api.airtable.com/v0/BASE_ID/TABLE" -H "Authorization: Bearer YOUR_API_KEY"
  1. Run stepzen start and the CLI will return the endpoint you can use to query Airtable with GraphQL.

Watch a video recording with more instructions here Two Ways To Query Airtable With GraphQL - YouTube