{"openapi":"3.1.0","info":{"title":"Skyscanner Flights Hotels and Travel Deals Data (x402 & MCP)","version":"0.1.0","description":"Public Skyscanner flight fares, airlines, stops, destination route deals and hotel listings, one row per entity.","x-guidance":"Structured real-time web intelligence APIs paid per delivered row in USDC via x402. All endpoints are synchronous at POST /s/<site>/v1/<endpoint> and also exposed over stateless MCP at POST /mcp. Supports x402 v2 'upto' (Permit2, charged strictly for delivered rows) and 'exact' (EIP-3009). Empty/0-row (404), invalid input (422), timeout (504), and upstream failures (502) are never charged.","contact":{"email":"ops@opendata.best"}},"servers":[{"url":"https://x402.opendata.best"}],"paths":{"/s/skyscanner-net/v1/search":{"post":{"operationId":"skyscanner_net_search","summary":"Skyscanner Flights Hotels and Travel Deals Data: Search Skyscanner flights, routes and hotels","description":"Query public Skyscanner flight offers, route deals, hotels and listing details by origin, destination or place. Unit price: $0.005000/row USDC (default quote 5 rows, max 10 rows). Unsettled / 0-row / error responses are never charged.","tags":["skyscanner-net","Travel"],"x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"dynamic","currency":"USD","amount":"0.025000"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"service":{"type":"string","description":"Auto chooses a service from your target: hotel or flight link, city identifier, destination name, or route codes, in that order. Select a service explicitly to use a city name for hotels instead of destination deals.","default":"auto","enum":["auto","flights","hotels","flights_seo","hotel_detail","flight_detail"]},"origin":{"type":"string","description":"Skyscanner origin code for flights, such as bkk. You can enter a route as bkk|sin; if only destination is supplied, the origin is bkk."},"destination":{"type":"string","description":"Skyscanner destination code for flights, such as sin. If only origin is supplied, the destination is sin."},"place":{"type":"string","description":"A supported destination code or city name, such as sin, dxb or london. Auto selects destination deals; select hotels to search a city for stays."},"entityId":{"type":"string","description":"City or area identifier for hotel searches, such as 27546111 for Singapore. This is not a hotel ID from an /ht- link; alternatively select hotels and supply a supported city in place."},"hotelUrl":{"type":"string","description":"Paste a current HTTPS hotel detail link from skyscanner.net or www.skyscanner.net containing /ht- followed by the hotel ID. Copy a real result link rather than inventing an ID.","pattern":"^$|^https://(www\\.)?skyscanner\\.net(:443)?/([^?#\\s\\\\]*/)?ht-[0-9]+[^\\s\\\\]*$"},"flightUrl":{"type":"string","description":"Paste a current HTTPS flight detail link from skyscanner.net or www.skyscanner.net containing /config/ followed by the itinerary ID. Copy a real result link rather than inventing an ID.","pattern":"^$|^https://(www\\.)?skyscanner\\.net(:443)?/([^?#\\s\\\\]*/)?config/[^/?#\\s\\\\]+[^\\s\\\\]*$"},"maxResults":{"type":"integer","description":"Maximum rows for this single route, destination, hotel search or detail URL: 1 to 50, with a default of 50. Your maximum run cost may reduce delivery; Free plan accounts also have a 200-row allowance per run and a 10-run limit for this Actor.","default":5,"minimum":1,"maximum":10},"departureDate":{"type":"string","description":"Flight departure in YYYY-MM-DD format. Leave empty for 21 days from today; past dates are not accepted.","pattern":"^$|^\\d{4}-\\d{2}-\\d{2}$"},"returnDate":{"type":"string","description":"Return date for a round trip, in YYYY-MM-DD format, on or after departure. Leave empty for seven days after departure.","pattern":"^$|^\\d{4}-\\d{2}-\\d{2}$"},"tripType":{"type":"string","description":"Choose roundtrip to include a return flight, or oneway for an outbound flight only.","default":"roundtrip","enum":["roundtrip","oneway"]},"checkin":{"type":"string","description":"Hotel arrival date in YYYY-MM-DD format. Leave empty for 21 days from today.","pattern":"^$|^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2})?$"},"checkout":{"type":"string","description":"Hotel departure date in YYYY-MM-DD format, after check-in. Leave empty for two days after check-in.","pattern":"^$|^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2})?$"},"adults":{"type":"integer","description":"Number of adult passengers or hotel guests, from 1 to 10.","default":1,"minimum":1,"maximum":10},"children":{"type":"integer","description":"Number of children, from 0 to 10. Flights assume age 8 if child ages are omitted; hotel searches use age 8 for every child.","default":0,"minimum":0,"maximum":10},"childrenv2":{"type":"string","description":"Flight child ages separated by a pipe, such as 8|5. Hotel searches use the children count instead of these ages."},"rooms":{"type":"integer","description":"Number of hotel rooms, from 1 to 8. Not used for flight searches.","default":1,"minimum":1,"maximum":8},"cabinclass":{"type":"string","description":"Flight cabin: economy, premiumeconomy, business or first.","default":"economy","enum":["economy","premiumeconomy","business","first"]},"preferDirects":{"type":"boolean","description":"Prefer direct flights and exclude itineraries with known stops. Rows without stop information may remain; this does not apply to hotels or destination deals.","default":false},"market":{"type":"string","description":"Only skyscanner.net is supported, using English and GBP.","default":"skyscanner.net","enum":["skyscanner.net"]},"placeSlug":{"type":"string","description":"For a destination code outside the supported list, enter the exact slug after cheap-flights-to- from a real Skyscanner flights-to URL. Leave empty for supported codes and city names."},"geoId":{"type":"string","description":"An alternative to entityId for selecting a hotel-search city or area. Auto selects hotels when this field is filled."},"dropoffGeoId":{"type":"string","description":"Leave empty. Car-hire searches are not available in this Actor."},"driverAge":{"type":"integer","description":"Not used by the supported services. Car-hire searches are not available in this Actor.","default":30,"minimum":18,"maximum":99},"sort":{"type":"string","description":"Compatibility setting. Leave empty and sort exported rows yourself; a global result order is not guaranteed."},"includeDetail":{"type":"boolean","description":"Request a follow-up to a current flight detail link when available within the row limit. This is off by default, does not guarantee extra fields, and is not required for hotel-search addresses.","default":false}},"additionalProperties":false},"example":{"service":"flights","origin":"bkk","destination":"sin","tripType":"roundtrip","maxResults":5}}}},"responses":{"200":{"description":"Synchronous data rows with x402 PAYMENT-RESPONSE receipt header.","headers":{"PAYMENT-RESPONSE":{"description":"Base64-encoded x402 v2 SettleResponse receipt.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response_skyscanner_net"},"example":{"jobId":"job_skyscann_example","status":"succeeded","done":true,"rowCount":1,"rowsBilled":1,"rowsDelivered":1,"rows":[{"listingId":"example_listingId","name":"example_name","service":"example_service","priceDisplay":"example_priceDisplay","origin":"example_origin","destination":"example_destination"}],"meta":{"site":"skyscanner-net","endpoint":"search","maxResults":5,"payment":{"scheme":"upto","network":"eip155:84532","quotedMicrousd":25000,"settledMicrousd":5000,"transaction":"0x0000000000000000000000000000000000000000000000000000000000000000"}}}}}},"402":{"description":"Payment required or invalid/declined payment authorization (never charged).","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded x402 v2 PaymentRequired quote.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"no_results: 0 rows matched the query; aborted before settlement (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"payment_id_conflict: payment-identifier reused with different parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid or missing request parameters (validated before /verify; charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or payer cooldown exceeded (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"502":{"description":"Upstream source failed or blocked (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"settlement_pending or facilitator_unavailable; retry same payment to reconcile.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"504":{"description":"upstream_timeout: synchronous deadline reached and task cancelled (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/s/skyscanner-net/v1/health":{"get":{"operationId":"skyscanner_net_health","summary":"Skyscanner Flights Hotels and Travel Deals Data: health check","description":"Free readiness check (never returns 402 and never starts a collection).","tags":["skyscanner-net","health"],"responses":{"200":{"description":"Operational","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatus"}}}},"503":{"description":"Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatus"}}}}}}}},"components":{"schemas":{"ErrorDetail":{"type":"object","required":["code","message","retryable"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"charged":{"type":"boolean"}}},"ErrorResponse":{"type":"object","required":["error"],"properties":{"error":{"$ref":"#/components/schemas/ErrorDetail"}}},"HealthStatus":{"type":"object","required":["ok","site","status","endpoints","rowsBilled"],"properties":{"ok":{"type":"boolean"},"site":{"type":"string"},"status":{"type":"string","enum":["operational","unavailable"]},"endpoints":{"type":"array","items":{"type":"string"}},"rowsBilled":{"type":"integer"}}},"Row_skyscanner_net":{"type":"object","properties":{"listingId":{"type":["string","null"],"title":"ID"},"name":{"type":["string","null"],"title":"Name"},"service":{"type":["string","null"],"title":"Service"},"priceDisplay":{"type":["string","null"],"title":"Price"},"origin":{"type":["string","null"],"title":"Origin"},"destination":{"type":["string","null"],"title":"Destination"},"hotelId":{"type":["string","null"],"title":"ht-id"},"url":{"type":["string","null"],"format":"uri","title":"URL"},"phones":{"type":["string","null"],"title":"phones"},"emails":{"type":["string","null"],"title":"emails"},"address.full":{"type":["string","null"],"title":"address"},"org.name":{"type":["string","null"],"title":"org"},"leadAbsences":{"type":["string","null"],"title":"leadAbsences"}},"additionalProperties":true},"Response_skyscanner_net":{"type":"object","properties":{"jobId":{"type":"string"},"status":{"type":"string"},"done":{"type":"boolean"},"rowCount":{"type":"integer","minimum":1},"rowsBilled":{"type":"integer","minimum":1},"rowsDelivered":{"type":"integer","minimum":1},"rows":{"type":"array","items":{"$ref":"#/components/schemas/Row_skyscanner_net"}},"meta":{"type":"object","properties":{"site":{"type":"string"},"endpoint":{"type":"string"},"maxResults":{"type":"integer"},"payment":{"type":"object","properties":{"scheme":{"type":"string"},"network":{"type":"string"},"quotedMicrousd":{"type":"integer"},"settledMicrousd":{"type":"integer"},"transaction":{"type":"string"},"payer":{"type":"string"}}}}}},"required":["jobId","status","done","rowCount","rows"]}}},"x-discovery":{"ownershipProofs":["0xdb7c562a3ef6f9f29da4672abdab1489e82e910a91b863e3c22b905df6522b7223798a84245e0452cab689483b6cbb7cd8c13141319df982b213dea31ee7e4311c"]}}