> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anysite.io/llms.txt
> Use this file to discover all available pages before exploring further.

# /edx/programs

> Get full edX (edx.org) program details (Professional Certificate, MicroMasters, MicroBachelors, XSeries, etc.) by program UUID, program page URL, or URL slug.

**Price:** 5 credits

**⚠️ Common errors:** 412: Program not found. Verify the UUID, URL, or slug.



## OpenAPI

````yaml /openapi/education-courses.json post /api/edx/programs
openapi: 3.1.0
info:
  title: Any Site API
  description: >+
    Any Site API provides programmatic access to data from LinkedIn, Instagram,
    Twitter, and other platforms.


    ## Authentication


    All API endpoints require an `access-token` header with a valid API token.
    Tokens can be created in the [dashboard](https://app.anysite.io/).


    ## Pricing


    Each endpoint has a credit cost listed in its description. Credits are
    deducted from your token balance per request.

  version: 0.0.1
servers: []
security:
  - AccessToken: []
paths:
  /api/edx/programs:
    post:
      tags:
        - /edx
      summary: /edx/programs
      description: >-
        Get full edX (edx.org) program details (Professional Certificate,
        MicroMasters, MicroBachelors, XSeries, etc.) by program UUID, program
        page URL, or URL slug.


        **Price:** 5 credits


        **⚠️ Common errors:** 412: Program not found. Verify the UUID, URL, or
        slug.
      operationId: __api_edx_programs_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EdxProgramsPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/EdxProgram'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    EdxProgramsPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        program:
          type: string
          minLength: 1
      type: object
      required:
        - program
    EdxProgram:
      properties:
        '@type':
          type: string
          default: EdxProgram
        id:
          type: string
        name:
          type: string
        subtitle:
          anyOf:
            - type: string
            - type: 'null'
        program_type:
          anyOf:
            - type: string
            - type: 'null'
        overview:
          anyOf:
            - type: string
            - type: 'null'
        marketing_hook:
          anyOf:
            - type: string
            - type: 'null'
        subjects:
          items:
            type: string
          type: array
          default: []
        skills:
          items:
            type: string
          type: array
          default: []
        expected_learning:
          items:
            type: string
          type: array
          default: []
        job_outlook:
          items:
            type: string
          type: array
          default: []
        faq:
          items:
            $ref: '#/components/schemas/EdxProgramFaq'
          type: array
          default: []
        courses:
          items:
            $ref: '#/components/schemas/EdxProgramCourse'
          type: array
          default: []
        corporate_endorsements:
          items:
            $ref: '#/components/schemas/EdxCorporateEndorsement'
          type: array
          default: []
        partners:
          items:
            $ref: '#/components/schemas/EdxPartner'
          type: array
          default: []
        staff:
          items:
            $ref: '#/components/schemas/EdxInstructor'
          type: array
          default: []
        image:
          anyOf:
            - type: string
            - type: 'null'
        banner_image:
          anyOf:
            - type: string
            - type: 'null'
        video_url:
          anyOf:
            - type: string
            - type: 'null'
        weeks_to_complete:
          anyOf:
            - type: integer
            - type: 'null'
        weeks_to_complete_min:
          anyOf:
            - type: integer
            - type: 'null'
        weeks_to_complete_max:
          anyOf:
            - type: integer
            - type: 'null'
        min_effort:
          anyOf:
            - type: integer
            - type: 'null'
        max_effort:
          anyOf:
            - type: integer
            - type: 'null'
        price:
          anyOf:
            - type: number
            - type: 'null'
        discounted_price:
          anyOf:
            - type: number
            - type: 'null'
        currency:
          anyOf:
            - type: string
            - type: 'null'
        enrollment_count:
          anyOf:
            - type: integer
            - type: 'null'
        recent_enrollment_count:
          anyOf:
            - type: integer
            - type: 'null'
        availability:
          items:
            type: string
          type: array
          default: []
        languages:
          items:
            type: string
          type: array
          default: []
        web_url:
          anyOf:
            - type: string
            - type: 'null'
        created_at:
          anyOf:
            - type: integer
            - type: 'null'
        updated_at:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
      required:
        - id
        - name
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    EdxProgramFaq:
      properties:
        '@type':
          type: string
          default: EdxProgramFaq
        question:
          anyOf:
            - type: string
            - type: 'null'
        answer:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    EdxProgramCourse:
      properties:
        '@type':
          type: string
          default: EdxProgramCourse
        id:
          type: string
        key:
          anyOf:
            - type: string
            - type: 'null'
        name:
          type: string
        price:
          anyOf:
            - type: number
            - type: 'null'
        currency:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - id
        - name
    EdxCorporateEndorsement:
      properties:
        '@type':
          type: string
          default: EdxCorporateEndorsement
        corporation_name:
          anyOf:
            - type: string
            - type: 'null'
        statement:
          anyOf:
            - type: string
            - type: 'null'
        endorsements:
          items:
            $ref: '#/components/schemas/EdxIndividualEndorsement'
          type: array
          default: []
      type: object
    EdxPartner:
      properties:
        '@type':
          type: string
          default: EdxPartner
        name:
          type: string
        key:
          anyOf:
            - type: string
            - type: 'null'
        id:
          anyOf:
            - type: string
            - type: 'null'
        alias:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - name
    EdxInstructor:
      properties:
        '@type':
          type: string
          default: EdxInstructor
        id:
          anyOf:
            - type: string
            - type: 'null'
        name:
          type: string
        position:
          anyOf:
            - type: string
            - type: 'null'
        alias:
          anyOf:
            - type: string
            - type: 'null'
        bio_url:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        organization:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - name
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
        msg:
          type: string
        type:
          type: string
        input: {}
        ctx:
          type: object
      type: object
      required:
        - loc
        - msg
        - type
    EdxIndividualEndorsement:
      properties:
        '@type':
          type: string
          default: EdxIndividualEndorsement
        quote:
          anyOf:
            - type: string
            - type: 'null'
        endorser_name:
          anyOf:
            - type: string
            - type: 'null'
        endorser_title:
          anyOf:
            - type: string
            - type: 'null'
      type: object
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````