REST API

Extract table data via a REST API

Step 1 - Prepare a Dataset

Create a table with your data source. Make sure to delete any unnecessary columns and fix column names.

Step 2 - Get the request URL

Click on Share and Download on the top right of the table and select Access this table via API. Once selected, copy the URL.

Step 3 - Extract the data

import requests

x = requests.get('https://databar.ai/api/v3/table/2k4ZKjVbgsmqQ597NA7GY5/?x-apikey=<YOUR_API_KEY>')

print(x.text)

Copy the code above and replace the URL in line 3 with the one from Step 2. Once this is done, you can access all the data programmatically.

Last updated