M

Munition · Flights Search

by Munition

POSTBaseSolanaArbitrumPolygon

$0.05

per call · USD Coin on Base

Munition Flight Search: x402-paid live flight offer search for AI agents. Pay 0.05 USDC to search Duffel flight offers and receive compact normalized itineraries, prices, carriers, and metadata suitable for replay and downstream planning.

Endpoint

POST https://api.munition.io/v1/flights/search

3

Calls / 30d

1

Unique payers / 30d

Aug 28

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://api.munition.io/v1/flights/search", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "adults": 1,
    "children": 0,
    "departureDate": "2026-08-10",
    "destination": "NRT",
    "infants": 0,
    "maxResults": 10,
    "origin": "SFO",
    "returnDate": "2026-08-21",
    "travelClass": "ECONOMY"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://api.munition.io/v1/flights/search" \
  -H "Content-Type: application/json" \
  -d '{"adults":1,"children":0,"departureDate":"2026-08-10","destination":"NRT","infants":0,"maxResults":10,"origin":"SFO","returnDate":"2026-08-21","travelClass":"ECONOMY"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "meta": {
    "resultCount": 1,
    "searchedAt": "2026-05-19T00:00:00.000Z"
  },
  "results": [
    {
      "airlineCodes": [
        "BA"
      ],
      "currency": "USD",
      "id": "off_example",
      "itineraries": [
        {
          "duration": "PT10H15M",
          "numberOfStops": 0,
          "segments": [
            {
              "arrival": {
                "airportCode": "NRT",
                "at": "2026-08-11T15:00:00"
              },
              "carrierCode": "BA",
              "departure": {
                "airportCode": "SFO",
                "at": "2026-08-10T12:00:00"
              },
              "flightNumber": "284"
            }
          ]
        }
      ],
      "source": "flight_search",
      "totalPrice": "418.90"
    }
  ]
}

Payment details

Pay to0x54d6c2c08e10f1a1d3da88df513bbe9bcf1a4afa
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana, Arbitrum, Polygon
Schemesexact

Is this your API?

Pin it to the top of Search & Web and the homepage with a featured placement.

Get featured →

More from Munition & similar services