Skip to main content

openvan — Python client for the OpenVan.camp API

Free vanlife & RV travel data in Python: whole-trip roadbooks, fuel prices in 170+ countries, toll roads, ferry crossings and timetables, biting insects by place and month, visa and vehicle-import rules, public and school holidays, travel hazards and wildfires, customs rules, power plugs, weather suitability scores, food cost index, currency rates, events, news and license plates of the world.

No API key, no registration, no dependencies — standard library only, Python 3.9+.

pip install openvan

Quick start

from openvan import OpenVan

ov = OpenVan(source="myapp.com")  # your site or app name; the default "openvan-python" does not identify you

# Cheapest diesel in the world right now, EUR per liter
for c in ov.fuel.cheapest("diesel", 5):
    print(c["country_name"], c["prices"]["diesel"], c["currency"])

# Can a Russian passport enter Turkey, and for how long?
print(ov.visa.check("RU", "TR")["data"])

# Toll cost Rome → Paris for a van, as a EUR range
print(ov.tolls.route(["Rome", "Paris"], vehicle_class="van"))

# Best countries for vanlife weather today
for c in ov.weather.top(5):
    print(c["code"], c["van_score"], c["score_label"])

# Countries of Europe by the score of the coming week (the site ranking), one city with its place
for c in ov.weather.ranking(region="europe", limit=5):
    print(c["rank"], c["name"], c["week_score"])
print(ov.weather.city("GE", "batumi")["rank"])

# Typical weather (climate) in Batumi on 18 September and the best month to go
batumi = ov.weather.city_climate("GE", "batumi", date="09-18")
print(batumi["day"]["temp_day_c"], batumi["day"]["precipitation_days_of_35"], batumi["best_month"])

# School holidays in Germany this autumn, by federal state
ov.holidays.country("DE", from_="2026-10-01", to="2026-12-31", kind="school")

# Ferries in the Tyrrhenian Sea (OpenStreetMap, ODbL) and the next departures of one line
lines = [f["properties"] for f in ov.ferries.window((8, 38, 16, 42), zoom=6)["features"] if f["properties"]["kind"] == "route"]
print(ov.ferries.schedule("r5958961")["directions"][0]["next"])

# Who bites near Kiruna in July (Bug Season): level 0-3 for the month; None = not studied
for g in ov.bites.place(67.85, 20.22, date="2027-07-10")["groups"]:
    print(g["name"], g["level"], g["status"])

# A whole trip plan: route, days, budget and rules for every country (waits up to 60 s)
trip = ov.roadbook.plan(["Munich", "Venice"], inputs={"travelers": ["DE"]})
print("https://openvan.camp" + trip["url"])

With pandas

import pandas as pd
from openvan import OpenVan

ov = OpenVan()
fuel = pd.DataFrame.from_dict(ov.fuel.prices(), orient="index")
basket = pd.DataFrame.from_dict(ov.basket.list(), orient="index")

Resources

Resource Methods
ov.fuel prices(), country(code), cheapest(fuel_type, limit), route_cost(waypoints, **options)
ov.currency rates(), convert(amount, from_currency, to_currency)
ov.basket list(), country(code), compare(from_country, to_country) — food cost index
ov.weather score(code), all(), top(limit) — VanSky weather suitability
ov.tolls countries(), country(code), route(waypoints, vehicle_class)
ov.visa check(passport, destination), route(countries, passports), passport(code), vehicle(place)
ov.holidays countries(), country(code, from_=, to=, kind=)
ov.hazards country(code), fires((min_lon, min_lat, max_lon, max_lat))
ov.electricity countries(), country(code) — plug types and voltage
ov.customs countries(), country(code, from_country=)
ov.plates list(), country(code), types(code), validate(code, number), random(code), image_url(code, number)
ov.events list(**filters), get(slug)
ov.stories list(**filters), get(slug), search(query)

Methods return the API's JSON as plain dict / list. Field reference: interactive docs · OpenAPI spec.

Errors raise OpenVanError with status, url, body and the API's own message:

from openvan import OpenVan, OpenVanError

try:
    OpenVan().tolls.route(["Atlantis", "Paris"])
except OpenVanError as e:
    print(e.status, e.message)  # 422 and the reason, e.g. no road route

License and attribution

Code: MIT. Data: CC BY 4.0 — credit it as Data: OpenVan.camp with a link to https://openvan.camp/.

Also available: JavaScript SDK · MCP server for AI agents · all API docs.

Metadata

Release files for openvan 0.5.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 openvan 0.5.0
File Size Uploaded Provenance Actions
openvan-0.5.0.tar.gz 13.7 kB With provenance Details for openvan-0.5.0.tar.gz

Built distribution (wheel)

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

Total release size: 26.0 kB

Release files / openvan-0.5.0.tar.gz

Download URL openvan-0.5.0.tar.gz
Size 13.7 kB
Tags Source
SHA-256 checksum
How to use checksums
fbc789fabd5be4e24b5be234b2e6e55f6857770eda276557c1548ccec8248a6c
BLAKE2b-256 checksum
How to use checksums
929985c9c1a00d20f5544dffc4b8bd8ec615c474292a57422c26e499bc25eb30
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Release files / openvan-0.5.0-py3-none-any.whl

Download URL openvan-0.5.0-py3-none-any.whl
Size 12.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8ffc2fa4ff6e463ede0fcf2f36426f1e78300a76e06c44d2aeff7005c1d0c408
BLAKE2b-256 checksum
How to use checksums
619fa5dc973ca8b5c8389e332e08c489ce435f73572107100438450bbf2db613
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Security for openvan 0.5.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for openvan-0.5.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

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.

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