# Influencer Collection & Export (`creativault/creativault-collection-export`) Actor

Submit creator collection jobs by profile links, usernames, keywords, creator videos, or post videos, then fetch data or export xlsx/csv/html files.

- **URL**: https://apify.com/creativault/creativault-collection-export.md
- **Developed by:** [creativault](https://apify.com/creativault) (community)
- **Categories:** AI, Lead generation
- **Stats:** 2 total users, 1 monthly users, 33.3% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $50.00 / 1,000 collection task submitteds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js/docs.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python/docs.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Influencer Collection & Export

Submit batch influencer collection jobs, then check status, fetch records, or export the completed task to xlsx/csv/html.

### Pricing

$0.05/task, $0.03/export, $2/1k fetched records.

### How to use

1. Start a new collection task from profile URLs, usernames, creator profile URLs, post/video URLs, or keywords.
2. Copy the returned `task_id` from the run output.
3. Use the same `task_id` to check status, fetch records, or export a completed task.
4. To run everything in one run, enable `Wait for task completion`, then choose whether to fetch records or export a file after completion.

Task type guide:

| Input type | Choose this task type | What it returns |
|---|---|---|
| Creator profile URLs | `LINK_BATCH` | Creator profile records |
| Creator usernames | `FILE_UPLOAD` | Creator profile records |
| Creator profile URLs | `CREATOR_VIDEO` | Videos from those creators |
| Post/video URLs | `POST_VIDEO` | Records for those videos |
| Keywords or hashtags | `keywordCollectionSubmit` operation | Matching creator collection task |

Twitter/X supports only profile URLs and usernames.


### Notes

- Empty searches and failed requests are not charged.
- Status polling is free.

# Actor input Schema

## `operation` (type: `string`):

Choose the workflow. Failed requests and status polling are not charged.
## `platform` (type: `string`):

Platform used when starting a new collection task. Twitter/X supports only profile URLs and usernames.
## `taskType` (type: `string`):

Choose what the Values list contains. Twitter/X supports only profile URLs and usernames, not video collection.
## `values` (type: `array`):

Used by URL/username/video collection. Add profile URLs for profile collection, usernames for username collection, profile URLs for creator-video collection, or post/video URLs for post-video collection.
## `keywords` (type: `array`):

Used only by keyword collection. Add up to 10 keywords or hashtags to discover and collect matching creators.
## `taskName` (type: `string`):

Optional name shown in collection task records.
## `webhookUrl` (type: `string`):

Optional HTTPS callback URL called when the collection task completes.
## `startTime` (type: `integer`):

Optional Unix timestamp in seconds. Mainly used by creator-video and keyword collection. Leave empty to use the backend default.
## `endTime` (type: `integer`):

Optional Unix timestamp in seconds. Defaults to current time when omitted.
## `waitForCompletion` (type: `boolean`):

Poll task status before finishing. Status polling itself is free.
## `pollIntervalSeconds` (type: `integer`):

Polling interval for async tasks.
## `maxPollAttempts` (type: `integer`):

Maximum polling attempts before timing out.
## `taskId` (type: `string`):

Required for checking status, fetching records, or exporting a completed collection task.
## `fetchData` (type: `boolean`):

Only used when starting a task with Wait for task completion enabled. For the standalone Fetch records operation, records are fetched automatically. Returned records are charged at $2 per 1,000 records.
## `exportFormat` (type: `string`):

Used by Export an existing task. Also used after submitting a task when Wait for task completion is enabled. Leave as Do not export to avoid automatic export after submit. Standalone export defaults to xlsx if omitted.
## `maxResults` (type: `integer`):

Maximum records to fetch and charge for when using Fetch task data.
## `size` (type: `integer`):

Page size for fetching task records.
## `maxRetries` (type: `integer`):

Retries for temporary CreatiVault API rate-limit and server errors.

## Actor input object example

```json
{
  "operation": "collectionSubmit",
  "platform": "tiktok",
  "taskType": "LINK_BATCH",
  "values": [
    "https://www.tiktok.com/@momentosforest"
  ],
  "taskName": "Apify sample collection",
  "waitForCompletion": false,
  "pollIntervalSeconds": 60,
  "maxPollAttempts": 45,
  "fetchData": false,
  "exportFormat": "",
  "maxResults": 100,
  "size": 50,
  "maxRetries": 3
}
````

# Actor output Schema

## `results` (type: `string`):

Submitted task records, fetched creator records, and export metadata.

# 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 = {
    "values": [
        "https://www.tiktok.com/@momentosforest"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("creativault/creativault-collection-export").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 = { "values": ["https://www.tiktok.com/@momentosforest"] }

# Run the Actor and wait for it to finish
run = client.actor("creativault/creativault-collection-export").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 '{
  "values": [
    "https://www.tiktok.com/@momentosforest"
  ]
}' |
apify call creativault/creativault-collection-export --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=creativault/creativault-collection-export",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Influencer Collection & Export",
        "description": "Submit creator collection jobs by profile links, usernames, keywords, creator videos, or post videos, then fetch data or export xlsx/csv/html files.",
        "version": "1.0",
        "x-build-id": "vq0mRgSjqeBgRaEA0"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/creativault~creativault-collection-export/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-creativault-creativault-collection-export",
                "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/creativault~creativault-collection-export/runs": {
            "post": {
                "operationId": "runs-sync-creativault-creativault-collection-export",
                "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/creativault~creativault-collection-export/run-sync": {
            "post": {
                "operationId": "run-sync-creativault-creativault-collection-export",
                "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": [
                    "operation"
                ],
                "properties": {
                    "operation": {
                        "title": "What do you want to do?",
                        "enum": [
                            "collectionSubmit",
                            "keywordCollectionSubmit",
                            "collectionStatus",
                            "collectionData",
                            "collectionExport"
                        ],
                        "type": "string",
                        "description": "Choose the workflow. Failed requests and status polling are not charged.",
                        "default": "collectionSubmit"
                    },
                    "platform": {
                        "title": "Platform for new collection tasks",
                        "enum": [
                            "",
                            "tiktok",
                            "youtube",
                            "instagram",
                            "twitter"
                        ],
                        "type": "string",
                        "description": "Platform used when starting a new collection task. Twitter/X supports only profile URLs and usernames.",
                        "default": "tiktok"
                    },
                    "taskType": {
                        "title": "What will you provide?",
                        "enum": [
                            "LINK_BATCH",
                            "FILE_UPLOAD",
                            "CREATOR_VIDEO",
                            "POST_VIDEO"
                        ],
                        "type": "string",
                        "description": "Choose what the Values list contains. Twitter/X supports only profile URLs and usernames, not video collection.",
                        "default": "LINK_BATCH"
                    },
                    "values": {
                        "title": "Values for URL/username/video collection",
                        "type": "array",
                        "description": "Used by URL/username/video collection. Add profile URLs for profile collection, usernames for username collection, profile URLs for creator-video collection, or post/video URLs for post-video collection.",
                        "items": {
                            "type": "string"
                        },
                        "default": [
                            "https://www.tiktok.com/@momentosforest"
                        ]
                    },
                    "keywords": {
                        "title": "Keywords for keyword collection",
                        "type": "array",
                        "description": "Used only by keyword collection. Add up to 10 keywords or hashtags to discover and collect matching creators.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "taskName": {
                        "title": "New task name",
                        "type": "string",
                        "description": "Optional name shown in collection task records.",
                        "default": "Apify sample collection"
                    },
                    "webhookUrl": {
                        "title": "Completion webhook URL",
                        "type": "string",
                        "description": "Optional HTTPS callback URL called when the collection task completes."
                    },
                    "startTime": {
                        "title": "Video/keyword collection start time",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Optional Unix timestamp in seconds. Mainly used by creator-video and keyword collection. Leave empty to use the backend default."
                    },
                    "endTime": {
                        "title": "Video/keyword collection end time",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Optional Unix timestamp in seconds. Defaults to current time when omitted."
                    },
                    "waitForCompletion": {
                        "title": "Wait for task completion",
                        "type": "boolean",
                        "description": "Poll task status before finishing. Status polling itself is free.",
                        "default": false
                    },
                    "pollIntervalSeconds": {
                        "title": "Poll interval seconds",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Polling interval for async tasks.",
                        "default": 60
                    },
                    "maxPollAttempts": {
                        "title": "Max poll attempts",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Maximum polling attempts before timing out.",
                        "default": 45
                    },
                    "taskId": {
                        "title": "Existing collection task ID",
                        "type": "string",
                        "description": "Required for checking status, fetching records, or exporting a completed collection task."
                    },
                    "fetchData": {
                        "title": "After waiting, also fetch records",
                        "type": "boolean",
                        "description": "Only used when starting a task with Wait for task completion enabled. For the standalone Fetch records operation, records are fetched automatically. Returned records are charged at $2 per 1,000 records.",
                        "default": false
                    },
                    "exportFormat": {
                        "title": "Export file format",
                        "enum": [
                            "",
                            "xlsx",
                            "csv",
                            "html",
                            "feishu_doc"
                        ],
                        "type": "string",
                        "description": "Used by Export an existing task. Also used after submitting a task when Wait for task completion is enabled. Leave as Do not export to avoid automatic export after submit. Standalone export defaults to xlsx if omitted.",
                        "default": ""
                    },
                    "maxResults": {
                        "title": "Max records to fetch",
                        "minimum": 1,
                        "maximum": 100000,
                        "type": "integer",
                        "description": "Maximum records to fetch and charge for when using Fetch task data.",
                        "default": 100
                    },
                    "size": {
                        "title": "Page size",
                        "minimum": 1,
                        "maximum": 100,
                        "type": "integer",
                        "description": "Page size for fetching task records.",
                        "default": 50
                    },
                    "maxRetries": {
                        "title": "Max retries",
                        "minimum": 1,
                        "maximum": 10,
                        "type": "integer",
                        "description": "Retries for temporary CreatiVault API rate-limit and server errors.",
                        "default": 3
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
