Json To Excel avatar
Json To Excel
Try for free

No credit card required

View all Actors
Json To Excel

Json To Excel

zuzka/json-to-excel
Try for free

No credit card required

Convert your json into a tabular form, such as CSV, Excel or HTML table fast and easy.

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
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7  "JSON": "[\n    {\n    \"title\": \"Apify: Full-stack web scraping and data extraction platform\",\n    \"url\": \"https://apify.com/\",\n    \"displayedUrl\": \"https://apify.com\",\n    \"description\": \"Crawls arbitrary websites using the Chrome browser and extracts data from pages using a provided JavaScript code. The actor supports both recursive crawling and ...\",\n    \"emphasizedKeywords\": [],\n    \"productInfo\": {},\n    \"type\": \"organic\",\n    \"position\": 1\n    },\n    {\n    \"title\": \"Apify (@apify) · X\",\n    \"url\": \"https://twitter.com/apify?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Eauthor\",\n    \"displayedUrl\": \"https://twitter.com/apify\",\n    \"description\": \"\",\n    \"emphasizedKeywords\": [],\n    \"siteLinks\": [],\n    \"productInfo\": {},\n    \"type\": \"organic\",\n    \"position\": 2\n    },\n    {\n    \"title\": \"Apify\",\n    \"url\": \"https://github.com/apify\",\n    \"displayedUrl\": \"https://github.com › apify\",\n    \"description\": \"Generic REST API for scraping websites. Drop-in replacement for ScrapingBee, ScrapingAnt, and ScraperAPI services. And it is open-source!\",\n    \"emphasizedKeywords\": [],\n    \"siteLinks\": [],\n    \"productInfo\": {},\n    \"type\": \"organic\",\n    \"position\": 3\n    },\n    {\n    \"title\": \"Apify Pricing, Alternatives & More 2024\",\n    \"url\": \"https://www.capterra.com/p/150854/Apify/\",\n    \"displayedUrl\": \"https://www.capterra.com › Data Extraction Software\",\n    \"description\": \"Apify is used by large enterprises, SMEs, and independent developers. The Apify platform lets you turn any website into an API and reliably extract data at any ...\",\n    \"emphasizedKeywords\": [\n    \"Apify\"\n    ],\n    \"siteLinks\": [],\n    \"productInfo\": {\n    \"rating\": 4.8,\n    \"numberOfReviews\": 150\n    },\n    \"type\": \"organic\",\n    \"position\": 4\n    },\n    {\n    \"title\": \"Apify\",\n    \"url\": \"https://cz.linkedin.com/company/apifytech\",\n    \"displayedUrl\": \"6.6K+ followers\",\n    \"description\": \"Apify is a full-stack web scraping and browser automation platform that lets you extract data from websites and automate workflows on the web.\",\n    \"emphasizedKeywords\": [\n    \"Apify\"\n    ],\n    \"siteLinks\": [],\n    \"productInfo\": {},\n    \"type\": \"organic\",\n    \"position\": 5\n    },\n    {\n    \"title\": \"Apify Reviews 2024: Details, Pricing, & Features\",\n    \"url\": \"https://www.g2.com/products/apify/reviews\",\n    \"displayedUrl\": \"https://www.g2.com › ... › Apify › Apify Reviews\",\n    \"description\": \"One of the best features of Apify is their own free scrapers. They provide a variety of ready-made solutions for common web scraping tasks, such as extracting ...\",\n    \"emphasizedKeywords\": [\n    \"Apify\"\n    ],\n    \"siteLinks\": [],\n    \"productInfo\": {\n    \"rating\": 4.8,\n    \"numberOfReviews\": 112\n    },\n    \"type\": \"organic\",\n    \"position\": 6\n    },\n    {\n    \"title\": \"Apify Tutorial For Beginners | How To Use Apify\",\n    \"url\": \"https://www.youtube.com/watch?v=3rrpfW0bEdc\",\n    \"displayedUrl\": \"4.9K+ views  ·  9 months ago\",\n    \"description\": \"Apify review: https://speakaboutdigital.com/apify-review/ Apify Tutorial For Beginners | How To Use Apify This is my video tutorial on Apify ...\",\n    \"emphasizedKeywords\": [\n    \"Apify\"\n    ],\n    \"siteLinks\": [],\n    \"productInfo\": {},\n    \"type\": \"organic\",\n    \"position\": 7\n    }]"
8}
9EOF
10
11# Run the Actor using an HTTP API
12# See the full API reference at https://docs.apify.com/api/v2
13curl "https://api.apify.com/v2/acts/zuzka~json-to-excel/runs?token=$API_TOKEN" \
14  -X POST \
15  -d @input.json \
16  -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
  • 2 monthly users
  • 0 stars
  • 86.1% runs succeeded
  • Created in Oct 2021
  • Modified 28 days ago
Categories