{"uid":"cap_i2JSWZX3qZO8PMx3c30qR","slug":"fanfare-a8d8d4f3","name":"Fanfare MLB Flight Search","description":"Search one-way economy flights to the nearest airport for any MLB team's home stadium, powered by Duffel. Returns offers sorted by price with carrier, times, and expiry. Params: teamId, date (YYYY-MM-DD), origin (IATA code), passengers.","url":"https://fanfare.run/mlb/flights","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["teamId","date","origin"],"properties":{"date":{"type":"string","description":"Departure date (YYYY-MM-DD)"},"origin":{"type":"string","description":"Origin airport IATA code (e.g. JFK)"},"teamId":{"type":"string","description":"MLB Stats API team ID"},"passengers":{"type":"integer","default":1,"description":"Number of adult passengers"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.25","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.25/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_2nCubC2QJxF506fiNLOVB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.25","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Search one-way economy flights to the nearest airport for any MLB team's home stadium, returning price-sorted offers with carrier, times, and expiry.","exampleAgentPrompt":"Find me the cheapest one-way economy flights from ORD to see the Cubs play on June 14th — just 1 passenger, I want to see what's available and how much they cost.","exampleUseCases":[{"title":"Cheapest flights to see Yankees","prompt":"I want to fly from LAX to catch a Yankees home game on July 22nd — just me, one passenger. Can you find the cheapest one-way economy flights available and show me the carriers and times?"},{"title":"Birthday trip to Dodger Stadium","prompt":"I'm planning a birthday trip to see the Dodgers play on August 5th. Can you search for one-way economy flights from SFO for 2 passengers and sort them by price so I can pick the best deal?"},{"title":"Last-minute Red Sox game flights","prompt":"I just decided I want to fly to Boston to see the Red Sox this Saturday the 10th — leaving from JFK, just 1 passenger. What are the cheapest economy flights I can get and when do the offers expire?"}],"resultDescription":"A list of flight offers sorted by price, each including carrier name, departure and arrival times, total price, and offer expiry timestamp, for routes to the nearest airport to the specified MLB team's home stadium.","failureModes":["Invalid or unknown MLB team ID returns an error or empty results","Date in the past or too far in advance may return no available offers","Invalid IATA origin code returns an error","No flights available for the requested route/date combination returns empty offers array","Rate limiting or payment failure returns 402 or 429 status"],"whenToPreferThis":"Use this endpoint when you need to find economy flight options specifically tied to attending an MLB game — it abstracts away the need to know which airport serves a given MLB stadium and delivers pre-sorted, price-optimized offers via Duffel. Prefer this over generic flight search APIs when the destination is defined by an MLB team rather than a city or airport.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:40:38.431Z","isFirstParty":false}