Repository navigation
Expand file tree
/
Copy pathbing_videos.json
More file actions
263 lines (263 loc) · 8.7 KB
/
Copy pathbing_videos.json
File metadata and controls
263 lines (263 loc) · 8.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
{
"engine": "bing_videos",
"params": {
"q": {
"required": true,
"description": "Parameter defines the search query. You can use anything that you would use in a regular Bing Videos search.",
"group": "search_query"
},
"mkt": {
"type": "select",
"options": [
"es-ar",
"en-au",
"de-at",
"nl-be",
"fr-be",
"pt-br",
"en-ca",
"fr-ca",
"es-cl",
"da-dk",
"fi-fi",
"fr-fr",
"de-de",
"zh-hk",
"en-in",
"en-id",
"it-it",
"ja-jp",
"ko-kr",
"en-my",
"es-mx",
"nl-nl",
"en-nz",
"no-no",
"zh-cn",
"pl-pl",
"en-ph",
"ru-ru",
"en-za",
"es-es",
"sv-se",
"fr-ch",
"de-ch",
"zh-tw",
"tr-tr",
"en-gb",
"en-us",
"es-us"
],
"description": "The market where the results come from (e.g. `en-US`). Typically, mkt is the country where the user is making the request from. However, it could be a different country if the user is not located in a country where Bing Videos API delivers results. The market must be in the form -. For example, en-US. The string is case insensitive. For a list of possible market values, see Market Codes. NOTE: If known, you are encouraged to always specify the market. Specifying the market helps Bing route the request and return an appropriate and optimal response. If you specify a market that is not listed in Market Codes, Bing Videos API uses a best fit market code based on an internal mapping that is subject to change. This parameter and the cc query parameter are mutually exclusive—do not specify both.",
"group": "geographic_location"
},
"cc": {
"type": "select",
"options": [
"AR",
"AU",
"AT",
"BE",
"BR",
"CA",
"CL",
"DK",
"FI",
"FR",
"DE",
"HK",
"IN",
"ID",
"IT",
"JP",
"KR",
"MY",
"MX",
"NL",
"NZ",
"NO",
"CN",
"PL",
"PT",
"PH",
"RU",
"SA",
"ZA",
"ES",
"SE",
"CH",
"TW",
"TR",
"GB",
"US"
],
"description": "Parameter defines the country to search from. It follows the 2-character ISO\\_3166-1 format. (e.g., `us` for United States, `de` for Germany, `gb` for United Kingdom, etc.).",
"group": "localization"
},
"setlang": {
"type": "select",
"options": [
"ar",
"eu",
"bn",
"bg",
"ca",
"zh-hans",
"zh-hant",
"hr",
"cs",
"da",
"nl",
"en",
"en-gb",
"et",
"fi",
"fr",
"gl",
"de",
"gu",
"he",
"hi",
"hu",
"is",
"it",
"jp",
"kn",
"ko",
"lv",
"lt",
"ms",
"ml",
"mr",
"nb",
"pl",
"pt-br",
"pt-pt",
"pa",
"ro",
"ru",
"sr",
"sk",
"sl",
"es",
"sv",
"ta",
"te",
"th",
"tr",
"uk",
"vi"
],
"description": "Parameter defines the language to search with. It follows the 2-character ISO\\_3166-1 format. (e.g., `us` for United States, `de` for Germany, `gb` for United Kingdom, etc.). You can view all valid language codes here.",
"group": "localization"
},
"first": {
"type": "number",
"description": "Parameter controls the offset of the organic results. This parameter defaults to `1`. (e.g., `first=10` will move the 10th organic result to the first position).",
"group": "pagination"
},
"length": {
"type": "select",
"options": [
"short",
"medium",
"long"
],
"description": "Parameter is used for filtering videos by duration. It can be set to: `short` - Short (less than 5 minutes) `medium` - Medium (5-20 minutes) `long` - Long (more than 20 minutes)",
"group": "advanced_bing_videos_parameters"
},
"date": {
"type": "select",
"options": [
"lt1440",
"lt10080",
"lt43200",
"lt525600"
],
"description": "Parameter is used for filtering videos by date. It can be set to: `lt1440` - Past 24 hours `lt10080` - Past week `lt43200` - Past month `lt525600` - Past year",
"group": "advanced_bing_videos_parameters"
},
"resolution": {
"type": "select",
"options": [
"lowerthan_360p",
"360p",
"480p",
"720p",
"1080p"
],
"description": "Parameter is used for filtering videos by resolution type. It can be set to: `lowerthan_360p` - Lower than 360p `360p` - 360p or higher `480p` - 480p or higher `720p` - 720p or higher `1080p` - 1080p or higher",
"group": "advanced_bing_videos_parameters"
},
"source_site": {
"type": "select",
"options": [
"dailymotion.com",
"vimeo.com",
"metacafe.com",
"hulu.com",
"vevo.com",
"myspace.com",
"mtv.com",
"cbsnews.com",
"foxnews.com",
"cnn.com",
"msn.com"
],
"description": "Parameter is used for filtering videos by source. It can be set to: `dailymotion.com` - DailyMotion `vimeo.com` - Vimeo `metacafe.com` - Metacafe `hulu.com` - Hulu `vevo.com` - VEVO `myspace.com` - Myspace `mtv.com` - MTV `cbsnews.com` - CBS `foxnews.com` - FOX `cnn.com` - CNN `msn.com` - MSN",
"group": "advanced_bing_videos_parameters"
},
"price": {
"type": "select",
"options": [
"free",
"paid"
],
"description": "Parameter is used for filtering videos by price. It can be set to: `free` - Free `paid` - Paid",
"group": "advanced_bing_videos_parameters"
}
},
"common_params": {
"engine": {
"required": true,
"description": "Set parameter to `bing_videos` to use the Bing Videos API engine.",
"group": "serpapi_parameters"
},
"device": {
"type": "device",
"options": [
"desktop",
"tablet",
"mobile"
],
"description": "Parameter defines the device to use to get the results. It can be set to `desktop` (default) to use a regular browser, `tablet` to use a tablet browser (currently using iPads), or `mobile` to use a mobile browser.",
"group": "serpapi_parameters"
},
"no_cache": {
"type": "checkbox",
"description": "Parameter will force SerpApi to fetch the Bing Videos results even if a cached version is already present. A cache is served only if the query and all parameters are exactly the same. Cache expires after 1h. Cached searches are free, and are not counted towards your searches per month. It can be set to `false` (default) to allow results from the cache, or `true` to disallow results from the cache. no\\_cache and async parameters should not be used together.",
"group": "serpapi_parameters"
},
"async": {
"description": "Parameter defines the way you want to submit your search to SerpApi. It can be set to `false` (default) to open an HTTP connection and keep it open until you got your search results, or `true` to just submit your search to SerpApi and retrieve them later. In this case, you'll need to use our Searches Archive API to retrieve your results. async and no\\_cache parameters should not be used together. async should not be used on accounts with Ludicrous Speed enabled.",
"group": "serpapi_parameters"
},
"zero_trace": {
"description": "Enterprise only. Parameter enables ZeroTrace mode. It can be set to `false` (default) or `true`. Enable this mode to skip storing search parameters, search files, and search metadata on our servers. This may make debugging more difficult.",
"group": "serpapi_parameters"
},
"api_key": {
"required": true,
"description": "Parameter defines the SerpApi private key to use.",
"group": "serpapi_parameters"
},
"output": {
"description": "Parameter defines the format of the result. It can be set to `json` (default) to get a structured JSON of the results, `html` to get the raw HTML retrieved, or `md` to get a markdown-formatted version optimized for LLMs and AI agents.",
"group": "serpapi_parameters"
},
"json_restrictor": {
"description": "Parameter defines the fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.",
"group": "serpapi_parameters"
}
}
}