← Underrättelsekombinationer

Resekostnadskalkylator

GET /mashup/travel/cost

Calculate a omfattande rese cost estimate between two länder, som kombinerar currency växelkurss, köpkraftsparitet (PPP) adjustment, destination väderprognos, and upcoming holidays at the destination. Converts din budget till lokal currency and adjusts it for lokal köpkraft so you veta vad din money is actually worth. Perfekt för rese att planera appar, budget kalkylatorer, and trip jämförelse verktyg.

Parametrar

from obligatorisk

Origin country

to obligatorisk

Destination

budget valfri standard: 1000

Budget

Exempelförfrågningar

Grundläggande användning
curl "https://nordapi.ee/api/v1/mashup/travel/cost?from=US&to=JP&budget=5000"
US to Japan travel cost with $5000 budget
curl "https://nordapi.ee/api/v1/mashup/travel/cost?from=US&to=JP&budget=5000"
Norway to Thailand on a budget
curl "https://nordapi.ee/api/v1/mashup/travel/cost?from=NO&to=TH&budget=2000"
UK to Spain with default budget
curl "https://nordapi.ee/api/v1/mashup/travel/cost?from=GB&to=ES"

Livesvar

{
  "budget": {
    "converted": 798004.3384,
    "converted_currency": "JPY",
    "original": 5.0e3,
    "original_currency": "USD",
    "rate": 159.60086768
  },
  "destination_conditions": {
    "timezone": {
      "date": "04/06/2026",
      "datetime": "2026-04-06T05:47:55.7130905",
      "day_of_week": "Monday",
      "time": "05:47",
      "timezone": "Asia/Tokyo",
      "utc_offset": null
    },
    "weather": {
      "humidity": 91,
      "temperature_c": 6.3,
      "wind_speed_kmh": 4.7
    }
  },
  "from": {
    "code": "US",
    "country": "United States",
    "currency": "USD"
  },
  "holiday_alert": null,
  "purchasing_power": {
    "adjusted_budget": 472313.0,
    "interpretation": "Your money goes 9346.3% less far at the destination",
    "ppp_ratio": 94.4626
  },
  "success": true,
  "tax_comparison": {
    "destination_vat": null,
    "origin_vat": null
  },
  "to": {
    "code": "JP",
    "country": "Japan",
    "currency": "JPY"
  },
  "upcoming_holidays": [
    {
      "date": "2026-04-29",
      "name": "Shōwa Day"
    },
    {
      "date": "2026-05-04",
      "name": "Constitution Memorial Day"
    },
    {
      "date": "2026-05-04",
      "name": "Greenery Day"
    },
    {
      "date": "2026-05-05",
      "name": "Children's Day"
    },
    {
      "date": "2026-07-20",
      "name": "Marine Day"
    }
  ]
}