Skip to content
Fourohtwo

Weather-aware trip planning

travel-agent.forgemesh.io/api/weather-aware-plan

Weather-aware trip planning: is the weather right for an outdoor plan? Pass destination (place name) or lat and lon; optional date (YYYY-MM-DD, up to 15 days ahead), time_window, plan_type and transportation_modes. Returns JSON with the forecast for that day (current conditions when no date is sent), a rule-based outdoor_fit rating, tradeoffs and transportation exposure notes. Not charged for unkn

BaseAnswering
GEThttps://travel-agent.forgemesh.io/api/weather-aware-plan

Uptime100% of 3 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://travel-agent.forgemesh.io/api/weather-aware-plan?destination=Galveston%2C+TX&lat=29.3013&lon=-94.7977&plan_type=beach+and+food+day&transportation_modes=walking%2Cdriving");
console.log(await res.json());

Example input

{
  "destination": "Galveston, TX",
  "lat": "29.3013",
  "lon": "-94.7977",
  "plan_type": "beach and food day",
  "transportation_modes": "walking,driving"
}