# Instagram (IG) Recent Post Scraper Downloader Viewer (`scraped/instagram-ig-recent-post-scraper-downloader-viewer`)

Scrape most recent 12 posts for an Instagram profile.

- **URL**: https://beta-securitybyobscurity.apify.com/scraped/instagram-ig-recent-post-scraper-downloader-viewer.md
- **Developed by:** [scraped](https://beta-securitybyobscurity.apify.com/scraped) (community)
- **Categories:** Automation, Social media, Videos
- **Stats:** 2 total users, 2 monthly users, 93.8% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

$17.00/month + usage

To use this Actor, you pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period.
You also pay for the Apify platform usage, which gets cheaper the higher Apify subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#rental-actors

# README

### Scrape Instagram recent post data for specific @ username

This scraper provides recent post data from [Instagram](https://instagram.com) for the username you input.

This solution is experimental. Please be patient in waiting for data to be returned, it will take some time.

### Sample Output

Here is an example of the output you can expect from scraping instagram posts:

```json


[
  {
    "username": "stockx",
    "caption": "SGA working the register at the @converse Shai 001 release in Toronto did not disappoint 🫣\n\n🎥 @marcus23fraser",
    "likes": 931,
    "comments": 19,
    "created_time": "06 September 2025 16:24:42",
    "post_type": "video",
    "post_url": "https://cdn.scanick.com/?uri=aHR0cHM6Ly9zY29udGVudC1jcGgyLTEuY2RuaW5zdGFncmFtLmNvbS9vMS92L3QyL2YyL204Ni9BUU1IV1c4SG80UkhVOTZWdER0MEVNSVF5VXg5YnlVUzZfaHdwUnlTTFdBbmtkTEZYcWV5S1lNUXprZFdwSFpkUmZEajlQLUlmcFBya09vQ1A2bzIyeFNsRXRtLUF6a1kxNklwTUxRLm1wND9fbmNfY2F0PTEwNSZfbmNfc2lkPTVlOTg1MSZfbmNfaHQ9c2NvbnRlbnQtY3BoMi0xLmNkbmluc3RhZ3JhbS5jb20mX25jX29oYz11NDN5RjVXWG1Vc1E3a052d0dqeWRKSiZlZmc9ZXlKMlpXNWpiMlJsWDNSaFp5STZJbmh3ZGw5d2NtOW5jbVZ6YzJsMlpTNUpUbE5VUVVkU1FVMHVRMHhKVUZNdVF6TXVOekl3TG1SaGMyaGZZbUZ6Wld4cGJtVmZNVjkyTVNJc0luaHdkbDloYzNObGRGOXBaQ0k2TnpVME5EVTVNemMwTVRNNU9UUXdMQ0oyYVY5MWMyVmpZWE5sWDJsa0lqb3hNREE1T1N3aVpIVnlZWFJwYjI1ZmN5STZNVFlzSW5WeWJHZGxibDl6YjNWeVkyVWlPaUozZDNjaWZRJTNEJTNEJmNjYj0xNy0xJnZzPTNlNWU0OWVkZGQ2NGI0NDYmX25jX3ZzPUhCa3NGUUlZVW1sblgzaHdkbDl5WldWc2MxOXdaWEp0WVc1bGJuUmZjM0pmY0hKdlpDOHdORFF6TURSQ01EazRORU0wTUVVMVJrTXdNVE16UlRkQlJFWkdOVU5CUWw5MmFXUmxiMTlrWVhOb2FXNXBkQzV0Y0RRVkFBTElBUklBRlFJWU9uQmhjM04wYUhKdmRXZG9YMlYyWlhKemRHOXlaUzlIUTJaMldIbENXRGd3WW14TFF6aEdRVXh3VmpZd01DMU5kVXA2WW5GZlJVRkJRVVlWQWdMSUFSSUFLQUFZQUJzQ2lBZDFjMlZmYjJsc0FURVNjSEp2WjNKbGMzTnBkbVZmY21WamFYQmxBVEVWQUFBbXlPanhyNmlMMXdJVkFpZ0NRek1zRjBBd082WGpVX2ZQR0JKa1lYTm9YMkpoYzJWc2FXNWxYekZmZGpFUkFIWC1CMlhtblFFQSZfbmNfZ2lkPXd5VUVmeklfaTg3WTU5ZEZybnk2TlEmX25jX3p0PTI4Jm9oPTAwX0FmWnNnUk9sOGtWWldrTUxDY2dUNEdGR2NaRUdVRjJ5aVBmTDFfSDZKM2h0OVEmb2U9NjhCRTY3RjI=",
    "sidecar_urls": []
  },
  {
    "username": "stockx",
    "caption": "Just landed: Jordan 4 Retro ‘Cave Stone.’ Nike Air on the heel, premium suede all around. Available now on StockX.",
    "likes": 865,
    "comments": 2,
    "created_time": "06 September 2025 14:21:32",
    "post_type": "sidecar",
    "post_url": "https://cdn.scanick.com/?uri=aHR0cHM6Ly9zY29udGVudC1jcGgyLTEuY2RuaW5zdGFncmFtLmNvbS92L3Q1MS4yODg1LTE1LzU0MjU1ODM2Nl8xODUyNjUzOTQ0ODA2MzE5M18xMTk4Njg0OTI4MjY1MDE5MDEyX24uanBnP3N0cD1kc3QtanBnX2UzNV90dDYmZWZnPWV5SjJaVzVqYjJSbFgzUmhaeUk2SWtOQlVrOVZVMFZNWDBsVVJVMHVhVzFoWjJWZmRYSnNaMlZ1TGpFME5EQjRNVGd3TUM1elpISXVaamd5TnpnM0xtUmxabUYxYkhSZmFXMWhaMlV1WXpJaWZRJl9uY19odD1zY29udGVudC1jcGgyLTEuY2RuaW5zdGFncmFtLmNvbSZfbmNfY2F0PTEwNSZfbmNfb2M9UTZjWjJRSHlMODFkZnBqc2tyLUxicWFpNEJTQkZDV3VmMUNyQUNfU28tWHVabXFnVE5WWDM1STRCTGdhazZBcmRISXdQODAmX25jX29oYz1Dekl3WEkxRV92WVE3a052d0U5U2RadCZfbmNfZ2lkPXd5VUVmeklfaTg3WTU5ZEZybnk2TlEmZWRtPUFQNHNiZDRCQUFBQSZjY2I9Ny01JmlnX2NhY2hlX2tleT1NemN4TlRjeU1UQTNNamszTkRFMk5URTVOZyUzRCUzRC4zLWNjYjctNSZvaD0wMF9BZmJ6dXdmbUJyT0xmTlF2M0NTYkt3RnpZcTVtelJDaVhLdGdRbFJOVjU0ZEFBJm9lPTY4QzI0N0FBJl9uY19zaWQ9N2E5ZjRi",
    "sidecar_urls": [
      "https://cdn.scanick.com/?uri=aHR0cHM6Ly9zY29udGVudC1jcGgyLTEuY2RuaW5zdGFncmFtLmNvbS92L3Q1MS4yODg1LTE1LzU0MjU1ODM2Nl8xODUyNjUzOTQ0ODA2MzE5M18xMTk4Njg0OTI4MjY1MDE5MDEyX24uanBnP3N0cD1kc3QtanBnX2UzNV90dDYmZWZnPWV5SjJaVzVqYjJSbFgz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QTNNamszTkRFeU5ERXlOQSUzRCUzRC4zLWNjYjctNSZvaD0wMF9BZllwMlEyU3JRdFNQQ1hfZTFiTWpqWldodktiX0tDeDFJX0xabm1yM1JvSFVBJm9lPTY4QzI2ODFBJl9uY19zaWQ9N2E5ZjRi",
      "https://cdn.scanick.com/?uri=aHR0cHM6Ly9zY29udGVudC1jcGgyLTEuY2RuaW5zdGFncmFtLmNvbS92L3Q1MS4yODg1LTE1LzU0MjM4OTY4Nl8xODUyNjUzOTU0NzA2MzE5M18yMjk0NTQ3MzE2MzE0OTE0OTgzX24uanBnP3N0cD1kc3QtanBnX2UzNV90dDYmZWZnPWV5SjJaVzVqYjJSbFgzUmhaeUk2SWtOQlVrOVZVMFZNWDBsVVJVMHVhVzFoWjJWZmRYSnNaMlZ1TGpFME5EQjRNVGd3TUM1elpISXVaamd5TnpnM0xtUmxabUYxYkhSZmFXMWhaMlV1WXpJaWZRJl9uY19odD1zY29udGVudC1jcGgyLTEuY2RuaW5zdGFncmFtLmNvbSZfbmNfY2F0PTEwNSZfbmNfb2M9UTZjWjJRSHlMODFkZnBqc2tyLUxicWFpNEJTQkZDV3VmMUNyQUNfU28tWHVabXFnVE5WWDM1STRCTGdhazZBcmRISXdQODAmX25jX29oYz0yUmlXbThEVDBOb1E3a052d0VCWDRSNiZfbmNfZ2lkPXd5VUVmeklfaTg3WTU5ZEZybnk2TlEmZWRtPUFQNHNiZDRCQUFBQSZjY2I9Ny01JmlnX2NhY2hlX2tleT1NemN4TlRjeU1UQTNNamszTkRFeE1EUXdNQSUzRCUzRC4zLWNjYjctNSZvaD0wMF9BZmJGOHFMVzdyaXlnaVhxeWlsWlZLVm1lNDZTNTgyaUJTYzRUU2p6ZldmMXd3Jm9lPTY4QzI0OEE5Jl9uY19zaWQ9N2E5ZjRi"
    ]
  },
  {
    "username": "stockx",
    "caption": "The Tom Sachs x Nike Mars Yard project has been evolving for over a decade. We break down the Mars Yard 3.0, what’s different this time, and how you can secure your pair.",
    "likes": 3499,
    "comments": 46,
    "created_time": "05 September 2025 21:10:40",
    "post_type": "video",
    "post_url": "https://cdn.scanick.com/?uri=aHR0cHM6Ly9zY29udGVudC1jcGgyLTEuY2RuaW5zdGFncmFtLmNvbS9vMS92L3QyL2YyL204Ni9BUU02bHNjb0QzLUFhejhLT3JWNDRfaGFrcGh4bHhVOXBkUU1zeHJGdUx6M0x2dGNBMGoyRHNabzlXR0kwNDhyd1dnUGNvcFlRb0tCUXJ5VVR1RDlPVk5rdHZTTUJ4UXpMQ0ZfbEhNLm1wND9fbmNfY2F0PTExMSZfbmNfc2lkPTVlOTg1MSZfbmNfaHQ9c2NvbnRlbnQtY3BoMi0xLmNkbmluc3RhZ3JhbS5jb20mX25jX29oYz0wWU9qSXpFMWJOUVE3a052d0hPT2xqdiZlZmc9ZXlKMlpXNWpiMlJsWDNSaFp5STZJbmh3ZGw5d2NtOW5jbVZ6YzJsMlpTNUpUbE5VUVVkU1FVMHVRMHhKVUZNdVF6TXVOekl3TG1SaGMyaGZZbUZ6Wld4cGJtVmZNVjkyTVNJc0luaHdkbDloYzNObGRGOXBaQ0k2T0RBME1UZzFOakExTXpZd016Z3dMQ0oyYVY5MWMyVmpZWE5sWDJsa0lqb3hNREE1T1N3aVpIVnlZWFJwYjI1ZmN5STZOREVzSW5WeWJHZGxibDl6YjNWeVkyVWlPaUozZDNjaWZRJTNEJTNEJmNjYj0xNy0xJnZzPTNlNDU3MTUzNTBlZmFjMWQmX25jX3ZzPUhCa3NGUUlZVW1sblgzaHdkbDl5WldWc2MxOXdaWEp0WVc1bGJuUmZjM0pmY0hKdlpDOHhNalF4TWpGRE1FTkJSRFpDUmpZNE1rWXdNVFZFUWpRelFUWXdOa0pCUmw5MmFXUmxiMTlrWVhOb2FXNXBkQzV0Y0RRVkFBTElBUklBRlFJWU9uQmhjM04wYUhKdmRXZG9YMlYyWlhKemRHOXlaUzlIUmxWdlZsTkJiMFI0YTFWQmRuZEhRVU5GTmtsMk5VZEZSVGgyWW5GZlJVRkJRVVlWQWdMSUFSSUFLQUFZQUJzQ2lBZDFjMlZmYjJsc0FURVNjSEp2WjNKbGMzTnBkbVZmY21WamFYQmxBVEVWQUFBbS1LdTYxZUhaN1FJVkFpZ0NRek1zRjBCRWtRWWszUzhiR0JKa1lYTm9YMkpoYzJWc2FXNWxYekZmZGpFUkFIWC1CMlhtblFFQSZfbmNfZ2lkPXd5VUVmeklfaTg3WTU5ZEZybnk2TlEmX25jX3p0PTI4Jm9oPTAwX0FmWm5IT3g2OHRidDMwNXJIUVhqbFctSWJGZlVBRVRLbmppOGtNa2NDOHhrYUEmb2U9NjhCRTVGQzA=",
    "sidecar_urls": []
  }
]

```

### How it works

`username` input the username you want data for. Do not include the @ prefix.

### Support

Please email scraperhelp@gmail.com if you need any additional support.

# Actor input Schema

## `usernames` (type: `array`):

A list of Instagram usernames you want to get recent post data from

## Actor input object example

```json
{
  "usernames": [
    "kimkardashian",
    "therock"
  ]
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "usernames": [
        "kimkardashian",
        "therock"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("scraped/instagram-ig-recent-post-scraper-downloader-viewer").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "usernames": [
        "kimkardashian",
        "therock",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("scraped/instagram-ig-recent-post-scraper-downloader-viewer").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "usernames": [
    "kimkardashian",
    "therock"
  ]
}' |
apify call scraped/instagram-ig-recent-post-scraper-downloader-viewer --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=scraped/instagram-ig-recent-post-scraper-downloader-viewer",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Instagram (IG) Recent Post Scraper Downloader Viewer",
        "description": "Scrape most recent 12 posts for an Instagram profile.",
        "version": "0.0",
        "x-build-id": "3Tv9WgGCzMD29YhFe"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/scraped~instagram-ig-recent-post-scraper-downloader-viewer/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-scraped-instagram-ig-recent-post-scraper-downloader-viewer",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/scraped~instagram-ig-recent-post-scraper-downloader-viewer/runs": {
            "post": {
                "operationId": "runs-sync-scraped-instagram-ig-recent-post-scraper-downloader-viewer",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/scraped~instagram-ig-recent-post-scraper-downloader-viewer/run-sync": {
            "post": {
                "operationId": "run-sync-scraped-instagram-ig-recent-post-scraper-downloader-viewer",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "usernames"
                ],
                "properties": {
                    "usernames": {
                        "title": "Instagram Usernames",
                        "type": "array",
                        "description": "A list of Instagram usernames you want to get recent post data from",
                        "items": {
                            "type": "string"
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
