Developer Preview

Your AI agent just bought a flight.

AgentTravel is the travel API that charges itself. Flights, hotels, insurance — with reasoning. $0.49/query.

Stripe x402. MCP + CLI. No humans in the loop.

Three steps. No humans.

1

Agent sends query

Your agent calls AgentTravel with a natural language query and a Stripe x402 payment capability in the header.

# Agent terminal
$ agtravel query "JFK → NRT, business, under $5K, AA miles"
→ Processing... $0.79 charged via Stripe x402
2

We resolve it

Real data, reasoned options, points optimization. We search 400+ airlines, compare hotel chains, evaluate insurance policies — and explain our reasoning.

# Real-time data sources
Duffel API → Flights (live inventory)
Hotel APIs → Chains + loyalty
Points engine → Amex MR, Chase UR, etc.
3

Agent gets structured response

JSON response with options, reasoning, recommendations, and confidence scores. Your agent books, decides, or asks a follow-up.

# Response (3 options returned)
{ "options": 3, "reasoning": "provided",
  "recommendation": "Flight B",
  "confidence": "high" }

Agents are specific. We handle that.

→ 

Flights

Destination, dates, cabin, stops, airline preference. "Find me a business-class flight from JFK to NRT on July 10th, direct preferred, under $6K."

Hotels

Check-in/out, chain loyalty, budget, points redemption. "Book 3 nights at a Marriott near Shinjuku, use my 60K points, under $300/night."

Insurance

Coverage type, trip cancellation, travel health. "What's the best travel insurance for a 2-week Japan trip covering cancellation and medical?"

Points Optimization

Airline miles, credit card points (Amex MR, Chase UR, etc.), elite status. "What's the best use of 80K Amex MR points for a roundtrip to Tokyo?"

Routing Logic

"Cheapest with a direct flight" or "best balance of price + miles earned." Multi-city routing with connection optimization.

Comparisons

Airline vs. airline, cash vs. points, one-stop vs. direct. "JAL direct vs. AA one-stop — which gets me to Narita with the most value?"

Not just data. Reasoning.

The differentiator. Raw numbers are easy. Understanding them is what makes an agent useful.

mock-response.json
{
  "query_cost": "$1.49",
  "stripe_x402": "charged",

  "options": [
    {
      "id": "AA-001-JFK-NRT",
      "airline": "American Airlines",
      "price": "$4,200",
      "cabin": "business",
      "stops": "1 (DFW)",
      "departure": "07:00 → 16:30+1",
      "miles_earned": "45,000 AA miles",
      "confidence": "high"
    },
    {
      "id": "JAL-002-JFK-NRT",
      "airline": "Japan Airlines",
      "price": "$5,100",
      "cabin": "business",
      "stops": "0 (direct)",
      "departure": "11:30 → 15:30",
      "miles_earned": "60,000 JAL miles (3x Amex Plat)",
      "confidence": "medium"
    }
  ],

  "reasoning": {
    "best_deal": "Flight AA-001 — $4,200 + 45K AA miles",
    "points_angle": "Chase UR 60K → AA at 1:1 transfers net you 60K AA miles, covers 80% of this flight",
    "alternative": "JAL direct — $5,100 but earns 3x JAL miles on Amex Plat",
    "caveat": "AA-001 has a 1-stop via DFW; JAL is direct. Factor in 3hrs layover."
  },

  "recommendation": "AA-001 for this query — balances price, points, and your AA elite status",

  "_meta": {
    "format": "json",
    "version": "1.0",
    "tokens_used": ~2500"
  }
}
Raw data
Prices, times, availability — the numbers your agent needs to act
Reasoning
"Flight A is $40 cheaper but arrives at midnight; Flight B earns 3x Amex MR points"
Recommendation
"For this query, I'd recommend Flight B given your Amex Platinum"
Confidence
Low / medium / high on each option — your agent knows when to flag uncertainty

Pay per query. Nothing more.

Stripe x402 charges the exact token cost rounded up. No subscription. No commitment.

Query Type Tokens (est.) Price
Single flight search ~500 $0.49
Multi-parameter flight + hotel ~1,200 $0.79
Full optimization (points + routing + insurance) ~2,500 $1.49
Complex multi-city with status optimization ~4,000 $1.99

Estimates. Stripe x402 charges exact token cost rounded up. First query: up to $5 free with registration.

MCP or CLI. Your agent, your choice.

MCP for Claude, Cursor, CrewAI, LangGraph

Add to your agent config. That's it.

claude_desktop_config.json
{
  "mcpServers": {
    "agenttravel": {
      "command": "npx",
      "args": ["-y", "@agenttravel/mcp"]
    }
  }
}
Restart your agent. search_flights, search_hotels, optimize_points are now available tools.
CLI for power users, scripts, pipelines

Install globally. Auth once. Query freely.

terminal
# Install
$ npm install -g @agenttravel/cli

# Auth (once)
$ agtravel auth --email your@agent.com

# Query
$ agtravel query "JFK → LAX, July 10, business"
Works in CI/CD pipelines, scripts, or as a direct tool your agent calls via child process.

Stripe x402 — How the agent pays.

1

Agent carries payment capability

Your agent includes a Stripe x402 payment capability in the request header. No credit card on the agent side — it's a payment token bound to your registered identity.

2

We read the header, charge the query cost

AgentTravel reads the x402 header, validates the capability, and charges the exact query cost via Stripe. The charge appears on your Stripe dashboard.

3

No stored credentials

No credit card stored on the agent side. The payment is self-sustaining — your agent charges itself, you get the bill.

4

One registration, all queries

Developer registers an email or phone once. Your agent uses that identity for all queries — across all agents, all sessions.

Stripe handles the payment. We handle the travel.

First query is on us. Up to $5.

Register your agent with an email or phone. Get $5 in free credits. No credit card required.

What we capture: email or phone + timestamp → used for credit allocation and follow-up. That's it.

After credits: $0.49–$1.99 per query. No subscription. No commitment.

Full query flow.

terminal — full query example
# Agent sends:
$ agtravel query "Tokyo trip, Jun 15-22, 2 adults, business class,
  under $8K, optimize Chase UR points, AA elite status"

# What comes back:
{
  "query_cost": "$1.49",
  "stripe_x402": "charged",
  "options": [
    {
      "id": "AA-001",
      "price": "$4,200",
      "miles": "45K AA miles",
      "recommendation": "AA-001 — best balance of price, points, and your AA status"
    },
    {
      "id": "JAL-002",
      "price": "$5,100",
      "miles": "60K JAL miles (3x Amex Plat)",
      "recommendation": "JAL — direct flight, earns 3x on Amex Plat"
    }
  ],
  "reasoning": {
    "best_deal": "Flight AA-001 — $4,200 + 45K AA miles",
    "points_angle": "Chase UR 60K → AA at 1:1 transfers net you 60K AA miles,
      covers 80% of this flight",
    "alternative": "JAL direct — $5,100 but earns 3x JAL miles on Amex Plat"
  },
  "recommendation": "AA-001 — balances price, points, and your AA elite status"
}

Common questions.

How does the agent pay without a human?

Your registered email or phone is associated with a Stripe payment capability. The agent carries that capability in the x402 header. When it queries AgentTravel, we charge the registered Stripe account for the query cost. No human involvement needed — it's self-sustaining.

What if the query is ambiguous?

AgentTravel reasons through ambiguity and returns the top options with an explanation. If there's genuine uncertainty, the response includes a "confidence: low" flag so your agent can surface the ambiguity to the user or ask a follow-up question. Ambiguity is handled gracefully, not silently dropped.

Can I run multiple agents under one account?

Yes. One registration (email or phone) covers all agents and all sessions. Each query is charged individually. Your Stripe dashboard shows per-query charges with agent identifier if provided.

Is this available now?

Developer preview is live. First query is free (up to $5 in credits). Sign up above to get access and MCP setup instructions.

Ready to give your agent travel superpowers?