API / JSON scraper avatar

API / JSON scraper

Try for free

1 day trial then $5.00/month - No credit card required now

Go to Store
API / JSON scraper

API / JSON scraper

pocesar/json-downloader
Try for free

1 day trial then $5.00/month - No credit card required now

Scrape any API / JSON URLs directly to the dataset, and return them in CSV, XML, HTML, or Excel formats. Transform and filter the output. Enables you to follow pagination recursively from the payload without the need to visit the HTML page.

You can access the API / JSON scraper programmatically from your own applications by using the Apify API. You can choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.

1echo '{
2  "startUrls": [
3    {
4      "url": "https://blockchain.info/latestblock"
5    }
6  ],
7  "filterMap": "async ({ request, response, addRequest, flattenObjectKeys, context, Apify, _, moment, data, input, customData }) => {\\n  return { url: request.url, data };\\n}",
8  "handleError": "async ({ error, request, response, addRequest, _, moment, Apify, input, context }) => {\\n  \\n}",
9  "customData": {},
10  "proxyConfig": {
11    "useApifyProxy": true
12  },
13  "maxRequestRetries": 4
14}' |
15apify call pocesar/json-downloader --silent --output-dataset

API / JSON scraper API through CLI

The Apify CLI is the official tool that allows you to use API / JSON scraper locally, providing convenience functions and automatic retries on errors.

Install the Apify CLI

1npm i -g apify-cli
2apify login

Other API clients include:

Developer
Maintained by Community

Actor Metrics

  • 16 monthly users

  • 4 stars

  • >99% runs succeeded

  • Created in May 2022

  • Modified a year ago