Skip to content

A command line utility to ping servers from anywhere in the world!

Notifications You must be signed in to change notification settings

BitpingApp/bping

Repository files navigation

bping

Bping demo

🚀 Ready to Start Pinging?

  1. Head over to developer.bitping.com to create your free account
  2. Create your API key in the developer dashboard
  3. Set the API Key environment variable
    • eg. export BITPING_API_KEY=your_api_key

With your API key in hand, you'll be ready to ping from anywhere in the world!

Linux/MacOS Installation

You can install bping directly using this command:

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/BitpingApp/bping/releases/latest/download/bping-installer.sh | sh

Install prebuilt binaries via Homebrew

brew install BitpingApp/tap/bping

Windows Installation

You can install bping on Windows by running this command in PowerShell:

powershell -ExecutionPolicy ByPass -c "irm https://github.com/BitpingApp/bping/releases/latest/download/bping-installer.ps1 | iex"

Install using Windows Installer

Go to the latest release and download the .msi for windows.

Help Documentation


A command line utility to ping a website from anywhere in the world!

Usage: bping [-r=<regions>] [-c=<count>] [-a=<attempts>] [--concurrency=<concurrency>] --api-key=
<api_key> [--residential=<residential>] [--mobile=<mobile>] [--proxy=<proxy>] <endpoint>

Available positional items:
    <endpoint>               Specifies the endpoint (without http://) to ping. eg. bitping.com

Available options:
    -r, --regions=<regions>  Specifies the ISO 3166-1 country codes (alpha-2 or alpha-2) & continent
                             names to send jobs to. Defaults to Anywhere.
                                     (eg. bping -r "AU,CHN,North America" bitping.com)
    -c, --count=<count>      Specifies the number of ICMP packets to send per country. Defaults to
                             3.
    -a, --attempts=<attempts>  Specifies the number of ping attempts per country. Defaults to 1.
        --concurrency=<concurrency>  Specifies how many concurrent requests to send at once.
                             Defaults to 100.
        --api-key=<api_key>  Specifies the API key for authentication. Can also be set using the
                             BITPING_API_KEY environment variable.
                             [env:BITPING_API_KEY: N/A]
        --residential=<residential>  Control residential network usage. --residential=true to
                             require, --residential=false to deny, omit to allow.
        --mobile=<mobile>    Control mobile network usage. --mobile=true to require, --mobile=false
                             to deny, omit to allow.
        --proxy=<proxy>      Control proxy network usage. --proxy=true to require, --proxy=false to
                             deny, omit to allow.
    -h, --help               Prints help information
    -V, --version            Prints version information