Help

Using Airtable with GraphQL

3878 1
cancel
Showing results for 
Search instead for 
Did you mean: 
Helen_Whelan
4 - Data Explorer
4 - Data Explorer

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 1
flexbox
5 - Automation Enthusiast
5 - Automation Enthusiast

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!