LogoLogo
Back to DatabarSchedule a free demo call
  • 🚀Getting started
    • 👋What is Databar.ai?
    • ❓FAQ
  • đŸĒœUsing Databar
    • 🍊Databar basics
      • 💰How credits & actions work
      • 🐞Debug Requests
      • 🔑Authorization & API keys
    • â†˜ī¸Data sources
      • Custom APIs & Integrations
      • External data sources
        • Scheduling Requests
      • Webhooks
      • Upload a CSV
    • 🔀Enrichments
      • How enrichments work
      • Scheduling & Automating enrichments
    • 🏹Destinations
      • Access tables via API
      • Google Sheets
      • Coda.io
    • 👨‍🚀Templates
    • 📊Charts, plots and maps
    • 👨‍đŸ’ģChrome extension
  • â„šī¸Additional info
    • Getting Started
    • What are APIs?
    • Key features & product philosophy
    • Request an API
    • Navigating the catalog
Powered by GitBook
LogoLogo

Databar.ai

  • Back to site
  • Discord
On this page
  • Step 1 - Prepare a Dataset
  • Step 2 - Get the request URL
  • Step 3 - Extract the data

Was this helpful?

  1. Using Databar
  2. Destinations

Access tables via API

Extract table data via a REST API

PreviousDestinationsNextGoogle Sheets

Last updated 1 year ago

Was this helpful?

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 . Once this is done, you can access all the data programmatically.

đŸĒœ
🏹
Step 2
REST API URL