Skip to main content

Vancam CLI

Real-world observation for AI agents.

Command-line client for the Vancam camera spatial search API (api.vancam.ai), giving developers and AI agents instant access to 1M+ live public cameras across 100+ countries — the same backend used by the MCP server and the vancam.ai web app.

Instead of relying on outdated web pages or user reports, Vancam provides fresh visual evidence from the physical world, letting AI systems answer location-based questions with confidence.

vancam REST API
   ├── vancam-mcp     (MCP server)
   ├── vancam-cli     (this project)
   ├── SDKs           (future)
   └── vancam.ai      (web app)

Install

pip install vancam

Setup

No setup required to try it — defaults to a shared, public key if VANCAM_API_KEY isn't set. That's one key used by every anonymous caller, so its 1 req/s / 500 requests/month limit is a collective pool shared across all of them, not 500 each. For a limit that's yours alone (5 req/s, 500 requests/month, not shared), get a free personal key from your account dashboard at vancam.ai/account:

cp .env.example .env
# edit .env, or export VANCAM_API_KEY directly

Usage

# N nearest cameras to a point
vancam nearest --lat 49.2827 --lon -123.1207 --limit 5

# Cameras within a radius (km)
vancam radius --lat 49.2827 --lon -123.1207 --radius 1

# Cameras along a route
vancam route --origin-lat 49.2827 --origin-lon -123.1207 \
             --dest-lat 49.2965 --dest-lon -123.0884 --buffer 100

# Cameras in a bounding box
vancam bounds --min-lat 49.2 --min-lon -123.2 --max-lat 49.3 --max-lon -123.0

# Single camera by ID
vancam get 30145

# Live image
vancam image 30145                    # prints the image URL
vancam image 30145 -o camera.jpg      # downloads it

All commands print JSON to stdout (--compact for single-line output), so this composes with jq:

vancam nearest --lat 49.2827 --lon -123.1207 --limit 1 | jq '.cameras[0].image_url'

Options

  • --api-key — override VANCAM_API_KEY
  • --compact — compact JSON instead of pretty-printed

Use Cases

  • Verify road and traffic conditions
  • Monitor infrastructure and public spaces
  • Check border crossings and transportation hubs
  • Build AI agents with real-world awareness
  • Power MCP servers, automation, and LLM applications

Learn More

Metadata

Release files for vancam 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vancam 0.1.0
File Size Uploaded Provenance
vancam-0.1.0.tar.gz 8.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for vancam 0.1.0
File Interpreter ABI Platform
vancam-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 16.6 kB

Release files / vancam-0.1.0.tar.gz

Download URL vancam-0.1.0.tar.gz
Size 8.5 kB
Tags Source
SHA-256 checksum
How to use checksums
eab65aa43b4044b6083d3d6e57d1d889b6dc37a14ad78fd44fb290eca4ed163e
BLAKE2b-256 checksum
How to use checksums
bf74733d90f6a63da44989945d19fec828662710af52d245948dc51a6a6848e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Release files / vancam-0.1.0-py3-none-any.whl

Download URL vancam-0.1.0-py3-none-any.whl
Size 8.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f0f18f8157e54add5d2eef584b0517023d43ea9649a34ceeaa3073df9f8c5921
BLAKE2b-256 checksum
How to use checksums
1c0262579d6f30e52a14a4c6702ccfabc8306f39985bc72f119eb677afd61e48
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Security for vancam 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page