OpenAny
Get API keyAPI Key
APIDataSearch & Research

udemy logo
Udemy Category Tree API

Get Udemy Category Tree data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as limit, output, raw, and retrieve structured data including count, numeric top-level category identifier, top-level category display title, numeric subcategory identifier, and subcategory display title to build course navigation menus, resolve subcategory ids, and discover niche topics.

Selected price
$0.002 / billing creditPublished pricing
Sellers / APIs
1 / 1
Requests · 30d
0Selected implementation · last 30 days
Success rate · 30d
—No requests in this period
USE THIS API

Udemy Category Tree API

Prepare your request, then continue with your agent.

Pricing

$0.002 / billing credit

Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
Udemy Category Tree API

Udemy Category Tree API

Call with no required query parameters to retrieve Udemy's top-level categories[] and nested subcategories[], each with numeric id, title, type and url. Optionally pass subcategory_id (such as 8) and limit (default 30, max 100) to list topics within that subcategory.

Quick Facts

Fact Value
Access OpenAny REST
Authentication OpenAny API key in the Authorization header
Core inputs GET query: optional subcategory_id (integer, e.g. 8 to list topics), limit (default 30, max 100), raw=0, fields and fresh=1.
Selected implementation apish · Udemy category tree API
Billing See the pricing area for the selected implementation and request options

What You Can Build

  • Build course navigation menus: Mirror Udemy's official category and subcategory tree with numeric IDs and URLs.
  • Resolve subcategory IDs: Look up numeric category or subcategory IDs before calling the Udemy Category Courses API.
  • Discover niche topics: Pass subcategory_id with limit to enumerate granular Udemy topics for market research.

Returned Data

Field Meaning
count Number of top-level categories or topics returned
categories[].id Numeric top-level category identifier
categories[].title Top-level category display title
categories[].url Udemy category path or URL
categories[].subcategories[].id Numeric subcategory identifier
categories[].subcategories[].title Subcategory display title
categories[].subcategories[].url Subcategory path or URL

Quick Start

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the selected implementation and pricing, then adapt the request below to your target.
  3. Check the HTTP response and business result before reading optional fields.
bash
curl --request GET --get \
  https://api.openany.si/v1/agent-apis/apish/udemy/v1/categories \
  -H "Authorization: Bearer ${OPENANY_API_KEY}" \
  --data-urlencode limit=1 \
  --data-urlencode output=json \
  --data-urlencode raw=0

Request and Response Examples

The response example is a documentation reference and may be abbreviated. The documented request is a calling template; use the published contract and returned response for the selected implementation.

Published Udemy Category Tree API implementation contract.

Pricing and Billing

The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.

Frequently Asked Questions

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
Optional parameters (7)
A subcategory id, e.g. `8`, to list its topics.
Topics to list with subcategory_id (default 30, max 100).
0 leaves out the bulky `raw` source blocks (often 10-30x smaller).
Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.
1 skips the 24-hour cache and fetches live.
JSON only for this OpenAny product. CSV and NDJSON exports are not supported; omit output or send json.
With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.

Sample response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
apishCurrent
Udemy category tree API · GET · View API reference
$0.002 / billing credit0
—successP50—
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · apishUSD / billing credit
Pricing
$0.002

Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.

Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 3. Price update time: not supplied.

API

Method
GET
Endpoint
https://api.openany.si/v1/agent-apis/apish/udemy/v1/categories
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
subcategory_idURL query parametersqueryintegerNo

A subcategory id, e.g. `8`, to list its topics.

limitURL query parametersqueryintegerNo

Topics to list with subcategory_id (default 30, max 100).

rawURL query parametersquerystringNo

0 leaves out the bulky `raw` source blocks (often 10-30x smaller).

enum: "0", "1"

fieldsURL query parametersquerystringNo

Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.

freshURL query parametersquerystringNo

1 skips the 24-hour cache and fetches live.

enum: "1"

outputURL query parametersquerystringNo

JSON only for this OpenAny product. CSV and NDJSON exports are not supported; omit output or send json.

enum: "json"

recordsURL query parametersquerystringNo

With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.

Required markers inside a nested object or variant apply when that object or variant is used.

Response structure

Inferred from examples
  • cachedboolean
  • categoriesobject[]
    • idinteger
    • subcategoriesobject[]
      • idinteger
      • titlestring
      • typestring
      • urlstring
    • titlestring
    • typestring
    • urlstring
  • countinteger
  • credits_usedinteger
  • fetched_atstring

Composite rule pricing

Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.

Base fee: $0.000000. One matching variant replaces the base fee. Matching add-ons and quantity charges are added.

Fee itemPriceMetering sourceWhenQuantity limit
Actual API.SH credits used$0.002000 / billing creditResponse · /credits_used · Numeric valueAlways1 billing credit · Decimal places: 0

Each quantity charge is rounded before summing: ceil. Requests exceeding this cost limit are rejected; it is not a price cap: $0.002000.

Response quantities settle after the response. Before execution, the maximum quantity determines the reservation; unused reservation is released. Missing or invalid quantities are not treated as zero.

Pricing parameters and defaults
[]

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect the error and usage record before retrying a paid operation.

Examples

Official example · Live API.SH response · Minimal request

Example from the provider's documentation. Field values in your results will differ.

  1. Prepare your environment

    Use a terminal with cURL installed.

    Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.

    Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.

    Terminal · macOS / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. Run the request

    Paste the complete command below into your terminal.

    Values to replace before running 7

    Review these request fields before running. Keep the published provider and request method unchanged.

    subcategory_id
    A subcategory id, e.g. `8`, to list its topics.
    limit
    Topics to list with subcategory_id (default 30, max 100).
    raw
    0 leaves out the bulky `raw` source blocks (often 10-30x smaller).
    fields
    Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.
    fresh
    1 skips the 24-hour cache and fetches live.
    output
    JSON only for this OpenAny product. CSV and NDJSON exports are not supported; omit output or send json.
    records
    With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.
    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/apish/udemy/v1/categories?limit=1&output=json&raw=0' \
      -X GET \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json'
  3. Check the response

    Sample response · Documented HTTP 200

    Sample response
    {
      "cached": false,
      "categories": [
        {
          "id": 288,
          "subcategories": [
            {
              "id": 8,
              "title": "Web Development",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/development/web-development/"
            },
            {
              "id": 558,
              "title": "Data Science",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/development/data-science/"
            },
            {
              "id": 10,
              "title": "Mobile Development",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/development/mobile-apps/"
            },
            {
              "id": 12,
              "title": "Programming Languages",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/development/programming-languages/"
            },
            {
              "id": 14,
              "title": "Game Development",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/development/game-development/"
            },
            {
              "id": 16,
              "title": "Database Design & Development",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/development/databases/"
            },
            {
              "id": 18,
              "title": "Software Testing",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/development/software-testing/"
            },
            {
              "id": 20,
              "title": "Software Engineering",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/development/software-engineering/"
            },
            {
              "id": 362,
              "title": "Software Development Tools",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/development/development-tools/"
            },
            {
              "id": 575,
              "title": "No-Code Development",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/development/no-code-development/"
            }
          ],
          "title": "Development",
          "type": "category",
          "url": "https://www.udemy.com/courses/development/"
        },
        {
          "id": 268,
          "subcategories": [
            {
              "id": 26,
              "title": "Entrepreneurship",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/business/entrepreneurship/"
            },
            {
              "id": 28,
              "title": "Communication",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/business/communications/"
            },
            {
              "id": 30,
              "title": "Management",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/business/management/"
            },
            {
              "id": 32,
              "title": "Sales",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/business/sales/"
            },
            {
              "id": 34,
              "title": "Business Strategy",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/business/strategy/"
            },
            {
              "id": 36,
              "title": "Operations",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/business/operations/"
            },
            {
              "id": 38,
              "title": "Project Management",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/business/project-management/"
            },
            {
              "id": 40,
              "title": "Business Law",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/business/business-law/"
            },
            {
              "id": 44,
              "title": "Business Analytics & Intelligence",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/business/analytics-and-intelligence/"
            },
            {
              "id": 48,
              "title": "Human Resources",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/business/human-resources/"
            },
            {
              "id": 50,
              "title": "Industry",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/business/industry/"
            },
            {
              "id": 354,
              "title": "E-Commerce",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/business/e-commerce/"
            },
            {
              "id": 52,
              "title": "Media",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/business/media/"
            },
            {
              "id": 58,
              "title": "Real Estate",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/business/real-estate/"
            },
            {
              "id": 60,
              "title": "Other Business",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/business/other-business/"
            }
          ],
          "title": "Business",
          "type": "category",
          "url": "https://www.udemy.com/courses/business/"
        },
        {
          "id": 328,
          "subcategories": [
            {
              "id": 530,
              "title": "Accounting & Bookkeeping",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/finance-and-accounting/accounting-bookkeeping/"
            },
            {
              "id": 532,
              "title": "Compliance",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/finance-and-accounting/compliance/"
            },
            {
              "id": 534,
              "title": "Cryptocurrency & Blockchain",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/finance-and-accounting/cryptocurrency-and-blockchain/"
            },
            {
              "id": 536,
              "title": "Economics",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/finance-and-accounting/economics/"
            },
            {
              "id": 540,
              "title": "Finance",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/finance-and-accounting/finance-management/"
            },
            {
              "id": 542,
              "title": "Finance Cert & Exam Prep",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/finance-and-accounting/finance-certification-and-exam-prep/"
            },
            {
              "id": 544,
              "title": "Financial Modeling & Analysis",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/finance-and-accounting/financial-modeling-and-analysis/"
            },
            {
              "id": 546,
              "title": "Investing & Trading",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/finance-and-accounting/investing-and-trading/"
            },
            {
              "id": 548,
              "title": "Money Management Tools",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/finance-and-accounting/money-management-tools/"
            },
            {
              "id": 550,
              "title": "Taxes",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/finance-and-accounting/taxes/"
            },
            {
              "id": 552,
              "title": "Other Finance & Accounting",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/finance-and-accounting/other-finance-and-accounting/"
            }
          ],
          "title": "Finance & Accounting",
          "type": "category",
          "url": "https://www.udemy.com/courses/finance-and-accounting/"
        },
        {
          "id": 294,
          "subcategories": [
            {
              "id": 132,
              "title": "IT Certifications",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/it-and-software/it-certification/"
            },
            {
              "id": 134,
              "title": "Network & Security",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/it-and-software/network-and-security/"
            },
            {
              "id": 136,
              "title": "Hardware",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/it-and-software/hardware/"
            },
            {
              "id": 138,
              "title": "Operating Systems & Servers",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/it-and-software/operating-systems/"
            },
            {
              "id": 140,
              "title": "Other IT & Software",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/it-and-software/other-it-and-software/"
            }
          ],
          "title": "IT & Software",
          "type": "category",
          "url": "https://www.udemy.com/courses/it-and-software/"
        },
        {
          "id": 292,
          "subcategories": [
            {
              "id": 96,
              "title": "Microsoft",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/office-productivity/microsoft/"
            },
            {
              "id": 98,
              "title": "Apple",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/office-productivity/apple/"
            },
            {
              "id": 100,
              "title": "Google",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/office-productivity/google/"
            },
            {
              "id": 102,
              "title": "SAP",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/office-productivity/sap/"
            },
            {
              "id": 106,
              "title": "Oracle",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/office-productivity/oracle/"
            },
            {
              "id": 108,
              "title": "Other Office Productivity",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/office-productivity/other-productivity/"
            }
          ],
          "title": "Office Productivity",
          "type": "category",
          "url": "https://www.udemy.com/courses/office-productivity/"
        },
        {
          "id": 296,
          "subcategories": [
            {
              "id": 142,
              "title": "Personal Transformation",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/personal-development/personal-transformation/"
            },
            {
              "id": 144,
              "title": "Personal Productivity",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/personal-development/productivity/"
            },
            {
              "id": 146,
              "title": "Leadership",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/personal-development/leadership/"
            },
            {
              "id": 150,
              "title": "Career Development",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/personal-development/career-development/"
            },
            {
              "id": 152,
              "title": "Parenting & Relationships",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/personal-development/parenting-and-relationships/"
            },
            {
              "id": 156,
              "title": "Happiness",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/personal-development/happiness/"
            },
            {
              "id": 577,
              "title": "Esoteric Practices",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/lifestyle/esoteric-practices/"
            },
            {
              "id": 158,
              "title": "Religion & Spirituality",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/personal-development/religion-and-spirituality/"
            },
            {
              "id": 160,
              "title": "Personal Brand Building",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/personal-development/personal-brand-building/"
            },
            {
              "id": 164,
              "title": "Creativity",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/personal-development/creativity/"
            },
            {
              "id": 166,
              "title": "Influence",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/personal-development/influence/"
            },
            {
              "id": 168,
              "title": "Self Esteem & Confidence",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/personal-development/self-esteem-and-confidence/"
            },
            {
              "id": 170,
              "title": "Stress Management",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/personal-development/stress-management/"
            },
            {
              "id": 172,
              "title": "Memory & Study Skills",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/personal-development/memory/"
            },
            {
              "id": 176,
              "title": "Motivation",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/personal-development/motivation/"
            },
            {
              "id": 178,
              "title": "Other Personal Development",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/personal-development/other-personal-development/"
            }
          ],
          "title": "Personal Development",
          "type": "category",
          "url": "https://www.udemy.com/courses/personal-development/"
        },
        {
          "id": 269,
          "subcategories": [
            {
              "id": 6,
              "title": "Web Design",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/design/web-design/"
            },
            {
              "id": 110,
              "title": "Graphic Design & Illustration",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/design/graphic-design-and-illustration/"
            },
            {
              "id": 112,
              "title": "Design Tools",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/design/design-tools/"
            },
            {
              "id": 114,
              "title": "User Experience Design",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/design/user-experience/"
            },
            {
              "id": 116,
              "title": "Game Design",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/design/game-design/"
            },
            {
              "id": 120,
              "title": "3D & Animation",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/design/3d-and-animation/"
            },
            {
              "id": 122,
              "title": "Fashion Design",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/design/fashion/"
            },
            {
              "id": 124,
              "title": "Architectural Design",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/design/architectural-design/"
            },
            {
              "id": 128,
              "title": "Interior Design",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/design/interior-design/"
            },
            {
              "id": 130,
              "title": "Other Design",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/design/other-design/"
            }
          ],
          "title": "Design",
          "type": "category",
          "url": "https://www.udemy.com/courses/design/"
        },
        {
          "id": 290,
          "subcategories": [
            {
              "id": 62,
              "title": "Digital Marketing",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/marketing/digital-marketing/"
            },
            {
              "id": 64,
              "title": "Search Engine Optimization",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/marketing/search-engine-optimization/"
            },
            {
              "id": 66,
              "title": "Social Media Marketing",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/marketing/social-media-marketing/"
            },
            {
              "id": 68,
              "title": "Branding",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/marketing/branding/"
            },
            {
              "id": 70,
              "title": "Marketing Fundamentals",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/marketing/marketing-fundamentals/"
            },
            {
              "id": 72,
              "title": "Marketing Analytics & Automation",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/marketing/analytics-and-automation/"
            },
            {
              "id": 74,
              "title": "Public Relations",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/marketing/public-relations/"
            },
            {
              "id": 76,
              "title": "Paid Advertising",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/marketing/advertising/"
            },
            {
              "id": 78,
              "title": "Video & Mobile Marketing",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/marketing/video-and-mobile-marketing/"
            },
            {
              "id": 80,
              "title": "Content Marketing",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/marketing/content-marketing/"
            },
            {
              "id": 86,
              "title": "Growth Hacking",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/marketing/growth-hacking/"
            },
            {
              "id": 88,
              "title": "Affiliate Marketing",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/marketing/affiliate-marketing/"
            },
            {
              "id": 90,
              "title": "Product Marketing",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/marketing/product-marketing/"
            },
            {
              "id": 94,
              "title": "Other Marketing",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/marketing/other-marketing/"
            }
          ],
          "title": "Marketing",
          "type": "category",
          "url": "https://www.udemy.com/courses/marketing/"
        },
        {
          "id": 274,
          "subcategories": [
            {
              "id": 180,
              "title": "Arts & Crafts",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/lifestyle/arts-and-crafts/"
            },
            {
              "id": 184,
              "title": "Beauty & Makeup",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/lifestyle/beauty-and-makeup/"
            },
            {
              "id": 577,
              "title": "Esoteric Practices",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/lifestyle/esoteric-practices/"
            },
            {
              "id": 182,
              "title": "Food & Beverage",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/lifestyle/food-and-beverage/"
            },
            {
              "id": 188,
              "title": "Gaming",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/lifestyle/gaming/"
            },
            {
              "id": 190,
              "title": "Home Improvement & Gardening",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/lifestyle/home-improvement/"
            },
            {
              "id": 192,
              "title": "Pet Care & Training",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/lifestyle/pet-care-and-training/"
            },
            {
              "id": 186,
              "title": "Travel",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/lifestyle/travel/"
            },
            {
              "id": 194,
              "title": "Other Lifestyle",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/lifestyle/other-lifestyle/"
            }
          ],
          "title": "Lifestyle",
          "type": "category",
          "url": "https://www.udemy.com/courses/lifestyle/"
        },
        {
          "id": 273,
          "subcategories": [
            {
              "id": 370,
              "title": "Digital Photography",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/photography-and-video/digital-photography/"
            },
            {
              "id": 196,
              "title": "Photography",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/photography-and-video/photography-fundamentals/"
            },
            {
              "id": 204,
              "title": "Portrait Photography",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/photography-and-video/portraits/"
            },
            {
              "id": 198,
              "title": "Photography Tools",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/photography-and-video/photography-tools/"
            },
            {
              "id": 208,
              "title": "Commercial Photography",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/photography-and-video/commercial-photography/"
            },
            {
              "id": 218,
              "title": "Video Design",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/photography-and-video/video-design/"
            },
            {
              "id": 220,
              "title": "Other Photography & Video",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/photography-and-video/other-photography-and-video/"
            }
          ],
          "title": "Photography & Video",
          "type": "category",
          "url": "https://www.udemy.com/courses/photography-and-video/"
        },
        {
          "id": 276,
          "subcategories": [
            {
              "id": 222,
              "title": "Fitness",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/health-and-fitness/fitness/"
            },
            {
              "id": 224,
              "title": "General Health",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/health-and-fitness/general-health/"
            },
            {
              "id": 226,
              "title": "Sports",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/health-and-fitness/sports/"
            },
            {
              "id": 228,
              "title": "Nutrition & Diet",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/health-and-fitness/nutrition/"
            },
            {
              "id": 230,
              "title": "Yoga",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/health-and-fitness/yoga/"
            },
            {
              "id": 232,
              "title": "Mental Health",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/health-and-fitness/mental-health/"
            },
            {
              "id": 236,
              "title": "Martial Arts & Self Defense",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/health-and-fitness/self-defense/"
            },
            {
              "id": 238,
              "title": "Safety & First Aid",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/health-and-fitness/safety-and-first-aid/"
            },
            {
              "id": 240,
              "title": "Dance",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/health-and-fitness/dance/"
            },
            {
              "id": 242,
              "title": "Meditation",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/health-and-fitness/meditation/"
            },
            {
              "id": 244,
              "title": "Other Health & Fitness",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/health-and-fitness/other-health-and-fitness/"
            }
          ],
          "title": "Health & Fitness",
          "type": "category",
          "url": "https://www.udemy.com/courses/health-and-fitness/"
        },
        {
          "id": 278,
          "subcategories": [
            {
              "id": 296,
              "title": "Instruments",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/music/instruments/"
            },
            {
              "id": 298,
              "title": "Music Production",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/music/production/"
            },
            {
              "id": 300,
              "title": "Music Fundamentals",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/music/music-fundamentals/"
            },
            {
              "id": 302,
              "title": "Vocal",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/music/vocal/"
            },
            {
              "id": 304,
              "title": "Music Techniques",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/music/music-techniques/"
            },
            {
              "id": 306,
              "title": "Music Software",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/music/music-software/"
            },
            {
              "id": 308,
              "title": "Other Music",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/music/other-music/"
            }
          ],
          "title": "Music",
          "type": "category",
          "url": "https://www.udemy.com/courses/music/"
        },
        {
          "id": 300,
          "subcategories": [
            {
              "id": 366,
              "title": "Engineering",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/teaching-and-academics/engineering/"
            },
            {
              "id": 380,
              "title": "Humanities",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/teaching-and-academics/humanities/"
            },
            {
              "id": 310,
              "title": "Math",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/teaching-and-academics/math/"
            },
            {
              "id": 312,
              "title": "Science",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/teaching-and-academics/science/"
            },
            {
              "id": 523,
              "title": "Online Education",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/teaching-and-academics/online-education/"
            },
            {
              "id": 376,
              "title": "Social Science",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/teaching-and-academics/social-science/"
            },
            {
              "id": 521,
              "title": "Language Learning",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/teaching-and-academics/language/"
            },
            {
              "id": 527,
              "title": "Teacher Training",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/teaching-and-academics/teacher-training/"
            },
            {
              "id": 529,
              "title": "Test Prep",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/teaching-and-academics/test-prep/"
            },
            {
              "id": 525,
              "title": "Other Teaching & Academics",
              "type": "subcategory",
              "url": "https://www.udemy.com/courses/teaching-and-academics/other-teaching-academics/"
            }
          ],
          "title": "Teaching & Academics",
          "type": "category",
          "url": "https://www.udemy.com/courses/teaching-and-academics/"
        }
      ],
      "count": 13,
      "credits_used": 1,
      "fetched_at": "2026-11-19T12:19:42.064Z"
    }

Common questions

Are any query parameters required?

No. Calling without subcategory_id returns the full top-level category and subcategory tree.

How do I list topics under a specific subcategory?

Pass the numeric subcategory_id (such as 8 for Web Development) and optionally set limit up to 100.

Does this endpoint return courses inside each category?

No. It returns taxonomy IDs and titles; pass those IDs to the Udemy Category Courses API to list courses.

What is the default and maximum limit when using subcategory_id?

limit defaults to 30 and accepts up to 100 topics.

How do I reduce payload size?

Pass raw=0 to omit bulky raw blocks or specify fields to keep only IDs and titles.

How fresh is the category taxonomy?

Responses may use a 24-hour cache by default; pass fresh=1 to query live taxonomy data.

Use Udemy Category Tree API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.