{"id":38648659,"url":"https://github.com/urlscan/urlscan-cli","last_synced_at":"2026-04-02T14:01:42.415Z","repository":{"id":311904642,"uuid":"952416065","full_name":"urlscan/urlscan-cli","owner":"urlscan","description":"Official urlscan.io and urlscan Pro CLI tool","archived":false,"fork":false,"pushed_at":"2026-03-25T00:09:18.000Z","size":311,"stargazers_count":32,"open_issues_count":2,"forks_count":2,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-03-26T06:16:23.178Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/urlscan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-03-21T08:43:54.000Z","updated_at":"2026-03-25T14:31:57.000Z","dependencies_parsed_at":"2025-08-27T19:46:49.699Z","dependency_job_id":"e8ca28a7-9991-4e25-acc5-69585c7d9e2a","html_url":"https://github.com/urlscan/urlscan-cli","commit_stats":null,"previous_names":["urlscan/urlscan-cli"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/urlscan/urlscan-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urlscan%2Furlscan-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urlscan%2Furlscan-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urlscan%2Furlscan-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urlscan%2Furlscan-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/urlscan","download_url":"https://codeload.github.com/urlscan/urlscan-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urlscan%2Furlscan-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31307457,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T12:59:32.332Z","status":"ssl_error","status_checked_at":"2026-04-02T12:54:48.875Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-17T09:17:15.106Z","updated_at":"2026-04-02T14:01:42.407Z","avatar_url":"https://github.com/urlscan.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# urlscan-cli\n\nThe official urlscan CLI.\n\n## Installation\n\n### Built Binaries\n\nThe built binaries can be found on [the releases page](https://github.com/urlscan/urlscan-cli/releases).\n\n\u003e [!NOTE]\n\u003e Apple's [Gatekeeper](https://support.apple.com/guide/security/gatekeeper-and-runtime-protection-sec5599b66df/web) may prevent the binary from running.\n\u003e Use `xattr -c urlscan` to unblock it or install via Homebrew Cask (see below).\n\n### macOS/Linux\n\n[Homebrew](https://brew.sh/) Cask is supported for macOS/Linux:\n\n```sh\nbrew install --cask urlscan/tap/urlscan-cli\n```\n\n### Windows\n\n\u003e [!NOTE]\n\u003e There is a [WinGet package](https://winstall.app/apps/Urlscan.urlscan-cli) but it's not maintained by urlscan.\n\u003e Use at your own risk. For any issues regarding the WinGet package, please report them to the winget-pkgs repository and not here\n\n### Manual Build\n\nSee [the docs](./docs/dev.md#build).\n\n## Usage\n\n### Configuring Your API Key\n\nThere are two ways for configuring your API key:\n\n1. `URLSCAN_API_KEY` environment variable\n2. Keyring (e.g., macOS Keychain, GNOME Keyring)\n\n\u003e [!NOTE]\n\u003e Ordered by the higher precedence.\n\nIf you want to use the keyring, you can set it via the terminal or via standard input:\n\n```bash\n$ urlscan key set\nEnter a urlscan.io API key:\n# or\n$ echo \"\u003capi_key\u003e\" | urlscan key set -\n```\n\n\u003e [!NOTE]\n\u003e Keyring suport for Linux depends on [GNOME Keyring](https://wiki.gnome.org/Projects/GnomeKeyring). See [troubleshooting](./docs/troubleshooting.md#keyring) for details.\n\n### Basic Commands\n\n#### Scan\n\n```bash\nurlscan scan submit \u003curl\u003e\nurlscan scan result \u003cuuid\u003e\nurlscan search \u003cquery\u003e\n```\n\nAlternatively, you can pass an argument via the standard input by passing `-`.\n\n```bash\necho \"\u003cuuid\u003e\" | urlscan scan result -\n```\n\nSee `urlscan --help` and also [the document](docs/urlscan.md) for more details.\n\n### Proxy\n\n`HTTP_PROXY` and `HTTPS_PROXY` environment variables are respected by default. Additionally, you can set the proxy via the `--proxy` option:\n\n```bash\nurlscan --proxy http://proxy:1234 \u003ccommand\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furlscan%2Furlscan-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Furlscan%2Furlscan-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furlscan%2Furlscan-cli/lists"}