$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "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 }]"
<}
<EOF
$curl "https://api.apify.com/v2/acts/zuzka~json-to-excel/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'