Apify
apifyApify is a platform for building, deploying, and managing web scraping and automation tools, known as Actors.
Acciones disponibles (28)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Create ActorAPIFY_CREATE_ACTORAcciónTool to create a new actor with specified configuration. use when you need to initialize a fresh actor programmatically before publishing or running it.
APIFY_CREATE_ACTORAcciónTool to create a new actor with specified configuration. use when you need to initialize a fresh actor programmatically before publishing or running it.
Parámetros de entrada
namestringObligatorioUnique name for the new actor (must be 1–63 characters, lowercase letters, digits, and dashes).
titlestringHuman-readable title for the actor.
isPublicbooleanWhether the actor should be publicly visible on Apify Store.
versionsobject[]Initial actor versions definition. Each item must include versionNumber, sourceType, and buildTag.
categoriesstring[]List of category IDs to which this actor belongs.
descriptionstringDetailed description of what the actor does.
isDeprecatedbooleanWhether the actor is deprecated (discouraged for new runs).
defaultRunOptionsobjectDefault options passed when running the actor (see Apify docs for schema).
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create DatasetAPIFY_CREATE_DATASETAcciónTool to create a new dataset. use when you need to initialize or retrieve a dataset by name.
APIFY_CREATE_DATASETAcciónTool to create a new dataset. use when you need to initialize or retrieve a dataset by name.
Parámetros de entrada
namestringCustom unique name for the dataset. If omitted, a random name is generated.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Actor TaskAPIFY_CREATE_TASKAcciónTool to create a new actor task with specified settings. use when you need to configure or schedule recurring actor runs programmatically.
APIFY_CREATE_TASKAcciónTool to create a new actor task with specified settings. use when you need to configure or schedule recurring actor runs programmatically.
Parámetros de entrada
namestringObligatorioName of the task to create.
actIdstringObligatorioID or 'username~actorName' of the Actor to attach the task to.
optionsobjectTask settings object, e.g., input JSON, memoryMbytes, timeoutSecs, build, diskMbytes, webhooks.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Task WebhookAPIFY_CREATE_TASK_WEBHOOKAcciónTool to create a webhook for an actor task. use when you need external notifications about task run events (e.g., completion or failure) in downstream systems.
APIFY_CREATE_TASK_WEBHOOKAcciónTool to create a webhook for an actor task. use when you need external notifications about task run events (e.g., completion or failure) in downstream systems.
Parámetros de entrada
isAdHocbooleanIf true, webhook is ad hoc (single dispatch).
conditionobjectObligatorioCondition object specifying actor or task IDs.
eventTypesstring[]ObligatorioList of event types that trigger the webhook, e.g., ['ACTOR.TASK.RUN.SUCCEEDED'].
requestUrlstringObligatorioTarget URL to which Apify will POST the webhook payload.
descriptionstringDescription of the webhook.
idempotencyKeystringUnique key to prevent duplicate webhook creation.
headersTemplatestringJSON-like template for request headers. Some headers are managed by Apify.
payloadTemplatestringJSON-like template for the POST body. Handlebars variables allowed.
shouldInterpolateStringsbooleanWhether to interpolate variables inside strings in payloadTemplate.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete ActorAPIFY_DELETE_ACTORAcciónTool to delete an actor permanently. use when you need to remove an actor by its id or username~actorname. confirm before calling.
APIFY_DELETE_ACTORAcciónTool to delete an actor permanently. use when you need to remove an actor by its id or username~actorname. confirm before calling.
Parámetros de entrada
actorIdstringObligatorioUnique identifier of the Actor to delete, in ID format or username~actorName format.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete WebhookAPIFY_DELETE_WEBHOOKAcciónTool to delete a webhook by its id. use when removing a webhook after confirming the webhook id.
APIFY_DELETE_WEBHOOKAcciónTool to delete a webhook by its id. use when removing a webhook after confirming the webhook id.
Parámetros de entrada
webhookIdstringObligatorioUnique identifier of the webhook to delete.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Actor DetailsAPIFY_GET_ACTORAcciónTool to get details of a specific actor. use when you need actor metadata by id or username/actorname.
APIFY_GET_ACTORAcciónTool to get details of a specific actor. use when you need actor metadata by id or username/actorname.
Parámetros de entrada
actorIdstringObligatorioActor ID (24-character hex string) or username/actorName.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get all webhooksAPIFY_GET_ALL_WEBHOOKSAcciónTool to get a list of all webhooks created by the user. use when you need to enumerate webhooks before filtering or maintenance.
APIFY_GET_ALL_WEBHOOKSAcciónTool to get a list of all webhooks created by the user. use when you need to enumerate webhooks before filtering or maintenance.
Parámetros de entrada
descbooleanIf true, sort results in descending order (by creation date).
limitintegerMaximum number of webhooks to return (pagination). Must be >= 1.
offsetintegerNumber of webhooks to skip at the start (pagination). Must be >= 0.
Parámetros de salida
dataobject[]ObligatorioList of webhook objects.
errorstringError if any occurred during the execution of the action
limitintegerObligatorioLimit parameter applied.
totalintegerObligatorioTotal number of webhooks matching the query.
offsetintegerObligatorioOffset parameter applied.
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get dataset itemsAPIFY_GET_DATASET_ITEMSAcciónTool to retrieve items from a dataset. use when you need to fetch data from a specified dataset by pagination or filtering. only json format is fully supported.
APIFY_GET_DATASET_ITEMSAcciónTool to retrieve items from a dataset. use when you need to fetch data from a specified dataset by pagination or filtering. only json format is fully supported.
Parámetros de entrada
bombooleanIf true, includes BOM header in CSV output.
descbooleanIf true, return items in reverse order. Default is ascending.
omitstringComma-separated list of fields to exclude from the returned items.
cleanbooleanWhen true, removes any Apify-specific metadata from items.
limitintegerMaximum number of items to return (pagination). Default and max is 1000.
fieldsstringComma-separated list of fields to include in the returned items.
formatstringenumOutput format of dataset items. Only 'json' is fully supported.
jsoncsvxlsxoffsetintegerNumber of items to skip (pagination). Default is 0.
unwindstringName of the field to unwind into multiple items.
flattenbooleanIf true, flattens nested JSON into a single level for CSV.
datasetIdstringObligatorioIdentifier of the dataset to retrieve items from (e.g., 'username/datasetName' or dataset ID).
delimiterstringDelimiter to use for CSV format.
offsetKeystringKey to use for pagination instead of numeric offset.
skipEmptybooleanIf true, skips empty rows in CSV output.
attachmentbooleanIf true, forces 'Content-Disposition: attachment' in the response.
skipHiddenbooleanIf true, skips hidden items (include only visible items).
asciiHeadersbooleanIf true, forces ASCII-only headers in CSV format.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Default BuildAPIFY_GET_DEFAULT_BUILDAcciónTool to get the default build for an actor. use after specifying the actor id; optionally wait for the build to finish before returning.
APIFY_GET_DEFAULT_BUILDAcciónTool to get the default build for an actor. use after specifying the actor id; optionally wait for the build to finish before returning.
Parámetros de entrada
actorIdstringObligatorioActor ID or tilde-separated owner's username and Actor name (e.g. 'janedoe~my-actor').
waitForFinishnumberMaximum number of seconds to wait synchronously for the build to finish. If omitted or 0, returns immediately with the current status.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Key-Value RecordAPIFY_GET_KEY_VALUE_RECORDAcciónTool to retrieve a record from a key-value store. use when you need to fetch a specific value by key from an apify key-value store.
APIFY_GET_KEY_VALUE_RECORDAcciónTool to retrieve a record from a key-value store. use when you need to fetch a specific value by key from an apify key-value store.
Parámetros de entrada
formatstringenumDesired format of the retrieved record.
jsonxmlhtmltextstoreIdstringObligatorioID of the key-value store.
recordKeystringObligatorioKey of the record to retrieve.
attachmentbooleanIf true, force the response as an attachment (for browser downloads).
disableRedirectbooleanIf true, do not redirect to the raw value; return metadata only.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get list of buildsAPIFY_GET_LIST_OF_BUILDSAcciónTool to get a list of builds for a specific actor. use when you need paginated access to an actor’s build (version) history.
APIFY_GET_LIST_OF_BUILDSAcciónTool to get a list of builds for a specific actor. use when you need paginated access to an actor’s build (version) history.
Parámetros de entrada
descbooleanIf true, sort builds by creation date descending.
limitintegerMaximum number of builds to retrieve (pagination).
offsetintegerNumber of builds to skip (pagination).
statusstringenumFilter builds by status.
RUNNINGSUCCEEDEDFAILEDABORTEDactorIdstringObligatorioActor ID or '<username>/<actorName>' to list builds for.
unnamedbooleanIf true, return only unnamed builds.
waitForFinishintegerSeconds to wait for build to finish before returning.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get list of runsAPIFY_GET_LIST_OF_RUNSAcciónTool to get a list of runs for a specific actor. use when you need to paginate through runs and optionally filter by status before processing run data.
APIFY_GET_LIST_OF_RUNSAcciónTool to get a list of runs for a specific actor. use when you need to paginate through runs and optionally filter by status before processing run data.
Parámetros de entrada
descbooleanIf true, sort by startedAt descending. Default is ascending.
limitintegerMaximum number of runs to return (pagination). Default and max is 1000.
offsetintegerNumber of runs to skip at the start (pagination). Default is 0.
statusstringenumFilter runs by this lifecycle status.
READYRUNNINGSUCCEEDEDFAILEDTIMING-OUTTIMED-OUTABORTINGABORTEDactorIdstringObligatorioActor ID or '<username>/<actorName>' whose runs to list.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get list of task runsAPIFY_GET_LIST_OF_TASK_RUNSAcciónTool to get a list of runs for a specific actor task. use when you need to paginate through task runs and optionally filter by status.
APIFY_GET_LIST_OF_TASK_RUNSAcciónTool to get a list of runs for a specific actor task. use when you need to paginate through task runs and optionally filter by status.
Parámetros de entrada
descbooleanIf true, sort by startedAt descending. Default is ascending.
limitintegerMaximum number of array elements to return. Default and max is 1000.
offsetintegerNumber of array elements to skip. Default is 0.
statusstringenumFilter runs by this lifecycle status.
READYRUNNINGSUCCEEDEDFAILEDTIMING-OUTTIMED-OUTABORTINGABORTEDactorTaskIdstringObligatorioTask ID or '<username>~<taskName>' identifying the task.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get list of tasksAPIFY_GET_LIST_OF_TASKSAcciónTool to fetch a paginated list of tasks belonging to the authenticated user. use when you need to browse or sort tasks created by the user.
APIFY_GET_LIST_OF_TASKSAcciónTool to fetch a paginated list of tasks belonging to the authenticated user. use when you need to browse or sort tasks created by the user.
Parámetros de entrada
descbooleanIf true, sort by createdAt descending. Default is ascending.
limitintegerMaximum number of records to return (pagination). Default and max is 1000.
offsetintegerNumber of records to skip at the start (pagination). Default is 0.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get list of task webhooksAPIFY_GET_LIST_OF_TASK_WEBHOOKSAcciónTool to get a list of webhooks for a specific actor task. use when you need to review or paginate webhooks after creating or updating a task.
APIFY_GET_LIST_OF_TASK_WEBHOOKSAcciónTool to get a list of webhooks for a specific actor task. use when you need to review or paginate webhooks after creating or updating a task.
Parámetros de entrada
descbooleanIf true, sort by createdAt descending. Default is ascending.
limitintegerMaximum number of webhooks to return (pagination). Default and max is 1000.
offsetintegerNumber of webhooks to skip at the start (pagination). Default is 0.
actorTaskIdstringObligatorioActor task ID or '<username>~<taskName>' to list webhooks for.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get logAPIFY_GET_LOGAcciónTool to retrieve logs for a specific actor run or build. use after initiating an actor run or build when you need to inspect execution logs.
APIFY_GET_LOGAcciónTool to retrieve logs for a specific actor run or build. use after initiating an actor run or build when you need to inspect execution logs.
Parámetros de entrada
buildOrRunIdstringObligatorioID of the Actor run or build to retrieve the log for.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get OpenAPI DefinitionAPIFY_GET_OPEN_API_DEFINITIONAcciónTool to get the openapi definition for a specific actor build. use when you need the api schema for code generation or analysis.
APIFY_GET_OPEN_API_DEFINITIONAcciónTool to get the openapi definition for a specific actor build. use when you need the api schema for code generation or analysis.
Parámetros de entrada
tokenstringAPI authentication token. Only required for private Actors; public Actors can be queried without one.
actorIdstringObligatorioActor ID or tilde-separated owner's username and Actor name (e.g., 'user~actor-name').
buildIdstringObligatorioID of the build to retrieve, or 'default' for the default Actor build.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Task InputAPIFY_GET_TASK_INPUTAcciónTool to retrieve the input configuration of a specific task. use when you need to inspect stored task input before execution or debugging.
APIFY_GET_TASK_INPUTAcciónTool to retrieve the input configuration of a specific task. use when you need to inspect stored task input before execution or debugging.
Parámetros de entrada
taskIdstringObligatorioUnique identifier of the Actor task to retrieve input for.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Resurrect RunAPIFY_RESURRECT_RUNAcciónTool to resurrect a finished actor run. use when you need to restart a completed or failed run. deprecated endpoint; may be removed in future.
APIFY_RESURRECT_RUNAcciónTool to resurrect a finished actor run. use when you need to restart a completed or failed run. deprecated endpoint; may be removed in future.
Parámetros de entrada
runIdstringObligatorioID of the Actor run to resurrect.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Run Actor AsynchronouslyAPIFY_RUN_ACTORAcciónTool to run a specific actor asynchronously. use when you need to trigger an actor run without waiting for completion and retrieve its run details immediately.
APIFY_RUN_ACTORAcciónTool to run a specific actor asynchronously. use when you need to trigger an actor run without waiting for completion and retrieve its run details immediately.
Parámetros de entrada
bodyobjectJSON input object passed to the Actor.
buildstringSpecifies the Actor build to run (tag or build number). Defaults to default run config.
memorynumberMemory limit for the run, in megabytes. Must be power of 2 and at least 128.
actorIdstringObligatorioActor ID or '<username>~<actorName>', e.g. 'john~my-actor'.
timeoutnumberOptional timeout for the run, in seconds. Default uses actor's default timeout.
maxItemsnumberMaximum number of items that the Actor run should return.
webhooksstringBase64-encoded JSON array of webhook definitions.
waitForFinishnumberMax seconds the server waits for the run to finish. Default 0, max 60.
maxTotalChargeUsdnumberSpecifies the maximum cost of the Actor run in USD.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Run Actor SyncAPIFY_RUN_ACTOR_SYNCAcciónTool to run a specific actor synchronously with input and return its output record. use when immediate actor results are needed; runs may timeout after 300 seconds.
APIFY_RUN_ACTOR_SYNCAcciónTool to run a specific actor synchronously with input and return its output record. use when immediate actor results are needed; runs may timeout after 300 seconds.
Parámetros de entrada
buildstringBuild tag or number to run (default Actor's default build, usually 'latest').
inputobjectObligatorioJSON object passed as input to the Actor run.
memoryintegerMemory limit in MB; power of two, minimum 128. Uses default if unset.
actorIdstringObligatorioActor ID or tilde-separated owner and actor name (e.g., 'user~actor-name').
timeoutnumberRun timeout in seconds. Uses Actor default if unset; HTTP wait max 300s.
maxItemsintegerMaximum number of dataset items to return.
webhooksstringBase64-encoded JSON array defining webhooks for run notifications.
outputRecordKeystringKey of the record in the default key-value store to return (default 'OUTPUT').
maxTotalChargeUsdnumberMaximum total charge in USD for the run.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Run Actor Sync & Get Dataset ItemsAPIFY_RUN_ACTOR_SYNC_GET_DATASET_ITEMSAcciónTool to run an actor synchronously and retrieve its dataset items. use when immediate access to run results is needed.
APIFY_RUN_ACTOR_SYNC_GET_DATASET_ITEMSAcciónTool to run an actor synchronously and retrieve its dataset items. use when immediate access to run results is needed.
Parámetros de entrada
inputobjectJSON input object passed to the Actor run.
limitintegerMaximum number of items to return for pagination.
formatstringenumFormat of dataset items to retrieve.
jsoncsvrsshtmloffsetintegerNumber of items to skip for pagination.
actorIdstringObligatorioUnique identifier or name of the Actor (e.g., 'username/actor-name').
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Run Task AsynchronouslyAPIFY_RUN_TASKAcciónTool to run a specific actor task asynchronously. use when you need to trigger a task run without waiting for completion and immediately retrieve its run details.
APIFY_RUN_TASKAcciónTool to run a specific actor task asynchronously. use when you need to trigger a task run without waiting for completion and immediately retrieve its run details.
Parámetros de entrada
bodyobjectJSON input object passed to the Actor.
buildstringSpecifies the Actor build to run (tag or build number). Defaults to default run config.
memorynumberMemory limit for the run, in megabytes. Must be power of 2 and at least 128.
timeoutnumberOptional timeout for the run, in seconds. Default uses task's default timeout.
maxItemsnumberMaximum number of items that the Actor run should return.
webhooksstringBase64-encoded JSON array of webhook definitions.
actorTaskIdstringObligatorioTask ID or '<username>~<taskName>', e.g. 'john~my-task'.
waitForFinishnumberMax seconds the server waits for the run to finish. Default 0, max 60.
maxTotalChargeUsdnumberSpecifies the maximum cost of the Actor run in USD.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Store Data in DatasetAPIFY_STORE_DATA_IN_DATASETAcciónTool to store data items in a dataset. use after collecting data when you want to batch-append or update items in an existing dataset.
APIFY_STORE_DATA_IN_DATASETAcciónTool to store data items in a dataset. use after collecting data when you want to batch-append or update items in an existing dataset.
Parámetros de entrada
dataobject[]ObligatorioArray of JSON-serializable objects to store in the dataset.
omitstringComma-separated list of fields to exclude when storing items.
fieldsstringComma-separated list of fields to include when storing items.
datasetIdstringObligatorioDataset ID or name (e.g., 'username/datasetName' or dataset ID).
deduplicatebooleanIf true, deduplicate incoming items by their 'foreignId'.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Store Data in Key-Value StoreAPIFY_STORE_DATA_IN_KEY_VALUE_STOREAcciónTool to create or update a record in a key-value store. use after you have the store id and record key to persist json data.
APIFY_STORE_DATA_IN_KEY_VALUE_STOREAcciónTool to create or update a record in a key-value store. use after you have the store id and record key to persist json data.
Parámetros de entrada
storeIdstringObligatorioID of the key-value store where the record will be stored.
recordKeystringObligatorioKey under which the record will be stored or updated.
recordValueobjectObligatorioThe JSON object to store. Must be JSON-serializable.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Key-Value StoreAPIFY_UPDATE_KEY_VALUE_STOREAcciónTool to update a key-value store's properties. use when renaming or changing access or schema version of the store after confirming the store id.
APIFY_UPDATE_KEY_VALUE_STOREAcciónTool to update a key-value store's properties. use when renaming or changing access or schema version of the store after confirming the store id.
Parámetros de entrada
namestringNew name for the key-value store.
accessstringenumAccess level for the store. One of PRIVATE, SHARED, PUBLIC.
PRIVATESHAREDPUBLICstoreIdstringObligatorioIdentifier of the key-value store to update.
schemaVersionintegerSchema version to use for the store. Must be >= 1.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Task InputAPIFY_UPDATE_TASK_INPUTAcciónTool to update the input configuration of a specific actor task. use when you need to modify a scheduled tasks input before execution.
APIFY_UPDATE_TASK_INPUTAcciónTool to update the input configuration of a specific actor task. use when you need to modify a scheduled tasks input before execution.
Parámetros de entrada
inputobjectObligatorioThe new input configuration object for the task.
taskIdstringObligatorioID of the Actor task to update.
Parámetros de salida
dataobjectObligatorioThe updated input object for the actor task.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not