Skip to main content

Using Airtable with GraphQL

  • June 23, 2022
  • 1 reply
  • 20 views

Forum|alt.badge.img

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

1 reply

Forum|alt.badge.img+3
  • New Participant
  • 4 replies
  • August 3, 2023

Hey @Helen_Whelan 

Thanks for this!
I am using it on https://weshipit.today/react-native-tools

Do you have any plans concerning the recent Airtable API key deprecation?
https://support.airtable.com/docs/airtable-api-key-deprecation-notice

Thanks!


Reply