{
  "openapi": "3.0.1",
  "info": {
    "title": "Udemy Course Scraper",
    "description": "Udemy scraper that extracts course data from topic pages and course URLs: titles, ratings, review counts, students, prices, instructors, objectives, requirements, curriculum and caption languages. Our 2026 test run returned 18 courses in 63 seconds, 51 fields each. Export to JSON, CSV or Excel.",
    "version": "1.0",
    "x-build-id": "gZeSY2lwEY7ThIA4J"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/silentflow~udemy-scraper-ppe/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-silentflow-udemy-scraper-ppe",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/silentflow~udemy-scraper-ppe/runs": {
      "post": {
        "operationId": "runs-sync-silentflow-udemy-scraper-ppe",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/silentflow~udemy-scraper-ppe/run-sync": {
      "post": {
        "operationId": "run-sync-silentflow-udemy-scraper-ppe",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "startUrls": {
            "title": "🔗 Udemy links",
            "type": "array",
            "description": "Paste Udemy pages: a topic (<code>https://www.udemy.com/topic/python/</code>), a search with its filters (<code>https://www.udemy.com/courses/search/?q=excel&amp;lang=fr</code>), a category, an instructor (<code>https://www.udemy.com/user/joseportilla/</code>) or a single course. A topic or a search goes up to thousands of courses, an instructor page gives all of their courses.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "searches": {
            "title": "🔎 Keywords",
            "type": "array",
            "description": "Search Udemy like its search bar, for example <code>python programming</code> or <code>excel</code>. Each keyword returns the courses Udemy ranks first, up to your maximum.",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "🔢 Max courses",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "How many courses to collect in total across all links and keywords. 50 courses take about 3 minutes.",
            "default": 50
          },
          "languages": {
            "title": "🌐 Course languages",
            "uniqueItems": true,
            "type": "array",
            "description": "Keep only courses taught in these languages, for example <b>French</b> and <b>Spanish</b>. English dominates Udemy, so this is the fastest way to a local market.",
            "items": {
              "type": "string",
              "enum": [
                "en",
                "es",
                "pt",
                "fr",
                "de",
                "it",
                "tr",
                "ar",
                "ja",
                "zh",
                "ko",
                "hi",
                "ru",
                "id",
                "pl",
                "nl",
                "vi",
                "th",
                "ro",
                "hu",
                "uk",
                "el",
                "he",
                "cs",
                "bg",
                "hr",
                "sr",
                "sl",
                "sk",
                "da",
                "sv",
                "nb",
                "fi",
                "lv",
                "lt",
                "et",
                "fa",
                "ur",
                "bn",
                "ta",
                "te",
                "ml",
                "mr",
                "kn",
                "gu",
                "ne",
                "ms",
                "my",
                "az",
                "ka",
                "kk",
                "uz",
                "sw",
                "af"
              ],
              "enumTitles": [
                "English",
                "Spanish (Español)",
                "Portuguese (Português)",
                "French (Français)",
                "German (Deutsch)",
                "Italian (Italiano)",
                "Turkish (Türkçe)",
                "Arabic",
                "Japanese",
                "Chinese",
                "Korean",
                "Hindi",
                "Russian",
                "Indonesian",
                "Polish (Polski)",
                "Dutch (Nederlands)",
                "Vietnamese",
                "Thai",
                "Romanian (Română)",
                "Hungarian (Magyar)",
                "Ukrainian",
                "Greek",
                "Hebrew",
                "Czech (Čeština)",
                "Bulgarian",
                "Croatian (Hrvatski)",
                "Serbian",
                "Slovenian",
                "Slovak",
                "Danish (Dansk)",
                "Swedish (Svenska)",
                "Norwegian (Norsk)",
                "Finnish (Suomi)",
                "Latvian",
                "Lithuanian",
                "Estonian",
                "Persian",
                "Urdu",
                "Bengali",
                "Tamil",
                "Telugu",
                "Malayalam",
                "Marathi",
                "Kannada",
                "Gujarati",
                "Nepali",
                "Malay",
                "Burmese",
                "Azerbaijani",
                "Georgian",
                "Kazakh",
                "Uzbek",
                "Swahili",
                "Afrikaans"
              ]
            }
          },
          "levels": {
            "title": "🎓 Levels",
            "uniqueItems": true,
            "type": "array",
            "description": "Keep only courses of these levels. <b>All levels</b> is a level of its own on Udemy.",
            "items": {
              "type": "string",
              "enum": [
                "all",
                "beginner",
                "intermediate",
                "expert"
              ],
              "enumTitles": [
                "All levels",
                "Beginner",
                "Intermediate",
                "Expert"
              ]
            }
          },
          "minRating": {
            "title": "⭐ Minimum rating",
            "enum": [
              "4.5",
              "4.0",
              "3.5",
              "3.0"
            ],
            "type": "string",
            "description": "Keep only courses rated at least this many stars."
          },
          "price": {
            "title": "💰 Free or paid",
            "enum": [
              "free",
              "paid"
            ],
            "type": "string",
            "description": "Keep only free courses or only paid courses. Leave empty for both."
          },
          "maxReviewsPerCourse": {
            "title": "💬 Reviews per course",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "Add the newest written reviews of each course: text, star rating, date, reviewer and the instructor's reply. 0 for none. Each 100 reviews add about a second per course.",
            "default": 0
          },
          "includeInstructorProfiles": {
            "title": "👤 Instructor profiles",
            "type": "boolean",
            "description": "Add the instructor's bio, social links (website, LinkedIn, YouTube, X, Facebook, Instagram, TikTok), total students, courses and reviews to each course. Always on for instructor links.",
            "default": false
          },
          "debugMode": {
            "title": "🐞 Debug mode",
            "type": "boolean",
            "description": "Show detailed logs.",
            "default": false
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}