AICO

Travel API reference and quickstart

Create an account, generate a key, and start with a small set of opinionated endpoints. The current beta uses query-sensitive seeded destination intelligence so agents can compare trip context now, while live provider integrations are still being connected.

Bearer API keys

Keys are created from the dashboard and passed as a bearer token. Beta accounts are free and rate limited to 100 requests per hour and 2,500 requests per rolling 30-day window.

curl https://agentinfrastructureco.com/api/v1/travel/search \
  -H "Authorization: Bearer ***" \
  -H "Content-Type: application/json" \
  -d '{
    "origin": "SFO",
    "departure_window": ["2026-10-01", "2026-10-03"],
    "trip_length_days": 14,
    "budget_usd": 9000,
    "interests": ["hiking", "food", "recovery"],
    "services": ["flights", "stays", "weather", "research"]
  }'
{
  "request_id": "req_123",
  "beta_warnings": [],
  "results": [
    {
      "id": "italy-hiking",
      "name": "Italy Hiking Circuit",
      "score": 93.2,
      "total_trip_estimate_usd": 4780,
      "ranking_breakdown": {
        "budget_fit": 14.1,
        "weather_fit": 12.4,
        "flight_fit": 8.3,
        "duration_fit": 14,
        "interest_fit": 18.4
      }
    }
  ]
}
FieldTypeDescription
originstringOrigin airport or context used to select the best modeled flight profile.
departure_windowstring[]Start and end dates used to choose the departure month and weather profile.
trip_length_daysnumberRequested trip length, used in total-cost and trip-fit scoring.
budget_usdnumberTarget all-in budget for ranking destination fit.
interestsstring[]Tags like hiking, food, recovery, cycling, beach.
servicesstring[]Accepted during beta for response labeling only. Does not yet switch live provider integrations.