# Udemy instructor profile API

Get Udemy Instructor Profile via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as id, output, raw, and retrieve structured data including numeric Udemy instructor identifier, instructor URL slug, instructor display name, plain-text instructor biography, and total published courses to benchmark top educators, resolve numeric instructor ids, and build creator profile cards.

Documentation: https://openany.si/udemy/udemy-instructor-profile-api/74dc550b-cd58-4268-9e27-eb5171dfce4d/
API ID: 74dc550b-cd58-4268-9e27-eb5171dfce4d
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/udemy/v1/instructor
Page update time: 2026-12-03T02:55:14.998Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.002 / billing credit
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:55:13.906Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "rules",
  "parameters": [],
  "policy_version": 2,
  "sale": {
    "addons": [],
    "base_price_micro_usd": "0",
    "max_cost_micro_usd": "2000",
    "quantities": [
      {
        "id": "upstream_credits",
        "label": "Actual API.SH credits used",
        "max_quantity": "1",
        "measure": "value",
        "pointer": "/credits_used",
        "price_micro_usd": "2000",
        "quantity_scale": 0,
        "source": "response",
        "unit": "credit",
        "unit_quantity": "1"
      }
    ],
    "rounding": "ceil",
    "variants": []
  }
}
```

## Usage and limits
## Udemy Instructor Profile API

Pass id as the instructor's profile slug (the segment after /user/, such as joseportilla) or a full Udemy user URL. The response returns numeric id, name, title, bio, bio\_html, num\_courses, num\_students, num\_reviews, social\_links and courses\_endpoint.

## What You Can Build

- **Benchmark top educators**: Compare num\_students, num\_reviews and num\_courses across instructors in a vertical.
- **Resolve numeric instructor IDs**: Fetch the numeric id needed to paginate courses via the Udemy Instructor Courses API.
- **Build creator profile cards**: Display bio, image, title and social\_links alongside course listings.

## Returned Data

| Field | Meaning |
| --- | --- |
| `id` | Numeric Udemy instructor identifier |
| `slug` | Instructor URL slug |
| `name` | Instructor display name |
| `title` | Instructor headline or job title |
| `bio` | Plain-text instructor biography |
| `num_courses` | Total published courses |
| `num_students` | Reported total enrolled students |
| `num_reviews` | Reported total course reviews |
| `social_links.linkedin` | Instructor LinkedIn link when provided |
| `url` | Udemy instructor profile URL |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Udemy instructor profile API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The instructor's profile name (the part after /user/ in their link), e.g. `joseportilla`, or a udemy.com/user/... link."
        },
        "raw": {
          "type": "string",
          "description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
          "enum": [
            "0",
            "1"
          ]
        },
        "fields": {
          "type": "string",
          "description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included."
        },
        "fresh": {
          "type": "string",
          "description": "1 skips the 24-hour cache and fetches live.",
          "enum": [
            "1"
          ]
        },
        "output": {
          "type": "string",
          "description": "JSON only for this OpenAny product. CSV and NDJSON exports are not supported; omit output or send json.",
          "enum": [
            "json"
          ]
        },
        "records": {
          "type": "string",
          "description": "With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row."
        }
      },
      "required": [
        "id"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "bio": {
      "type": "string"
    },
    "bio_html": {
      "type": "string"
    },
    "cached": {
      "type": "boolean"
    },
    "courses_endpoint": {
      "type": "string"
    },
    "credits_used": {
      "type": "integer"
    },
    "fetched_at": {
      "type": "string"
    },
    "id": {
      "type": "integer"
    },
    "image": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "num_courses": {
      "type": "integer"
    },
    "num_reviews": {
      "type": "integer"
    },
    "num_students": {
      "type": "integer"
    },
    "slug": {
      "type": "string"
    },
    "social_links": {
      "type": "object",
      "properties": {
        "linkedin": {
          "type": "string"
        },
        "personal_website": {
          "type": "string"
        },
        "twitter": {
          "type": "string"
        }
      }
    },
    "title": {
      "type": "string"
    },
    "url": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Official example · Live API.SH response · Minimal request
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/udemy/v1/instructor?id=joseportilla&output=json&raw=0' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "bio": "Jose Marcial Portilla has a BS and MS in Mechanical Engineering from Santa Clara University and years of experience as a professional instructor and trainer for Data Science, Machine Learning and Python Programming. He has publications and patents in various fields such as microfluidics, materials science, and data science. Over the course of his career he has developed a skill set in analyzing data and he hopes to use his experience in teaching and data science to help other people learn the power of programming, the ability to analyze data, and the skills needed to present the data in clear and beautiful visualizations. Currently he works as the Head of Data Science for Pierian Training and provides in-person data science and python programming training courses to employees working at top companies, including General Electric, Cigna, SalesForce, Starbucks, McKinsey and many more. Feel free to check out the website link to find out more information about training offerings.",
  "bio_html": "<p>Jose Marcial Portilla has a BS and MS in Mechanical Engineering from Santa Clara University and&nbsp;years of&nbsp;experience as a professional instructor and trainer for Data Science, Machine Learning and Python Programming. He has publications and patents in various fields such as microfluidics,&nbsp;materials science, and data science. Over the course of his career he has developed a skill set in analyzing data and he hopes to use his experience in teaching and data science to help other people learn the power of programming, the&nbsp;ability to analyze data, and the skills needed to present the data in clear and beautiful visualizations. Currently he works as the Head of Data Science for Pierian Training&nbsp;and provides in-person data science and python programming training courses to employees working at top companies, including General Electric, Cigna, SalesForce, Starbucks, McKinsey and many more.&nbsp;Feel free to check out the website link to find out more information about training offerings.</p>",
  "cached": false,
  "courses_endpoint": "/udemy/v1/instructor/courses?id=9685726",
  "credits_used": 1,
  "fetched_at": "2026-11-19T12:19:44.281Z",
  "id": 9685726,
  "image": "https://img-c.udemycdn.com/user/200_H/9685726_67e7_4.jpg",
  "name": "Jose Portilla",
  "num_courses": 86,
  "num_reviews": 1372451,
  "num_students": 4671276,
  "slug": "joseportilla",
  "social_links": {
    "linkedin": "https://linkedin.com/in/jmportilla",
    "personal_website": "https://www.pieriantraining.com",
    "twitter": "https://twitter.com/JoseMPortilla"
  },
  "title": "Head of Data Science at Pierian Training",
  "url": "https://www.udemy.com/user/joseportilla/"
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### What value should I pass in the id parameter?
Pass the instructor's profile slug from udemy.com/user/<slug> (such as joseportilla) or the full profile URL.

### Does this endpoint return the instructor's full list of courses?
No. It returns num_courses and a courses_endpoint reference; call the Udemy Instructor Courses API with the returned id to list courses.

### Are social links guaranteed to be verified?
No. social_links reflects self-reported links published on the instructor's Udemy profile.

### Does it return both plain text and HTML biography?
Yes. The response includes both bio and bio_html.

### How do I get fresh student and review counts?
Pass fresh=1 to bypass the 24-hour cache.

### How do I trim the JSON response?
Pass raw=0 to omit bulky raw blocks or use fields to request only needed attributes.

## Available implementations
- apish: https://openany.si/udemy/udemy-instructor-profile-api/74dc550b-cd58-4268-9e27-eb5171dfce4d/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
