Print env vars
Pricing
Pay per event
Go to Apify Store

Print env vars
Prints both raw and parsed environment variables provided to each actor run. Stores them to dataset, KV Store and log for easy analysis.
Pricing
Pay per event
Rating
5.0
(1)
Developer

Lukáš Křivka
Maintained by Community
Actor stats
3
Bookmarked
7
Total users
2
Monthly active users
14 days ago
Last modified
Categories
Share
Example output
These are env vars at the time of writing this actor. For latest state, just run it.
RAW ENV VARS
Available with process.env
{APIFY_PROXY_PASSWORD: '*********',APIFY_PROXY_STATUS_URL: 'http://proxy.apify.com',APIFY_USER_ID: 'mPSyG35Lffj5ybtgz',npm_config_user_agent: 'npm/10.2.4 node/v18.19.1 linux x64 workspaces/false',APIFY_IS_AT_HOME: '1',APIFY_ACT_RUN_ID: 'isBHoiJgoZxdFGedb',NODE_VERSION: '18.19.1',HOSTNAME: '6eef2bdf7271',ACTOR_DEFAULT_REQUEST_QUEUE_ID: 'QRYxQqh9XlvRmGdva',ACTOR_RUN_ID: 'isBHoiJgoZxdFGedb',APIFY_FACT: 'There are no weapons of mass destruction in Iraq, Chuck Norris lives in Oklahoma.',APIFY_DEFAULT_REQUEST_QUEUE_ID: 'QRYxQqh9XlvRmGdva',YARN_VERSION: '1.22.19',npm_node_execpath: '/usr/local/bin/node',SHLVL: '3',npm_config_noproxy: '',ACTOR_TIMEOUT_AT: '2024-04-04T14:49:28.483Z',APIFY_TIMEOUT_AT: '2024-04-04T14:49:28.483Z',HOME: '/root',npm_package_json: '/usr/src/app/package.json',ACTOR_STANDBY_PORT: '4322',APIFY_ACTOR_RUN_ID: 'isBHoiJgoZxdFGedb',npm_package_engines_node: '>=18.0.0',NODE_OPTIONS: '--max_old_space_size=30000 --max-http-header-size=80000',ACTOR_BUILD_ID: '1dwKs4eE5zBfM9s9C',APIFY_PROXY_PORT: '8011',npm_config_userconfig: '/root/.npmrc',npm_config_local_prefix: '/usr/src/app',ACTOR_DEFAULT_KEY_VALUE_STORE_ID: 'Gpo6nIdDdn3jit89X',ACTOR_EVENTS_WEBSOCKET_URL: 'ws://10.0.83.204:9092/isBHoiJgoZxdFGedb',APIFY_DEFAULT_KEY_VALUE_STORE_ID: 'Gpo6nIdDdn3jit89X',COLOR: '1',ACTOR_MEMORY_MBYTES: '256',APIFY_MEMORY_MBYTES: '256',npm_config_progress: '',ACTOR_BUILD_NUMBER: '0.0.6',APIFY_SDK_LATEST_VERSION: '2.2.2',APIFY_ACTOR_BUILD_ID: '1dwKs4eE5zBfM9s9C',APIFY_ACTOR_EVENTS_WS_URL: 'ws://10.0.83.204:9092/isBHoiJgoZxdFGedb',APIFY_ACT_ID: 'oXTuyqGR803PjzDha',ACTOR_ID: 'oXTuyqGR803PjzDha',npm_config_prefix: '/usr/local',npm_config_npm_version: '10.2.4',ACTOR_INPUT_KEY: 'INPUT',APIFY_INPUT_KEY: 'INPUT',TERM: 'xterm',APIFY_DEDICATED_CPUS: '0.0546875',APIFY_META_ORIGIN: 'DEVELOPMENT',APIFY_WORKFLOW_KEY: 'gqaov514eih1',APIFY_ACTOR_BUILD_NUMBER: '0.0.6',npm_config_cache: '/root/.npm',ACTOR_MAX_PAID_DATASET_ITEMS: '',APIFY_PROXY_HOSTNAME: '10.0.83.204',APIFY_ACTOR_ID: 'oXTuyqGR803PjzDha',npm_config_node_gyp: '/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js',PATH: '/usr/src/app/node_modules/.bin:/usr/src/node_modules/.bin:/usr/node_modules/.bin:/node_modules/.bin:/usr/local/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',NODE: '/usr/local/bin/node',npm_package_name: 'js-scrape-single-page',APIFY_DISABLE_OUTDATED_WARNING: '',APIFY_API_PUBLIC_BASE_URL: 'https://api.apify.com',ACTOR_WEB_SERVER_URL: 'https://sdmufc32a7tc.runs.apify.net',APIFY_TOKEN: '*********',npm_config_loglevel: 'silent',npm_lifecycle_script: 'node ./src/main.js',ACTOR_TASK_ID: '',npm_package_version: '0.0.1',npm_lifecycle_event: 'start',APIFY_API_BASE_URL: 'http://10.0.83.204:8010/',npm_config_update_notifier: '',ACTOR_STARTED_AT: '2024-04-04T14:43:28.483Z',ACTOR_WEB_SERVER_PORT: '4321',APIFY_CONTAINER_URL: 'https://sdmufc32a7tc.runs.apify.net',APIFY_STARTED_AT: '2024-04-04T14:43:28.483Z',APIFY_HEADLESS: '1',ACTOR_DEFAULT_DATASET_ID: 'a5ghrBUX09exB6grE',APIFY_ACTOR_TASK_ID: '',APIFY_DEFAULT_DATASET_ID: 'a5ghrBUX09exB6grE',npm_config_globalconfig: '/usr/local/etc/npmrc',npm_config_init_module: '/root/.npm-init.js',APIFY_CONTAINER_PORT: '4321',PWD: '/usr/src/app',npm_execpath: '/usr/local/lib/node_modules/npm/bin/npm-cli.js',npm_config_global_prefix: '/usr/local',npm_command: 'start',NODE_ENV: 'production',INIT_CWD: '/usr/src/app',EDITOR: 'vi'}
PARSED ENV VARS
Available with Actor.getEnv()
{apiBaseUrl: 'http://10.0.83.204:8010/',apiPublicBaseUrl: 'https://api.apify.com',chromeExecutablePath: null,dedicatedCpus: 0,disableOutdatedWarning: null,fact: 'There are no weapons of mass destruction in Iraq, Chuck Norris lives in Oklahoma.',headless: '1',inputSecretsPrivateKeyFile: null,inputSecretsPrivateKeyPassphrase: null,isAtHome: '1',localStorageDir: null,logLevel: null,logFormat: null,metaOrigin: 'DEVELOPMENT',metamorphAfterSleepMillis: null,persistStateIntervalMillis: null,proxyPassword: '*********',proxyHostname: '10.0.83.204',proxyPort: 8011,proxyStatusUrl: 'http://proxy.apify.com',purgeOnStart: null,sdkLatestVersion: '2.2.2',systemInfoIntervalMillis: null,token: '*********',userId: 'mPSyG35Lffj5ybtgz',workflowKey: 'gqaov514eih1',xvfb: null,actorBuildId: '1dwKs4eE5zBfM9s9C',actorBuildNumber: '0.0.6',actorEventsWsUrl: 'ws://10.0.83.204:9092/isBHoiJgoZxdFGedb',actorId: 'oXTuyqGR803PjzDha',actorMaxPaidDatasetItems: null,actorRunId: 'isBHoiJgoZxdFGedb',actorTaskId: null,containerPort: 4321,containerUrl: 'https://sdmufc32a7tc.runs.apify.net',defaultDatasetId: 'a5ghrBUX09exB6grE',defaultKeyValueStoreId: 'Gpo6nIdDdn3jit89X',defaultRequestQueueId: 'QRYxQqh9XlvRmGdva',inputKey: 'INPUT',memoryMbytes: 256,startedAt: 2024-04-04T14:43:28.483Z,timeoutAt: 2024-04-04T14:49:28.483Z,actId: 'oXTuyqGR803PjzDha',actRunId: 'isBHoiJgoZxdFGedb',buildId: '1dwKs4eE5zBfM9s9C',buildNumber: '0.0.6',eventsWebsocketUrl: 'ws://10.0.83.204:9092/isBHoiJgoZxdFGedb',maxPaidDatasetItems: null,webServerPort: 4321,webServerUrl: 'https://sdmufc32a7tc.runs.apify.net'}


