{
  "openapi": "3.0.1",
  "info": {
    "title": "Udemy Course Finder: Prices, Ratings, Students & Curriculum",
    "description": "Search Udemy by keyword or paste course links and get one row per course: price and list price in your chosen country, rating, reviews, students, instructors, level, language, video hours, category, last update and curriculum. Filters for level, rating, length and language.",
    "version": "0.1",
    "x-build-id": "YJrHCbLeAt6juAxOc"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/neverempty~udemy-course-finder/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-neverempty-udemy-course-finder",
        "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/neverempty~udemy-course-finder/runs": {
      "post": {
        "operationId": "runs-sync-neverempty-udemy-course-finder",
        "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/neverempty~udemy-course-finder/run-sync": {
      "post": {
        "operationId": "run-sync-neverempty-udemy-course-finder",
        "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": {
          "searchQueries": {
            "title": "Search queries",
            "type": "array",
            "description": "Words to search Udemy for, one per line, such as python, excel or digital marketing. Each query returns up to the number of courses set in Maximum courses per query. Up to 100 queries per run. A course found by an earlier query is not returned (or charged) again.",
            "items": {
              "type": "string"
            }
          },
          "courseUrls": {
            "title": "Course links, slugs or IDs",
            "type": "array",
            "description": "Specific Udemy courses, one per line: a course link such as https://www.udemy.com/course/the-web-developer-bootcamp/, the slug from the link (the-web-developer-bootcamp) or the numeric course ID. Up to 5,000 entries per run. You get one row per entry, in the same order.",
            "items": {
              "type": "string"
            }
          },
          "maxResultsPerQuery": {
            "title": "Maximum courses per query",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "How many courses to return for each search query, from 1 to 10,000. Udemy lists about 10,000 courses at most for one search; for more, split a broad query into narrower ones or add filters.",
            "default": 100
          },
          "language": {
            "title": "Course language",
            "type": "array",
            "description": "Only return courses taught in these languages. Leave it empty for all languages.",
            "items": {
              "type": "string",
              "enum": [
                "EN",
                "ES",
                "PT",
                "DE",
                "FR",
                "IT",
                "JA",
                "KO",
                "ZH",
                "TR",
                "AR",
                "HI",
                "RU",
                "ID",
                "PL",
                "VI",
                "NL",
                "TH"
              ],
              "enumTitles": [
                "English",
                "Spanish",
                "Portuguese",
                "German",
                "French",
                "Italian",
                "Japanese",
                "Korean",
                "Chinese",
                "Turkish",
                "Arabic",
                "Hindi",
                "Russian",
                "Indonesian",
                "Polish",
                "Vietnamese",
                "Dutch",
                "Thai"
              ]
            }
          },
          "level": {
            "title": "Level",
            "type": "array",
            "description": "Only return courses for these levels. Leave it empty for all levels.",
            "items": {
              "type": "string",
              "enum": [
                "BEGINNER",
                "INTERMEDIATE",
                "EXPERT",
                "ALL_LEVELS"
              ],
              "enumTitles": [
                "Beginner",
                "Intermediate",
                "Expert",
                "All levels"
              ]
            }
          },
          "price": {
            "title": "Free or paid",
            "enum": [
              "free",
              "paid"
            ],
            "type": "string",
            "description": "Only return free courses or only paid courses. Leave it empty for both."
          },
          "minRating": {
            "title": "Minimum rating",
            "enum": [
              "3.0",
              "3.5",
              "4.0",
              "4.5"
            ],
            "type": "string",
            "description": "Only return courses rated at least this many stars. Leave it empty for any rating."
          },
          "videoLength": {
            "title": "Video length",
            "type": "array",
            "description": "Only return courses whose total video length is in these ranges. Leave it empty for any length.",
            "items": {
              "type": "string",
              "enum": [
                "EXTRA_SHORT",
                "SHORT",
                "MEDIUM",
                "LONG",
                "EXTRA_LONG"
              ],
              "enumTitles": [
                "Under 1 hour",
                "1 to 3 hours",
                "3 to 6 hours",
                "6 to 17 hours",
                "Over 17 hours"
              ]
            }
          },
          "captionLanguage": {
            "title": "Subtitles in",
            "enum": [
              "EN",
              "ES",
              "PT",
              "DE",
              "FR",
              "IT",
              "JA",
              "KO",
              "ZH",
              "TR",
              "AR",
              "HI",
              "RU",
              "ID",
              "PL",
              "VI",
              "NL",
              "TH"
            ],
            "type": "string",
            "description": "Only return courses that have subtitles in this language. Leave it empty for any."
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "rating",
              "reviews",
              "newest"
            ],
            "type": "string",
            "description": "The order of courses for each search query: most relevant, highest rated, most reviewed or newest. The position field keeps this order.",
            "default": "relevance"
          },
          "priceCountry": {
            "title": "Prices for country",
            "enum": [
              "US",
              "GB",
              "CA",
              "AU",
              "NZ",
              "IE",
              "IN",
              "DE",
              "FR",
              "ES",
              "IT",
              "NL",
              "BE",
              "AT",
              "PT",
              "PL",
              "SE",
              "NO",
              "DK",
              "FI",
              "CH",
              "JP",
              "KR",
              "CN",
              "TW",
              "HK",
              "SG",
              "MY",
              "ID",
              "TH",
              "VN",
              "PH",
              "BR",
              "MX",
              "AR",
              "CL",
              "CO",
              "PE",
              "TR",
              "SA",
              "AE",
              "EG",
              "IL",
              "ZA",
              "NG",
              "RU",
              "UA"
            ],
            "type": "string",
            "description": "Udemy shows different prices and currencies in different countries. Choose the country whose current price and list price you want in each row.",
            "default": "US"
          },
          "includeDetails": {
            "title": "Include what you'll learn and curriculum",
            "type": "boolean",
            "description": "When on, each row also has the course's learning outcomes, requirements, target audience and the titles of its curriculum sections.",
            "default": true
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}