Top Universities Scraper avatar

Top Universities Scraper

Under maintenance
Try for free

No credit card required

Go to Store
This Actor is under maintenance.

This Actor may be unreliable while under maintenance. Would you like to try a similar Actor instead?

See alternative Actors
Top Universities Scraper

Top Universities Scraper

vbartonicek/topuniversities-scraper
Try for free

No credit card required

Scrapes the QS World University Rankings to get a list of the top universities.

You can access the Top Universities Scraper programmatically from your own applications by using the Apify API. You can choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.

1{
2  "openapi": "3.0.1",
3  "info": {
4    "version": "0.0",
5    "x-build-id": "1sU2pN73jmHdBz32j"
6  },
7  "servers": [
8    {
9      "url": "https://api.apify.com/v2"
10    }
11  ],
12  "paths": {
13    "/acts/vbartonicek~topuniversities-scraper/run-sync-get-dataset-items": {
14      "post": {
15        "operationId": "run-sync-get-dataset-items-vbartonicek-topuniversities-scraper",
16        "x-openai-isConsequential": false,
17        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
18        "tags": [
19          "Run Actor"
20        ],
21        "requestBody": {
22          "required": true,
23          "content": {
24            "application/json": {
25              "schema": {
26                "$ref": "#/components/schemas/inputSchema"
27              }
28            }
29          }
30        },
31        "parameters": [
32          {
33            "name": "token",
34            "in": "query",
35            "required": true,
36            "schema": {
37              "type": "string"
38            },
39            "description": "Enter your Apify token here"
40          }
41        ],
42        "responses": {
43          "200": {
44            "description": "OK"
45          }
46        }
47      }
48    },
49    "/acts/vbartonicek~topuniversities-scraper/runs": {
50      "post": {
51        "operationId": "runs-sync-vbartonicek-topuniversities-scraper",
52        "x-openai-isConsequential": false,
53        "summary": "Executes an Actor and returns information about the initiated run in response.",
54        "tags": [
55          "Run Actor"
56        ],
57        "requestBody": {
58          "required": true,
59          "content": {
60            "application/json": {
61              "schema": {
62                "$ref": "#/components/schemas/inputSchema"
63              }
64            }
65          }
66        },
67        "parameters": [
68          {
69            "name": "token",
70            "in": "query",
71            "required": true,
72            "schema": {
73              "type": "string"
74            },
75            "description": "Enter your Apify token here"
76          }
77        ],
78        "responses": {
79          "200": {
80            "description": "OK",
81            "content": {
82              "application/json": {
83                "schema": {
84                  "$ref": "#/components/schemas/runsResponseSchema"
85                }
86              }
87            }
88          }
89        }
90      }
91    },
92    "/acts/vbartonicek~topuniversities-scraper/run-sync": {
93      "post": {
94        "operationId": "run-sync-vbartonicek-topuniversities-scraper",
95        "x-openai-isConsequential": false,
96        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
97        "tags": [
98          "Run Actor"
99        ],
100        "requestBody": {
101          "required": true,
102          "content": {
103            "application/json": {
104              "schema": {
105                "$ref": "#/components/schemas/inputSchema"
106              }
107            }
108          }
109        },
110        "parameters": [
111          {
112            "name": "token",
113            "in": "query",
114            "required": true,
115            "schema": {
116              "type": "string"
117            },
118            "description": "Enter your Apify token here"
119          }
120        ],
121        "responses": {
122          "200": {
123            "description": "OK"
124          }
125        }
126      }
127    }
128  },
129  "components": {
130    "schemas": {
131      "inputSchema": {
132        "type": "object",
133        "required": [
134          "proxy"
135        ],
136        "properties": {
137          "mode": {
138            "title": "Mode",
139            "enum": [
140              "basic",
141              "visitDetail"
142            ],
143            "type": "string",
144            "description": "Basic mode scrapes only a list of the ranked universities with basic information. Detailed mode visits each university's detail page to collect detailed information. NOTE: It slows the running time dramatically",
145            "default": "basic"
146          },
147          "maxItems": {
148            "title": "Max items",
149            "minimum": 1,
150            "maximum": 100,
151            "type": "integer",
152            "description": "Limit of universities you want to get in final dataset. Max value is 100."
153          },
154          "year": {
155            "title": "Year",
156            "enum": [
157              "2017",
158              "2018",
159              "2019",
160              "2020",
161              "2021",
162              "2022"
163            ],
164            "type": "string",
165            "description": "A year of the QS rankings",
166            "default": "2022"
167          },
168          "country": {
169            "title": "Country",
170            "enum": [
171              "All countries",
172              "Argentina",
173              "Australia",
174              "Austria",
175              "Azerbaijan",
176              "Bahrain",
177              "Bangladesh",
178              "Belarus",
179              "Belgium",
180              "Brazil",
181              "Brunei",
182              "Bulgaria",
183              "Canada",
184              "Chile",
185              "China (Mainland)",
186              "Colombia",
187              "Costa Rica",
188              "Croatia",
189              "Cuba",
190              "Czechia",
191              "Denmark",
192              "Ecuador",
193              "Egypt",
194              "Estonia",
195              "Finland",
196              "France",
197              "Germany",
198              "Greece",
199              "Hong Kong SAR",
200              "Hungary",
201              "India",
202              "Indonesia",
203              "Iran, Islamic Republic of",
204              "Iraq",
205              "Ireland",
206              "Israel",
207              "Italy",
208              "Japan",
209              "Jordan",
210              "Kazakhstan",
211              "Kuwait",
212              "Latvia",
213              "Lebanon",
214              "Lithuania",
215              "Macau SAR",
216              "Malaysia",
217              "Mexico",
218              "Netherlands",
219              "New Zealand",
220              "Norway",
221              "Oman",
222              "Pakistan",
223              "Panama",
224              "Paraguay",
225              "Peru",
226              "Philippines",
227              "Poland",
228              "Portugal",
229              "Puerto Rico",
230              "Qatar",
231              "Romania",
232              "Russia",
233              "Saudi Arabia",
234              "Serbia",
235              "Singapore",
236              "Slovakia",
237              "Slovenia",
238              "South Africa",
239              "South Korea",
240              "Spain",
241              "Sri Lanka",
242              "Sweden",
243              "Switzerland",
244              "Taiwan",
245              "Thailand",
246              "Turkey",
247              "Ukraine",
248              "United Arab Emirates",
249              "United Kingdom",
250              "United States",
251              "Uruguay",
252              "Venezuela",
253              "Vietnam"
254            ],
255            "type": "string",
256            "description": "Choose a country",
257            "default": "All countries"
258          },
259          "proxy": {
260            "title": "Proxy configuration",
261            "type": "object",
262            "description": "Set the proxy configuration of the scraper",
263            "default": {
264              "useApifyProxy": true
265            }
266          }
267        }
268      },
269      "runsResponseSchema": {
270        "type": "object",
271        "properties": {
272          "data": {
273            "type": "object",
274            "properties": {
275              "id": {
276                "type": "string"
277              },
278              "actId": {
279                "type": "string"
280              },
281              "userId": {
282                "type": "string"
283              },
284              "startedAt": {
285                "type": "string",
286                "format": "date-time",
287                "example": "2025-01-08T00:00:00.000Z"
288              },
289              "finishedAt": {
290                "type": "string",
291                "format": "date-time",
292                "example": "2025-01-08T00:00:00.000Z"
293              },
294              "status": {
295                "type": "string",
296                "example": "READY"
297              },
298              "meta": {
299                "type": "object",
300                "properties": {
301                  "origin": {
302                    "type": "string",
303                    "example": "API"
304                  },
305                  "userAgent": {
306                    "type": "string"
307                  }
308                }
309              },
310              "stats": {
311                "type": "object",
312                "properties": {
313                  "inputBodyLen": {
314                    "type": "integer",
315                    "example": 2000
316                  },
317                  "rebootCount": {
318                    "type": "integer",
319                    "example": 0
320                  },
321                  "restartCount": {
322                    "type": "integer",
323                    "example": 0
324                  },
325                  "resurrectCount": {
326                    "type": "integer",
327                    "example": 0
328                  },
329                  "computeUnits": {
330                    "type": "integer",
331                    "example": 0
332                  }
333                }
334              },
335              "options": {
336                "type": "object",
337                "properties": {
338                  "build": {
339                    "type": "string",
340                    "example": "latest"
341                  },
342                  "timeoutSecs": {
343                    "type": "integer",
344                    "example": 300
345                  },
346                  "memoryMbytes": {
347                    "type": "integer",
348                    "example": 1024
349                  },
350                  "diskMbytes": {
351                    "type": "integer",
352                    "example": 2048
353                  }
354                }
355              },
356              "buildId": {
357                "type": "string"
358              },
359              "defaultKeyValueStoreId": {
360                "type": "string"
361              },
362              "defaultDatasetId": {
363                "type": "string"
364              },
365              "defaultRequestQueueId": {
366                "type": "string"
367              },
368              "buildNumber": {
369                "type": "string",
370                "example": "1.0.0"
371              },
372              "containerUrl": {
373                "type": "string"
374              },
375              "usage": {
376                "type": "object",
377                "properties": {
378                  "ACTOR_COMPUTE_UNITS": {
379                    "type": "integer",
380                    "example": 0
381                  },
382                  "DATASET_READS": {
383                    "type": "integer",
384                    "example": 0
385                  },
386                  "DATASET_WRITES": {
387                    "type": "integer",
388                    "example": 0
389                  },
390                  "KEY_VALUE_STORE_READS": {
391                    "type": "integer",
392                    "example": 0
393                  },
394                  "KEY_VALUE_STORE_WRITES": {
395                    "type": "integer",
396                    "example": 1
397                  },
398                  "KEY_VALUE_STORE_LISTS": {
399                    "type": "integer",
400                    "example": 0
401                  },
402                  "REQUEST_QUEUE_READS": {
403                    "type": "integer",
404                    "example": 0
405                  },
406                  "REQUEST_QUEUE_WRITES": {
407                    "type": "integer",
408                    "example": 0
409                  },
410                  "DATA_TRANSFER_INTERNAL_GBYTES": {
411                    "type": "integer",
412                    "example": 0
413                  },
414                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
415                    "type": "integer",
416                    "example": 0
417                  },
418                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
419                    "type": "integer",
420                    "example": 0
421                  },
422                  "PROXY_SERPS": {
423                    "type": "integer",
424                    "example": 0
425                  }
426                }
427              },
428              "usageTotalUsd": {
429                "type": "number",
430                "example": 0.00005
431              },
432              "usageUsd": {
433                "type": "object",
434                "properties": {
435                  "ACTOR_COMPUTE_UNITS": {
436                    "type": "integer",
437                    "example": 0
438                  },
439                  "DATASET_READS": {
440                    "type": "integer",
441                    "example": 0
442                  },
443                  "DATASET_WRITES": {
444                    "type": "integer",
445                    "example": 0
446                  },
447                  "KEY_VALUE_STORE_READS": {
448                    "type": "integer",
449                    "example": 0
450                  },
451                  "KEY_VALUE_STORE_WRITES": {
452                    "type": "number",
453                    "example": 0.00005
454                  },
455                  "KEY_VALUE_STORE_LISTS": {
456                    "type": "integer",
457                    "example": 0
458                  },
459                  "REQUEST_QUEUE_READS": {
460                    "type": "integer",
461                    "example": 0
462                  },
463                  "REQUEST_QUEUE_WRITES": {
464                    "type": "integer",
465                    "example": 0
466                  },
467                  "DATA_TRANSFER_INTERNAL_GBYTES": {
468                    "type": "integer",
469                    "example": 0
470                  },
471                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
472                    "type": "integer",
473                    "example": 0
474                  },
475                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
476                    "type": "integer",
477                    "example": 0
478                  },
479                  "PROXY_SERPS": {
480                    "type": "integer",
481                    "example": 0
482                  }
483                }
484              }
485            }
486          }
487        }
488      }
489    }
490  }
491}

Top Universities Scraper OpenAPI definition

OpenAPI is a standard for designing and describing RESTful APIs, allowing developers to define API structure, endpoints, and data formats in a machine-readable way. It simplifies API development, integration, and documentation.

OpenAPI is effective when used with AI agents and GPTs by standardizing how these systems interact with various APIs, for reliable integrations and efficient communication.

By defining machine-readable API specifications, OpenAPI allows AI models like GPTs to understand and use varied data sources, improving accuracy. This accelerates development, reduces errors, and provides context-aware responses, making OpenAPI a core component for AI applications.

You can download the OpenAPI definitions for Top Universities Scraper from the options below:

If you’d like to learn more about how OpenAPI powers GPTs, read our blog post.

You can also check out our other API clients:

Developer
Maintained by Community

Actor Metrics

  • 12 monthly users

  • 3 stars

  • >99% runs succeeded

  • Created in Jan 2020

  • Modified 3 years ago

Categories