# Clean and Deduplicate Supplied Instagram Exports

**Use case:** 

Normalize and deduplicate three fictional posts. Before Start, paste the Actor README's exact Quick start JSON and stay in JSON view. Keep observedAt exactly 2026-10-13T12:00:00Z; the synthetic exception requires the entire demo unchanged. $0.05 per completed report, including zero-new reports. For your own exports, confirm you have the rights. No scraping.

## Input

```json
{
  "namespace": "demo-campaign",
  "batchId": "demo-001",
  "observedAt": "2026-10-13T12:00:00Z",
  "posts": [
    {
      "id": "3333333333333333333",
      "shortCode": "CygCarousel",
      "url": "https://www.instagram.com/p/CygCarousel/?example=synthetic",
      "type": "Sidecar",
      "timestamp": "2026-10-12T10:00:00Z",
      "caption": "Synthetic carousel 🌿",
      "likesCount": -1,
      "commentsCount": 0,
      "ownerUsername": "cygnix_example",
      "childPosts": [
        {
          "id": "child-synthetic-1",
          "type": "Image",
          "displayUrl": "https://example.invalid/photo.jpg",
          "customField": {
            "retained": true
          }
        },
        {
          "id": "child-synthetic-2",
          "type": "Video",
          "videoUrl": "https://example.invalid/video.mp4"
        }
      ]
    },
    {
      "id": "4444444444444444444",
      "shortCode": "CygReel",
      "url": "https://www.instagram.com/p/CygReel/",
      "type": "Video",
      "productType": "clips",
      "timestamp": "2026-10-11T12:00:00+02:00",
      "likesCount": 0,
      "videoViewCount": null,
      "videoPlayCount": 72,
      "audioUrl": "https://example.invalid/audio.mp3"
    },
    {
      "id": "5555555555555555555",
      "shortCode": "CygImage",
      "type": "Image",
      "timestamp": "2026-10-12T08:00:00Z",
      "caption": "Example image without supplied engagement counts",
      "sourceExtra": {
        "retained": true
      }
    }
  ],
  "timezone": "UTC",
  "epochUnit": "seconds",
  "rightsAcknowledged": false
}
```

## Output

```json
{
  "record_id": {
    "label": "Record ID",
    "format": "string"
  },
  "kind": {
    "label": "Kind"
  },
  "owner.username": {
    "label": "Username",
    "format": "string"
  },
  "published_at": {
    "label": "Published at"
  },
  "metrics.likes": {
    "label": "Likes",
    "format": "integer"
  },
  "metrics.comments": {
    "label": "Comments",
    "format": "integer"
  },
  "metrics.views": {
    "label": "Views",
    "format": "integer"
  },
  "metrics.plays": {
    "label": "Plays",
    "format": "integer"
  },
  "caption": {
    "label": "Caption",
    "format": "string"
  },
  "url": {
    "label": "Post URL",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Instagram JSON Export Cleaner and Deduplicator Actor is ready to run with the inputs already set for "Clean and Deduplicate Supplied Instagram Exports". [Sign up or log in](https://console.apify.com/create-task-from-example/7lywOgMDfXvKzbXKr) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Clean and Deduplicate Supplied Instagram Exports" task

The Instagram JSON Export Cleaner and Deduplicator Actor will start running based on the input automatically. You can also change all the input fields, like campaign / export stream, batch id, and more, to match your specific use case.

### 3. Receive the "Clean and Deduplicate Supplied Instagram Exports" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as record id, kind, username, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Clean and Deduplicate Supplied Instagram Exports" task via API](https://apify.com/cygnix_labs/cygnix-instagram-export-cleaner.md).

## About this Actor

This example demonstrates how to use [Instagram JSON Export Cleaner and Deduplicator](https://apify.com/cygnix_labs/cygnix-instagram-export-cleaner.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/cygnix_labs/cygnix-instagram-export-cleaner.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/cygnix_labs/cygnix-instagram-export-cleaner.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
