Pay-as-you-go API / JSON scraper avatar

Pay-as-you-go API / JSON scraper

Try for free

Pay $25.00 for 1,000 results

View all Actors
Pay-as-you-go API / JSON scraper

Pay-as-you-go API / JSON scraper

pocesar/pay-as-you-go-api-json-scraper
Try for free

Pay $25.00 for 1,000 results

Scrape as pay-as-you-go 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 Pay-as-you-go 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/pay-as-you-go-api-json-scraper --silent --output-dataset

Pay-as-you-go API / JSON scraper API through CLI

The Apify CLI is the official tool that allows you to use Pay-as-you-go 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
  • 4 monthly users
  • 1 star
  • 100.0% runs succeeded
  • Created in Nov 2023
  • Modified 10 months ago