Google Sheets Import & Export avatar
Google Sheets Import & Export
Try for free

No credit card required

View all Actors
Google Sheets Import & Export

Google Sheets Import & Export

Try for free

No credit card required

Import data from datasets or JSON files to Google Sheets. Programmatically process data in Sheets. Easier and faster than the official Google Sheets API and perfect for importing data from scraping.

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn more

1# Set API token
4# Prepare Actor input
5cat > input.json <<'EOF'
7  "transformFunction": "// Uncomment this code only if you don't use \"Deduplicate by field\" or \"Deduplicate by equality\"\n// This code behaves as if there was no transform function\n/*({ spreadsheetData, datasetData }) => {\n    return spreadsheetData.concat(datasetData);\n}*/"
11# Run the Actor using an HTTP API
12# See the full API reference at
13curl "$API_TOKEN" \
14  -X POST \
15  -d @input.json \
16  -H 'Content-Type: application/json'
Maintained by Apify
Actor metrics
  • 42 monthly users
  • 0 stars
  • 97.5% runs succeeded
  • 2.1 days response time
  • Created in Jan 2019
  • Modified 5 months ago