empty avatar

empty

Pricing

Pay per usage

Go to Apify Store
empty

empty

Placeholder project

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Daniel Georgiev

Daniel Georgiev

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

4 days ago

Last modified

Categories

Share

Echo Input

A minimal Apify Actor that logs the input and returns it unchanged.

This Actor is useful for:

  • Testing Actor inputs
  • Debugging integrations
  • Verifying webhooks
  • Learning how Apify Actors work

How to run

cmd.exe

echo {"input":"hi"} | apify call danng/empty -so --input-file -
C:\Users\danng>echo {"input":"hi"} | apify call danng/empty -so --input-file -
[{
"input": "hi"
}]

PowerShell

'{ "input": "hi" }' | apify call danng/empty -so --input-file -
PS C:\Users\danng> '{ "input": "hi" }' | apify call danng/empty -so --input-file -
[{
"input": "hi"
}]

To get the JSON

cmd

echo {"input":"hi"} | apify call danng/empty -so -i - | jq -c ".[0]"
C:\Users\danielng01>echo {"input":"hi"} | apify call danng/empty -so -i - | jq -c ".[0]"
{"input":"hi"}

PowerShell

(('{ "input": "hi" }' | apify call danng/empty -so -i - | ConvertFrom-Json)[0] | ConvertTo-Json -Compress)
{"input":"hi"}
PS C:\Users\danielng01> (('{ "input": "hi" }' | apify call danng/empty -so -i - | ConvertFrom-Json)[0] | ConvertTo-Json -Compress)
{"input":"hi"}

Input

Accepts any valid string.

Example:

{
"input": "hi"
}

Output

Returns exactly the same JSON object.

Example:

{
"input": "hi"
}

Build time

Build time is improved to 0.8sec

2026-08-05T12:55:02.286Z ACTOR: Selected directory: .
2026-08-05T12:55:02.289Z ACTOR: Extracting Actor documentation from README.md
2026-08-05T12:55:02.291Z ACTOR: Found input schema at default location .actor/INPUT_SCHEMA.json
2026-08-05T12:55:02.722Z ACTOR: Building container image (cache enabled).
2026-08-05T12:55:02.963Z #1 [internal] load build definition from Dockerfile
2026-08-05T12:55:02.965Z #1 transferring dockerfile: 1.29kB done
2026-08-05T12:55:02.967Z #1 DONE 0.0s
2026-08-05T12:55:02.969Z #2 [auth] apify/actor-python:pull token for registry-1.docker.io
2026-08-05T12:55:02.971Z #2 DONE 0.0s
2026-08-05T12:55:02.973Z #3 [internal] load metadata for docker.io/apify/actor-python:3.14
2026-08-05T12:55:02.975Z #3 DONE 0.1s
2026-08-05T12:55:03.063Z #4 [internal] load .dockerignore
2026-08-05T12:55:03.066Z #4 transferring context: 2.98kB done
2026-08-05T12:55:03.068Z #4 DONE 0.0s
2026-08-05T12:55:03.070Z #5 [1/4] FROM docker.io/apify/actor-python:3.14@sha256:...
2026-08-05T12:55:03.071Z #5 resolve docker.io/apify/actor-python:3.14@sha256:... 0.0s done
2026-08-05T12:55:03.073Z #5 DONE 0.0s
2026-08-05T12:55:03.075Z #6 importing cache manifest from s3:8888392737511599217
2026-08-05T12:55:03.077Z #6 DONE 0.0s
2026-08-05T12:55:03.079Z #7 [internal] load build context
2026-08-05T12:55:03.081Z #7 transferring context: 9.93kB done
2026-08-05T12:55:03.082Z #7 DONE 0.0s
2026-08-05T12:55:03.084Z #8 [2/4] COPY --chown=myuser:myuser requirements.txt ./
2026-08-05T12:55:03.086Z #8 CACHED
2026-08-05T12:55:03.087Z #9 [3/4] RUN echo "Python version:" && python --version && echo "Pip version:" && pip --version && echo "Installing dependencies:" && pip install -r requirements.txt
2026-08-05T12:55:03.089Z #9 CACHED
2026-08-05T12:55:03.216Z #9 [3/4] RUN echo "Python version:" && python --version && echo "Pip version:" && pip --version && echo "Installing dependencies:" && pip install -r requirements.txt
2026-08-05T12:55:03.225Z #9 sha256:... 4.19MB / 18.28MB 0.2s
2026-08-05T12:55:03.378Z #9 sha256:... 13.63MB / 18.28MB 0.3s
2026-08-05T12:55:03.487Z #9 sha256:... 18.28MB / 18.28MB 0.4s done
2026-08-05T12:55:03.490Z #9 extracting sha256:..
2026-08-05T12:55:04.023Z #9 extracting sha256:.. 0.5s done
2026-08-05T12:55:04.025Z #9 DONE 1.0s
2026-08-05T12:55:04.176Z #10 [4/4] COPY --chown=myuser:myuser . ./
2026-08-05T12:55:04.284Z #10 DONE 0.3s
2026-08-05T12:55:04.384Z ACTOR: Pushing container image to repository.
2026-08-05T12:55:04.386Z #11 exporting to image
2026-08-05T12:55:04.388Z #11 exporting layers 0.1s done
2026-08-05T12:55:04.390Z #11 exporting manifest sha256:... 0.0s done
2026-08-05T12:55:04.392Z #11 exporting config sha256:...
2026-08-05T12:55:04.528Z #11 ...
2026-08-05T12:55:04.530Z #12 [auth] sharing credentials for 031263542130.dkr.ecr.us-east-1.amazonaws.com
2026-08-05T12:55:04.532Z #12 DONE 0.0s
2026-08-05T12:55:04.534Z #11 exporting to image
2026-08-05T12:55:04.536Z #11 exporting config sha256:... 0.0s done
2026-08-05T12:55:04.537Z #11 pushing layers
2026-08-05T12:55:04.711Z #11 ...
2026-08-05T12:55:04.713Z #13 exporting cache to Amazon S3
2026-08-05T12:55:04.715Z #13 preparing build cache for export 0.0s done
2026-08-05T12:55:04.717Z #13 sending cache export 0.1s done
2026-08-05T12:55:04.718Z #13 writing layer sha256:bc0a806...4....66985af730f6c0 0.0s done
2026-08-05T12:55:04.720Z #13 DONE 0.2s
2026-08-05T12:55:04.800Z #11 exporting to image
2026-08-05T12:55:04.802Z #11 pushing layers 0.4s done
2026-08-05T12:55:05.052Z #11 DONE 0.8s
2026-08-05T12:55:05.157Z ACTOR: Build finished.
2026-08-05T13:04:04.176Z ACTOR: Pulling container image of build ... from registry.
2026-08-05T13:04:05.720Z ACTOR: Creating container.
2026-08-05T13:04:05.968Z ACTOR: Starting container.
2026-08-05T13:04:05.969Z ACTOR: Running under "LIMITED_PERMISSIONS".
2026-08-05T13:04:07.480Z Actor is running on the Apify platform, `disable_browser_sandbox` was changed to True.
2026-08-05T13:04:07.482Z [apify] INFO Initializing Actor ({"apify_sdk_version": "3.4.1", "apify_client_version": "2.5.1", "crawlee_version": "1.9.0", "python_version": "3.14.5", "os": "linux", "is_running_in_ipython": false})
2026-08-05T13:04:07.845Z [apify] INFO Received input: {'input': 'hi'}
2026-08-05T13:04:07.917Z [apify] INFO Done.
2026-08-05T13:04:07.918Z [apify] INFO Exiting Actor ({"exit_code": 0})