bnbingo
Search, verify, and score Airbnb stays against your criteria. CLI-first, Python-based, with review sentiment analysis, image-based amenity checks, and exact checkout pricing.
Unofficial tool — not affiliated with, endorsed by, or connected to Airbnb, Inc.
Features
- Search Airbnb with dates, guests, price, property type, amenities, and neighborhood filters
- Fetch exact fee-inclusive checkout prices (with a clear warning when Airbnb withholds them)
- Pull listing details, calendars, and reviews
- Score listings with weighted metrics, penalties, and hard filters you define
- Review sentiment analysis, including Spanish noise/cleanliness signals
- Optional Gemini image verification (is that "workspace" actually a desk?)
- Verified fast Wi-Fi detection and climate enrichment
- Multi-city market survey mode for comparing destinations
- Compact table, CSV, and JSON reports
Install
From PyPI (recommended):
uv tool install bnbingo
bnbingo --help
uvx bnbingo --help runs it without installing. Alternatives: pipx install bnbingo, or a venv with python3 -m venv .venv && . .venv/bin/activate && pip install bnbingo. Prefer a venv or tool installer over a global pip install.
From a source checkout:
uv tool install --force .
bnbingo --help
For development, use uv sync and uv run bnbingo --help.
Setup
No config file is required: every search knob is a CLI flag, and scoring uses a packaged default benchmarks.json that ships inside the wheel.
To customize scoring (weights, penalties, hard filters), either:
- put your own
benchmarks.jsonin~/.config/bnbingo/(override the directory withBNBINGO_CONFIG_DIR), or - pass any file explicitly with
--benchmarks PATH.
Resolution order is --benchmarks PATH, then the config-dir file, then the packaged default. A malformed or missing --benchmarks file fails loudly — it never silently scores listings as zero. If you manage dotfiles with stow, keep your personal benchmarks.json in your private dotfiles repo under .config/bnbingo/.
All prices default to CAD on airbnb.ca; pass --currency to override. --check_in and --check_out are required for every mode (a --room URL may carry them).
Reports, cache, and logs are separate from config:
- Running from a source checkout: written into the checkout directory
- Installed tool:
BNBINGO_HOMEif set, otherwise~/.local/share/bnbingo
amenities.json and the default benchmarks.json ship inside the Python package — no setup needed.
Optional credentials:
GEMINI_API_KEYin the environment or a gitignored.envin your config directory (enables image verification and LLM sentiment)AIRBNB_COOKIEin the environment orcookies.txtin your config directory; otherwise~/.config/airbnb/cookies.txtis used if present
Usage
# Search a city
bnbingo --location "Lisbon, Portugal" --check_in 2027-01-10 --check_out 2027-01-24
# Per-night cap, scaled to the stay length
bnbingo --location "Lisbon, Portugal" --check_in 2027-01-10 --check_out 2027-01-24 --max_nightly 90
# Whole-stay budget cap, sent as-is
bnbingo --location "Arequipa, Peru" --check_in 2027-01-11 --check_out 2027-02-08 --max_total 1200
# Must-have amenities beyond the benchmarks hard filters
bnbingo --location "Valdivia, Chile" --check_in 2027-05-03 --check_out 2027-05-17 --amenities "wifi,kitchen"
# Multi-city survey (separate cities with ';'; commas inside city names are kept)
bnbingo --survey --cities "Lima, Peru;Buenos Aires, Argentina" --check_in 2027-03-01 --check_out 2027-03-29
# Inspect one listing
bnbingo --room 123456789 --calendar --reviews --check_in 2027-01-10 --check_out 2027-01-24
# Machine-readable output with an explicit scoring policy
bnbingo --location "Valparaíso, Chile" --limit 10 --compact --json --benchmarks ~/my-benchmarks.json
# Consolidated review of a host: every listing, every review
bnbingo --host 482816256 --check_in 2027-01-10 --check_out 2027-02-07
bnbingo --host "https://www.airbnb.ca/h/premium-bed-by-olvia-full-equipped-2" --check_in 2027-01-10 --check_out 2027-02-07 --json --compact
--min_price / --max_price are deprecated aliases for the nightly flags and print a warning.
Search completeness
A city search geocodes the city name to its administrative bounding box and pages through every listing inside it. Airbnb caps the number of pages it will serve per query, so in dense markets the sweep stops early (SearchResultsTruncatedWarning) and listings in any neighborhood — not a specific one — can be missed. Pass --complete to subdivide the bounding box until every page fits; it is slower and uses many more requests, but avoids the cap. If the subdivision budget is exhausted, the partial results are still returned with a warning.
Host review
--host accepts a numeric host ID or an Airbnb /h/..., /users/..., or /rooms/... URL. It enumerates every listing owned by that host, fetches all reviews across them, and prints a per-listing breakdown (with full airbnb.ca links and CAD total + nightly prices), overall rating distribution, total review count cross-checked against the listing counts, review date range, and recurring praise/issue themes. Listings whose house rules or description restrict visitors are flagged. --json keeps the whole report machine-readable; --compact drops the individual review texts.
Price filter semantics
Airbnb's search API applies price_max to a whole-stay figure, so nightly caps are multiplied by the number of nights before being sent. Its server-side filter is loose, though: listings above the requested cap can still come back. bnbingo therefore re-checks the fetched exact total against the requested range and skips listings outside it, in both search and survey mode. Listings whose exact price could not be fetched are kept (their search-API estimate is used) rather than dropped silently.
Price caps apply to the whole-stay total including fees. A listing with a missing price is not counted against the cap.
Reports and cache
Reports (CSV/JSON), cached listings, and logs live in the data directory (source checkout root, BNBINGO_HOME, or ~/.local/share/bnbingo) and are gitignored. Reports merge across runs for the same location and dates; --json output is filtered by the current run's price caps, so older over-budget rows do not appear as results. Cookies live in the config directory and are never tracked.
MCP wrapper (roadmap)
The CLI stays the primary interface. If an MCP wrapper is added, it will live in this repo as an optional extra and expose small tools (search, listing_details, survey) that call the library functions directly — not by shelling out to the CLI. Long searches are better suited to a CLI than to blocking MCP tool calls.
Development
uv sync
uv run pytest
make lint
make check
make setup # install the lint/test pre-commit hook
Releases are tag-driven via GitHub Actions; see RELEASING.md.
License
MIT — see LICENSE.
Metadata
Release files for bnbingo 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bnbingo-0.1.0.tar.gz | 190.6 kB | Without provenance | Details for bnbingo-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bnbingo-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for bnbingo-0.1.0-py3-none-any.whl |
Total release size: 240.5 kB
Release files / bnbingo-0.1.0.tar.gz
| Download URL | bnbingo-0.1.0.tar.gz |
|---|---|
| Size | 190.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
487d0c257d88f0512ab67f5a546873b124d0c22f6c8a43d6ac387671887c7cfa
|
|
BLAKE2b-256 checksum How to use checksums |
e5903b4189f122a86619d7a8d7c7327dbf1ade68879c3a128010317e8aadd796
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / bnbingo-0.1.0-py3-none-any.whl
| Download URL | bnbingo-0.1.0-py3-none-any.whl |
|---|---|
| Size | 49.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c4d305cab6fb8d9d7a5019cf7fd27aa678e9227a2768aa8e37ba792838d14c4d
|
|
BLAKE2b-256 checksum How to use checksums |
6b6ebd7b4e335dceccc9860757223c7ab3be6a124562bf34070b31c4a6b99777
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for bnbingo 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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.