Json Compare

Json Compare

by petr_cermak

Act for comparing 2 JSON arrays of objects. By default the final result set will contain only new and updated records.

511 runs
17 users
Try This Actor

Opens on Apify.com

About Json Compare

Act for comparing 2 JSON arrays of objects. By default the final result set will contain only new and updated records.

What does this actor do?

Json Compare is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.

Key Features

  • Cloud-based execution - no local setup required
  • Scalable infrastructure for large-scale operations
  • API access for integration with your applications
  • Built-in proxy rotation and anti-blocking measures
  • Scheduled runs and webhooks for automation

How to Use

  1. Click "Try This Actor" to open it on Apify
  2. Create a free Apify account if you don't have one
  3. Configure the input parameters as needed
  4. Run the actor and download your results

Documentation

act-json-compare Apify act for comparing 2 JSON arrays of objects. This act fetches JSON arrays from two urls ("old" and "new"), compares them and creates a new result set based on the act settings. By default the final result set will contain only new and updated records. INPUT Input is a JSON object with the following properties: javascript { "oldJson": OLD_JSON_URL, "newJson": NEW_JSON_URL, "idAttr": ID_ATTRIBUTE_NAME, "return": WHICH_RECORDS_TO_RETURN, // optional, default: "new, updated" "addStatus": ADD_TEXT_STATUS // optional, default: false "statusAttr": STATUS_ATTR_NAME // optional, default: "status" "addChanges": ADD_CHANGE_INFO // optional, default: false "changesAttr": CHANGES_ATTR_NAME // optional, default: "changes" "updatedIf": [ // optional, column list "column_1", "column_2", ... ] } The idAttr parameter is a name of an attribute of each record, that will be used as it's ID. The return parameter can be used to tell the act which records to include in the final result set. Possible values are new, updated, deleted and unchanged, you can provide more than one separated by comma. The addStatus parameter sets if the act should add a status attribute to each of the resulting records. If true, it's value will be one of NEW, UPDATED, DELETED or UNCHANGED, depending on the value of return parameter. The addChanges parameter tells the act to include a list of columns that contained changes. This list will be added to a new changes column. The changesAttr parameter overrides the default changes column name, where the changes will be stored. The updatedIf parameter can contain an array of column names. If set, the record will be recognized as UPDATED if and only if there was a change in one of those columns. If addChanges is set to true, the changes array will contain the column names that had changes and are also present in the updatedIf array.

Common Use Cases

Market Research

Gather competitive intelligence and market data

Lead Generation

Extract contact information for sales outreach

Price Monitoring

Track competitor pricing and product changes

Content Aggregation

Collect and organize content from multiple sources

Ready to Get Started?

Try Json Compare now on Apify. Free tier available with no credit card required.

Start Free Trial

Actor Information

Developer
petr_cermak
Pricing
Paid
Total Runs
511
Active Users
17
Apify Platform

Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.

Learn more about Apify

Need Professional Help?

Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.

Find a Specialist

Trusted by millions | Money-back guarantee | 24/7 Support