SuperȘcoala Public API

The Public API from SuperȘcoala — 9 operation(s) for public.

GitHub OpenAPI

Operations 9

GET /public/subjects Lista materiilor active, fără duplicate de titlu #
GET /public/grouped-subjects Materiile cu clasele lor, pentru meniul de navigare #
GET /public/courses Clasele (cursurile) unei materii #
GET /public/packages Pachetele de abonament active și countdown-ul de ofertă #
GET /public/packages/{parameter} Detaliile unui pachet după parametrul lui public #
GET /public/autocomplete-lessons Sugestii de titluri de lecții pentru căutarea rapidă #
GET /public/sitemap-paths Toate URL-urile publice ale platformei, pentru sitemap #
GET /public/button-settings Textele butoanelor de înregistrare configurate în admin #
POST /public/breadcrumbs Traduce slug-urile din URL în etichete de breadcrumb #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/scoala-ro:scoala-ro-public-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

scoala-ro-public-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SuperȘcoala Public API
  version: 1.0.0
  description: 'Catalog de materii, clase, capitole și lecții video pentru clasele I-XII, plus pachetele de abonament. Citirile publice sunt anonime și pot fi păstrate în cache 5 minute. Limitare: 200 cereri / 5 minute per IP, apoi întârziere progresivă.'
  termsOfService: https://scoala.ro/terms
  contact:
    name: SuperȘcoala
    url: https://scoala.ro/contact
servers:
- url: https://scoala.ro/api
tags:
- name: Public
paths:
  /public/subjects:
    get:
      operationId: listSubjects
      summary: Lista materiilor active, fără duplicate de titlu
      security:
      - {}
      - bearerAuth: []
      responses:
        '200':
          description: Materiile disponibile.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Subject'
        '500':
          $ref: '#/components/responses/ServerError'
      tags:
      - Public
  /public/grouped-subjects:
    get:
      operationId: listGroupedSubjects
      summary: Materiile cu clasele lor, pentru meniul de navigare
      security:
      - {}
      - bearerAuth: []
      responses:
        '200':
          description: Materii cu subcategorii.
          content:
            application/json:
              schema:
                type: array
                items:
                  allOf:
                  - $ref: '#/components/schemas/SubjectSummary'
                  - type: object
                    properties:
                      subcategories:
                        type: array
                        items:
                          $ref: '#/components/schemas/SubjectSummary'
        '500':
          $ref: '#/components/responses/ServerError'
      tags:
      - Public
  /public/courses:
    get:
      operationId: listCourses
      summary: Clasele (cursurile) unei materii
      parameters:
      - name: subjectId
        in: query
        required: true
        description: Id-ul materiei părinte.
        schema:
          type: integer
      responses:
        '200':
          description: Clasele materiei cerute.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Course'
        '400':
          $ref: '#/components/responses/BadRequest'
        '500':
          $ref: '#/components/responses/ServerError'
      tags:
      - Public
  /public/packages:
    get:
      operationId: listPackages
      summary: Pachetele de abonament active și countdown-ul de ofertă
      responses:
        '200':
          description: Pachete și setările countdown-ului.
          content:
            application/json:
              schema:
                type: object
                properties:
                  packages:
                    type: array
                    items:
                      $ref: '#/components/schemas/Package'
                  offersCountdown:
                    type: object
                    properties:
                      OffersCountdownText:
                        type: string
                      OffersCountdownTextVisible:
                        type: boolean
                      OffersCountdownVisible:
                        type: boolean
                      OffersCountdownExpiresAt:
                        type:
                        - string
                        - 'null'
                        format: date-time
                required:
                - packages
                - offersCountdown
        '500':
          $ref: '#/components/responses/ServerError'
      tags:
      - Public
  /public/packages/{parameter}:
    get:
      operationId: viewPackage
      summary: Detaliile unui pachet după parametrul lui public
      parameters:
      - name: parameter
        in: path
        required: true
        description: Parametrul public al pachetului.
        schema:
          type: string
      responses:
        '200':
          description: Pachetul cerut, cu beneficii și cuponul aplicat.
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/Package'
                - type: object
                  properties:
                    description:
                      type:
                      - string
                      - 'null'
                    months:
                      type:
                      - integer
                      - 'null'
                    categoryId:
                      type:
                      - integer
                      - 'null'
                    categoryType:
                      type:
                      - string
                      - 'null'
                    couponDiscountPercent:
                      type:
                      - number
                      - 'null'
                    couponDiscountValue:
                      type:
                      - number
                      - 'null'
                    coupon:
                      type: object
                      properties:
                        duration:
                          type: string
                        durationInMonths:
                          type:
                          - integer
                          - 'null'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/ServerError'
      tags:
      - Public
  /public/autocomplete-lessons:
    get:
      operationId: autocompleteLessons
      summary: Sugestii de titluri de lecții pentru căutarea rapidă
      parameters:
      - name: searchTerm
        in: query
        required: true
        description: Termenul căutat, minimum 3 caractere.
        schema:
          type: string
          minLength: 3
      responses:
        '200':
          description: Cel mult 14 titluri normalizate.
          content:
            application/json:
              schema:
                type: array
                items:
                  type: string
        '400':
          $ref: '#/components/responses/BadRequest'
        '500':
          $ref: '#/components/responses/ServerError'
      tags:
      - Public
  /public/sitemap-paths:
    get:
      operationId: listSitemapPaths
      summary: Toate URL-urile publice ale platformei, pentru sitemap
      responses:
        '200':
          description: Intrările de sitemap.
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    loc:
                      type: string
                      format: uri
                    priority:
                      type: number
                    changefreq:
                      type: string
                  required:
                  - loc
                  - priority
                  - changefreq
        '500':
          $ref: '#/components/responses/ServerError'
      tags:
      - Public
  /public/button-settings:
    get:
      operationId: getButtonSettings
      summary: Textele butoanelor de înregistrare configurate în admin
      responses:
        '200':
          description: Textele curente.
          content:
            application/json:
              schema:
                type: object
                properties:
                  RegistrationButtonText:
                    type: string
                  FreeRegistrationButtonText:
                    type: string
                required:
                - RegistrationButtonText
                - FreeRegistrationButtonText
        '500':
          $ref: '#/components/responses/ServerError'
      tags:
      - Public
  /public/breadcrumbs:
    post:
      operationId: getBreadcrumbs
      summary: Traduce slug-urile din URL în etichete de breadcrumb
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                query:
                  type: object
                  properties:
                    subjectSlug:
                      type: string
                    categorySlug:
                      type: string
                    chapterSlug:
                      type: string
                  required:
                  - subjectSlug
              required:
              - query
      responses:
        '200':
          description: Breadcrumb-urile, de la materie spre capitol.
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    label:
                      type: string
                    href:
                      type: string
                  required:
                  - label
                  - href
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/ServerError'
      tags:
      - Public
components:
  schemas:
    Course:
      $ref: '#/components/schemas/Subject'
      description: Clasă dintr-o materie; aceeași formă ca Subject, cu ParentCategoryId setat.
    Subject:
      type: object
      description: Materie de studiu (categorie rădăcină).
      properties:
        Id:
          type: integer
        Title:
          type: string
        Description1:
          type:
          - string
          - 'null'
        Description2:
          type:
          - string
          - 'null'
        Description3:
          type:
          - string
          - 'null'
        Image1Url:
          type:
          - string
          - 'null'
        Image2Url:
          type:
          - string
          - 'null'
        Image3Url:
          type:
          - string
          - 'null'
        IsActive:
          type: boolean
        IsDeleted:
          type: boolean
        OrderNo:
          type: integer
        ParentCategoryId:
          type:
          - integer
          - 'null'
        MetaTitle:
          type:
          - string
          - 'null'
        MetaDescription:
          type:
          - string
          - 'null'
        Badges:
          type: array
          items:
            $ref: '#/components/schemas/Badge'
    SubjectSummary:
      type: object
      description: Materie sau clasă, doar câmpurile de navigare și SEO.
      properties:
        Id:
          type: integer
        Title:
          type: string
        ParentCategoryId:
          type:
          - integer
          - 'null'
        OrderNo:
          type: integer
        MetaTitle:
          type:
          - string
          - 'null'
        MetaDescription:
          type:
          - string
          - 'null'
    Package:
      type: object
      description: Pachet de abonament.
      properties:
        id:
          type: integer
        parameter:
          type: string
        shortTitle:
          type: string
        longTitle:
          type: string
        currency:
          type: string
        price:
          type: number
        listPrice:
          type:
          - number
          - 'null'
        discountedPrice:
          type: number
        firstMonthPrice:
          type:
          - number
          - 'null'
        firstMonthAfterTrialPrice:
          type:
          - number
          - 'null'
        trialDays:
          type:
          - integer
          - 'null'
        couponDiscountMonths:
          type:
          - integer
          - 'null'
        badgeContent:
          type:
          - string
          - 'null'
        priceNote:
          type:
          - string
          - 'null'
        secondPriceNote:
          type:
          - string
          - 'null'
        period:
          type:
          - string
          - 'null'
        benefits:
          type: array
          items:
            type: object
            properties:
              Id:
                type: integer
              BenefitText:
                type: string
    Error:
      type: object
      description: Formatul unic de eroare al API-ului.
      properties:
        name:
          type: string
        message:
          type: string
      required:
      - name
      - message
    Badge:
      type: object
      properties:
        IconName:
          type: string
        BadgeTitle:
          type: string
  responses:
    ServerError:
      description: Eroare internă.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: Resursa nu există.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    BadRequest:
      description: Parametri lipsă sau invalizi.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Opțional. Fără token răspunsurile conțin doar conținutul public.