OpenVan.camp Public API
Yakıt fiyatları, döviz kurları ve vanlife etkinlikleri için açık veriler. CC BY 4.0 lisansı altında uygulamalarınızda, botlarınızda ve makalelerinizde ücretsiz kullanın.
Mevcut Uç Noktalar
/api/fuel/prices
72 countries
72 ülke için güncel yakıt fiyatları (benzin, dizel, LPG). GlobalPetrolPrices ve bölgesel devlet kaynaklarından haftalık güncellenir. 6 saat önbellek.
curl https://openvan.camp/api/fuel/prices
Örnek yanıtı göster
{
"success": true,
"data": {
"DE": {
"country_code": "DE",
"country_name": "Germany",
"region": "europe",
"currency": "EUR",
"prices": { "gasoline": 1.79, "diesel": 1.65, "lpg": 0.82 },
"fetched_at": "2026-03-15T09:31:25+03:00",
"source": "GlobalPetrolPrices.com"
}
},
"meta": { "total_countries": 72, "updated_at": "2026-03-15 09:33:33", "cache_ttl_hours": 6 }
}
/api/currency/rates
150+ currencies
EUR'ya göre 150'den fazla para birimi için döviz kurları. Otomatik yedek ile birden fazla açık kaynak API'den alınır. 1 saat önbellek.
curl https://openvan.camp/api/currency/rates
Örnek yanıtı göster
{
"success": true,
"rates": { "EUR": 1, "USD": 1.08, "GBP": 0.85, "RUB": 98.5, "TRY": 35.2, "GEL": 2.95, "KZT": 520 },
"cached": true,
"updated_at": "2026-03-15T09:00:00+00:00"
}
/api/events
vanlife events
Sayfalı vanlife etkinlik listesi — fuarlar, festivaller, buluşmalar, yol gezileri. Durum, tür, ülkeye göre filtreleyin. 7 dilde yerelleştirilmiş isimler.
# Upcoming events in Germany
curl "https://openvan.camp/api/events?country=DE&status=upcoming"
# Search by name
curl "https://openvan.camp/api/events?search=Nauticampo"
# Event details
curl "https://openvan.camp/api/event/nauticampo-2026"
Hızlı Başlangıç
Python
import requests
resp = requests.get("https://openvan.camp/api/fuel/prices")
data = resp.json()
for code, info in data["data"].items():
prices = info["prices"]
print(f"{info['country_name']}: diesel={prices['diesel']} {info['currency']}")
JavaScript / Node.js
const res = await fetch("https://openvan.camp/api/fuel/prices");
const { data } = await res.json();
const europe = Object.values(data).filter(c => c.region === "europe");
const sorted = europe.sort((a, b) => a.prices.diesel - b.prices.diesel);
console.log("Cheapest:", sorted[0].country_name, sorted[0].prices.diesel);
Atıf
Verilerimizi kullanırken lütfen görünür bir atıf ekleyin. İşte hazır bir kod parçası:
Data source: <a href="https://openvan.camp/tr/tools/fuel-prices">OpenVan.camp</a> (CC BY 4.0)