That would be amazing. So I’ll just stick with the second example, since that’s my preferred if I can get it working. First, here’s the request details; it’s open (no authentication required) so you can make the call yourself if you want.
To keep it relatively simple, you can leave off the last header and last 4 params.
The response currently is:
{
"search_id": "25422172-d914-4c66-aa5d-d9ec51454485",
"data": {},
"connections": [],
"time": 1,
"currency": "USD",
"currency_rate": 0.8961978805,
"fx_rate": 1.115825,
"refresh": [],
"del": 0,
"ref_tasks": [],
"search_params": {
"flyFrom_type": "airport",
"to_type": "airport",
"seats": {
"passengers": 1,
"adults": 1,
"children": 0,
"infants": 0
}
},
"airlinesList": [
{
"filterName": "AM"
},
{
"filterName": "KL"
},
{
"filterName": "VS"
},
{
"filterName": "G4"
},
{
"filterName": "AS"
},
{
"filterName": "O2"
},
{
"filterName": "FLIXBUS"
},
{
"filterName": "KE"
},
{
"filterName": "UA"
},
{
"filterName": "AF"
},
{
"filterName": "B6"
},
{
"filterName": "NH"
},
{
"filterName": "WN"
},
{
"filterName": "SY"
},
{
"filterName": "DL"
},
{
"filterName": "WS"
},
{
"filterName": "AC"
},
{
"filterName": "LH"
},
{
"filterName": "F9"
},
{
"filterName": "AA"
},
{
"filterName": "NK"
}
],
"airportsList": [
{
"filterName": "PIE",
"name": "St. Pete–Clearwater International"
},
{
"filterName": "TPA",
"name": "Tampa International"
},
{
"filterName": "BNA",
"name": "Nashville International"
},
{
"filterName": "ATL",
"name": "Hartsfield–Jackson Atlanta International"
},
{
"filterName": "IAD",
"name": "Washington Dulles International"
},
{
"filterName": "ORD",
"name": "O Hare International"
},
{
"filterName": "MCO",
"name": "Orlando International"
},
{
"filterName": "LAS",
"name": "McCarran International"
},
{
"filterName": "PHL",
"name": "Philadelphia International"
},
{
"filterName": "PDX",
"name": "Portland International"
},
{
"filterName": "PHX",
"name": "Phoenix Sky Harbor International"
},
{
"filterName": "DFW",
"name": "Dallas/Fort Worth International"
},
{
"filterName": "OAK",
"name": "Oakland International"
},
{
"filterName": "SMF",
"name": "Sacramento International"
},
{
"filterName": "DEN",
"name": "Denver International"
},
{
"filterName": "CLT",
"name": "Charlotte Douglas International"
},
{
"filterName": "SFB",
"name": "Orlando Sanford International"
},
{
"filterName": "MSP",
"name": "Minneapolis–Saint Paul International"
},
{
"filterName": "DTW",
"name": "Detroit Metropolitan"
},
{
"filterName": "SEA",
"name": "Seattle–Tacoma International"
},
{
"filterName": "SLC",
"name": "Salt Lake City International"
},
{
"filterName": "LAX",
"name": "Los Angeles International"
},
{
"filterName": "BOI",
"name": "Boise"
}
],
"all_airlines": [
"AM",
"KL",
"VS",
"G4",
"AS",
"O2",
"FLIXBUS",
"KE",
"UA",
"AF",
"B6",
"NH",
"WN",
"SY",
"DL",
"WS",
"AC",
"LH",
"F9",
"AA",
"NK"
],
"all_prices": {
"447-473": 1,
"531-562": 1,
"562-596": 2,
"596-631": 4,
"631-668": 36,
"668-708": 57,
"708-750": 106,
"750-794": 87,
"794-841": 23,
"841-891": 2,
"891-944": 1,
"944-1000": 2,
"1413-1496": 1
},
"all_stopover_airports": [
"PIE",
"TPA",
"BNA",
"ATL",
"IAD",
"ORD",
"MCO",
"LAS",
"PHL",
"PDX",
"PHX",
"DFW",
"OAK",
"SMF",
"DEN",
"CLT",
"SFB",
"MSP",
"DTW",
"SEA",
"SLC",
"LAX",
"BOI"
],
"best_results": [
{
"sort": "quality",
"price": 471,
"duration": 54780,
"quality": 616.732969
}
],
"hashtags": [
{
"name": "outbound:evening",
"count": 122
},
{
"name": "outbound:wednesday",
"count": 112
},
{
"name": "outbound:1stop",
"count": 98
},
{
"name": "outbound:duration:7-8",
"count": 98
},
{
"name": "outbound:departure:23-24",
"count": 98
},
{
"name": "outbound:arrival:10-11",
"count": 99
},
{
"name": "inbound:afternoon",
"count": 149
},
{
"name": "inbound:evening",
"count": 22
},
{
"name": "inbound:friday",
"count": 59
},
{
"name": "inbound:1stop",
"count": 8
},
{
"name": "inbound:duration:7-8",
"count": 5
},
{
"name": "inbound:departure:17-18",
"count": 8
},
{
"name": "inbound:arrival:22-23",
"count": 26
},
{
"name": "outbound:tuesday",
"count": 217
},
{
"name": "inbound:thursday",
"count": 119
},
{
"name": "inbound:2stops",
"count": 321
},
{
"name": "inbound:duration:31-32",
"count": 1
},
{
"name": "inbound:departure:18-19",
"count": 2
},
{
"name": "inbound:arrival:23-24",
"count": 70
},
{
"name": "inbound:morning",
"count": 254
},
{
"name": "inbound:duration:15-16",
"count": 27
},
{
"name": "inbound:departure:8-9",
"count": 61
},
{
"name": "inbound:arrival:20-21",
"count": 69
},
{
"name": "inbound:duration:20-21",
"count": 3
},
{
"name": "inbound:departure:6-7",
"count": 53
},
{
"name": "outbound:morning",
"count": 205
},
{
"name": "outbound:2stops",
"count": 231
},
{
"name": "outbound:duration:13-14",
"count": 44
},
{
"name": "outbound:departure:7-8",
"count": 52
},
{
"name": "outbound:arrival:23-24",
"count": 22
},
{
"name": "inbound:wednesday",
"count": 151
},
{
"name": "inbound:duration:12-13",
"count": 60
},
{
"name": "inbound:departure:13-14",
"count": 81
},
{
"name": "inbound:duration:13-14",
"count": 53
},
{
"name": "inbound:departure:14-15",
"count": 40
},
{
"name": "inbound:arrival:0-1",
"count": 47
},
{
"name": "outbound:departure:6-7",
"count": 66
},
{
"name": "outbound:arrival:22-23",
"count": 18
},
{
"name": "inbound:duration:16-17",
"count": 19
},
{
"name": "inbound:departure:10-11",
"count": 6
},
{
"name": "outbound:duration:12-13",
"count": 30
},
{
"name": "outbound:arrival:21-22",
"count": 118
},
{
"name": "inbound:departure:7-8",
"count": 13
},
{
"name": "inbound:duration:22-23",
"count": 1
},
{
"name": "inbound:arrival:9-10",
"count": 1
},
{
"name": "inbound:departure:19-20",
"count": 11
},
{
"name": "inbound:arrival:8-9",
"count": 4
},
{
"name": "inbound:duration:11-12",
"count": 66
},
{
"name": "inbound:arrival:16-17",
"count": 16
},
{
"name": "inbound:duration:14-15",
"count": 12
},
{
"name": "inbound:arrival:7-8",
"count": 7
},
{
"name": "inbound:duration:21-22",
"count": 1
},
{
"name": "inbound:arrival:12-13",
"count": 4
},
{
"name": "outbound:duration:9-10",
"count": 67
},
{
"name": "outbound:departure:9-10",
"count": 52
},
{
"name": "outbound:afternoon",
"count": 20
},
{
"name": "outbound:departure:17-18",
"count": 16
},
{
"name": "outbound:arrival:9-10",
"count": 24
},
{
"name": "inbound:duration:17-18",
"count": 9
},
{
"name": "outbound:duration:17-18",
"count": 1
},
{
"name": "outbound:departure:21-22",
"count": 1
},
{
"name": "outbound:arrival:17-18",
"count": 14
},
{
"name": "inbound:departure:11-12",
"count": 18
},
{
"name": "inbound:duration:18-19",
"count": 4
},
{
"name": "outbound:duration:11-12",
"count": 37
},
{
"name": "outbound:arrival:20-21",
"count": 22
},
{
"name": "inbound:arrival:15-16",
"count": 52
},
{
"name": "inbound:duration:10-11",
"count": 37
},
{
"name": "inbound:departure:12-13",
"count": 5
},
{
"name": "outbound:duration:8-9",
"count": 39
},
{
"name": "outbound:departure:10-11",
"count": 24
},
{
"name": "outbound:departure:8-9",
"count": 10
},
{
"name": "inbound:arrival:18-19",
"count": 5
},
{
"name": "outbound:duration:10-11",
"count": 9
},
{
"name": "outbound:departure:20-21",
"count": 5
},
{
"name": "outbound:departure:18-19",
"count": 2
},
{
"name": "inbound:arrival:21-22",
"count": 11
},
{
"name": "inbound:arrival:14-15",
"count": 9
},
{
"name": "inbound:duration:19-20",
"count": 1
},
{
"name": "inbound:departure:15-16",
"count": 4
},
{
"name": "outbound:duration:18-19",
"count": 2
},
{
"name": "outbound:arrival:15-16",
"count": 1
},
{
"name": "inbound:arrival:17-18",
"count": 5
},
{
"name": "inbound:duration:9-10",
"count": 30
},
{
"name": "outbound:departure:11-12",
"count": 1
},
{
"name": "outbound:duration:14-15",
"count": 2
},
{
"name": "outbound:departure:15-16",
"count": 2
},
{
"name": "outbound:arrival:19-20",
"count": 11
},
{
"name": "inbound:departure:9-10",
"count": 17
},
{
"name": "inbound:departure:21-22",
"count": 1
},
{
"name": "inbound:arrival:10-11",
"count": 1
},
{
"name": "inbound:departure:16-17",
"count": 9
},
{
"name": "inbound:arrival:13-14",
"count": 2
}
],
"location_hashtags": [
"sightseeing&culture",
"activities"
]
}
… which Bubble parses as (I stitched three screenshots together to capture it all):
My goal is to get the “all_prices” data no matter what the range labels are or how many buckets there are.
Thanks in advance for any/all help.