Skip to main content

Apify Dataset

Apify is a web scraping and web automation platform. It provides ready-made and custom scrapers (called Actors), open-source JavaScript and Python SDKs, proxies, and other tools for running web automation jobs at scale.

This connector reads Apify datasets, where scraping jobs usually store their results, through the Apify API v2 and syncs them to your destination.

Prerequisites​

  • An Apify account
  • Your Apify personal API token
  • The ID of the dataset you want to sync

Set up the connector​

API token: In Apify Console, copy your personal API token from Settings > Integrations. For details, see API token in the Apify documentation.

Dataset ID: In Apify Console, find the dataset ID under Storage > Datasets.

Trigger an Airbyte sync from an Apify webhook​

When an Actor run finishes, it can start an Airbyte sync. Configure an Apify webhook to notify an orchestrator that obtains a fresh Airbyte access token and then creates a sync job for your connection.

Airbyte Public API access tokens expire after 15 minutes. A token stored in a webhook's static Authorization header won't keep working for later Actor runs. See Configuring API access for application credentials and token generation.

Apify webhook configured to trigger an Airbyte connection sync

Supported sync modes​

FeatureSupported?
Full Refresh SyncYes
Incremental SyncNo

None of the streams have a cursor, so every sync reads the full result set again.

Streams​

StreamEndpointPrimary key
dataset_collectionGET /v2/datasetsid
datasetGET /v2/datasets/{datasetId}id
item_collectionGET /v2/datasets/{datasetId}/itemsNone
item_collection_website_content_crawlerGET /v2/datasets/{datasetId}/itemsNone

dataset_collection​

Lists the datasets in your Apify account. This stream doesn't use the dataset ID from your configuration.

The Apify API returns only named datasets by default, and the connector doesn't request unnamed ones. The default dataset that each Actor run creates is unnamed, so it doesn't appear in this stream unless you name it. The dataset, item_collection, and item_collection_website_content_crawler streams work with any dataset ID, named or unnamed.

dataset​

Returns the metadata of the dataset you configured, such as its name, item count, and creation time.

item_collection​

Returns every item in the configured dataset. Because item shapes depend on the Actor that produced them, the connector wraps each item in a single data object instead of declaring a fixed schema. This lets the stream work with datasets from any Actor, but your destination receives each item's fields nested inside data rather than as separate columns.

The connector doesn't request cleaned output, so items include hidden fields (top-level fields whose names start with #).

Limitations:

  • Empty items ({}) are skipped.
  • Since version 2.2.62, each item must be a JSON object. If the dataset contains non-object items, such as numbers or strings, the sync fails with a TypeError.
  • Since version 2.2.62, if an item is nested more than 200 levels deep, or contains a number outside the 64-bit float range (for example, 1e400) or NaN/Infinity, the connector sets data to a string representation of the item instead of an object.
  • Since version 2.2.62, if an item has a top-level __airbyte_apify_wrapped_item key, the contents of that key are merged into the top level of the record next to data.

item_collection_website_content_crawler​

Reads the same endpoint as item_collection, but uses a fixed schema that matches the output of the Website Content Crawler Actor. Use this stream only for datasets that Website Content Crawler produced. For datasets from other Actors, use item_collection.

Rate limits​

For endpoints that return lists, the connector requests 50 records per page. Apify applies a global rate limit of 250,000 requests per minute per user and a default limit of 60 requests per second per resource, such as a single dataset. When Apify returns HTTP 429, the connector retries the request with exponential backoff.

IP allow list​

If you use Airbyte Cloud and your organization restricts access to specific IPs, add the Airbyte Cloud IP addresses to your allow list.

Reference​

Config fields reference

Field
Type
Property name
string
dataset_id
string
token

Changelog​

Expand to review
VersionDatePull RequestSubject
2.2.672026-11-1091349Update dependencies
2.2.662026-11-0390475Update dependencies
2.2.652026-10-2789790Update dependencies
2.2.642026-10-2089135Update dependencies
2.2.632026-10-1388544Update dependencies
2.2.622026-10-0888134Replace the custom item_collection record extractor with built-in declarative transformations; record output is unchanged except for the edge cases listed under item_collection
2.2.612026-10-0687770Update dependencies
2.2.602026-09-2987064Update dependencies
2.2.592026-09-2286526Update dependencies
2.2.582026-09-1585955Update dependencies
2.2.572026-09-0884487Update dependencies
2.2.562026-08-1183850Update dependencies
2.2.552026-07-2883194Update to CDK 7.23.8 (fixes AirbyteCustomCodeNotPermittedError for bundled custom components) and remove the temporary Cloud version override
2.2.542026-07-281082Roll Cloud back to 2.2.52 — 2.2.53 is built on SDM 7.23.7, which breaks bundled custom components
2.2.532026-07-2882834Update dependencies
2.2.522026-07-2182336Update dependencies
2.2.512026-07-1481739Update dependencies
2.2.502026-06-3080961Update dependencies
2.2.492026-06-2380380Update dependencies
2.2.482026-06-1679760Update dependencies
2.2.472026-06-0979203Update dependencies
2.2.462026-06-0278578Update dependencies
2.2.452026-04-2877189Update dependencies
2.2.442026-04-2176502Update dependencies
2.2.432026-03-3175895Update dependencies
2.2.422026-03-1775003Update dependencies
2.2.412026-03-1074482Update dependencies
2.2.402026-02-2473807Update dependencies
2.2.392026-02-0372687Update dependencies
2.2.382026-01-2071876Update dependencies
2.2.372026-01-1471443Update dependencies
2.2.362026-01-0871099Update logo
2.2.352025-12-1870793Update dependencies
2.2.342025-11-2569867Update dependencies
2.2.332025-11-1869519Update dependencies
2.2.322025-11-0468843Update dependencies
2.2.312025-10-2168364Update dependencies
2.2.302025-10-1467997Update dependencies
2.2.292025-10-0767163Update dependencies
2.2.282025-09-3066273Update dependencies
2.2.272025-08-0964655Update dependencies
2.2.262025-08-0264432Update dependencies
2.2.252025-07-2663802Update dependencies
2.2.242025-07-0562540Update dependencies
2.2.232025-06-2862139Update dependencies
2.2.222025-06-1561108Update dependencies
2.2.212025-05-1760677Update dependencies
2.2.202025-05-1059857Update dependencies
2.2.192025-05-0359312Update dependencies
2.2.182025-04-2658251Update dependencies
2.2.172025-04-1257599Update dependencies
2.2.162025-04-0557134Update dependencies
2.2.152025-03-2956579Update dependencies
2.2.142025-03-2256107Update dependencies
2.2.132025-03-0855423Update dependencies
2.2.122025-03-0154885Update dependencies
2.2.112025-02-2254235Update dependencies
2.2.102025-02-1553872Update dependencies
2.2.92025-02-0853440Update dependencies
2.2.82025-02-0152904Update dependencies
2.2.72025-01-2552208Update dependencies
2.2.62025-01-1851740Update dependencies
2.2.52025-01-1151257Update dependencies
2.2.42024-12-2850468Update dependencies
2.2.32024-12-2150217Update dependencies
2.2.22024-12-1449553Update dependencies
2.2.12024-12-1248216Update dependencies
2.2.02024-10-2947286Migrate to manifest only format
2.1.272024-10-2947068Update dependencies
2.1.262024-10-1246837Update dependencies
2.1.252024-10-0146373add user-agent header to be able to track Airbyte integration on Apify
2.1.242024-10-0546430Update dependencies
2.1.232024-09-2846146Update dependencies
2.1.222024-09-2145820Update dependencies
2.1.212024-09-1445479Update dependencies
2.1.202024-09-0745252Update dependencies
2.1.192024-08-3144962Update dependencies
2.1.182024-08-2444734Update dependencies
2.1.172024-08-1744204Update dependencies
2.1.162024-08-1043607Update dependencies
2.1.152024-08-0343071Update dependencies
2.1.142024-07-2742627Update dependencies
2.1.132024-07-2042364Update dependencies
2.1.122024-07-1341893Update dependencies
2.1.112024-07-1041344Update dependencies
2.1.102024-07-0941189Update dependencies
2.1.92024-07-0640813Update dependencies
2.1.82024-06-2540411Update dependencies
2.1.72024-06-2240187Update dependencies
2.1.62024-06-0439010[autopull] Upgrade base image to v1.2.1
2.1.52024-04-1937115Updating to 0.80.0 CDK
2.1.42024-04-1837115Manage dependencies with Poetry.
2.1.32024-04-1537115Base image migration: remove Dockerfile and use the python-connector-base image
2.1.22024-04-1237115schema descriptions
2.1.12023-12-1433414Prepare for airbyte-lib
2.1.02023-10-1331333Add stream for arbitrary datasets
2.0.02023-09-1830428Fix broken stream, manifest refactor
1.0.02023-08-2529859Migrate to lowcode
0.2.02022-06-2028290Make connector work with platform changes not syncing empty stream schemas.
0.1.112022-04-2712397No changes. Used connector to test publish workflow changes.
0.1.92022-04-05PR#11712No changes from 0.1.4. Used connector to test publish workflow changes.
0.1.42021-12-23PR#8434Update fields in source-connectors specifications
0.1.22021-11-08PR#7499Remove base-python dependencies
0.1.02021-07-29PR#5069Initial version of the connector