Sambodh IAS Public API

The public API from Sambodh IAS — 9 operation(s) for public.

GitHub OpenAPI

Operations 9

GET /api/public/pyq/years Public Pyq Years #
GET /api/public/pyq/years/{year} Public Pyq Year Detail #
GET /api/public/newspulse/recent Public Newspulse Recent #
GET /api/public/newspulse/by-slug/{slug} Public Newspulse By Slug #
GET /api/public/mains2026/preview Public Mains2026 Preview #
GET /api/public/mains-ca/{question_id} Public Mains Ca Question #
GET /api/public/ca-monthly/months Public Ca Monthly Months #
GET /api/public/ca-monthly/by-month/{month} Public Ca Monthly By Month #
POST /api/public/play-test/opt-in Public Play Test Opt In #

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/sambodh-ias-in:sambodh-ias-in-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

sambodh-ias-in-public-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SambodhIAS v2 Public API
  version: 2.0.0
tags:
- name: Public
paths:
  /api/public/pyq/years:
    get:
      tags:
      - Public
      summary: Public Pyq Years
      description: All UPSC PYQ years available with question counts. Cached aggressively.
      operationId: public_pyq_years_api_public_pyq_years_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  additionalProperties: true
                  type: object
                type: array
                title: Response Public Pyq Years Api Public Pyq Years Get
  /api/public/pyq/years/{year}:
    get:
      tags:
      - Public
      summary: Public Pyq Year Detail
      description: Sample of public-safe PYQ questions for a year. Up to 3 questions.
      operationId: public_pyq_year_detail_api_public_pyq_years__year__get
      parameters:
      - name: year
        in: path
        required: true
        schema:
          type: integer
          title: Year
      - name: X-Lang
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Lang
      - name: Accept-Language
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Accept-Language
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Public Pyq Year Detail Api Public Pyq Years  Year  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/public/newspulse/recent:
    get:
      tags:
      - Public
      summary: Public Newspulse Recent
      description: Recent published NewsPulse cards. Capped at last 60 days.
      operationId: public_newspulse_recent_api_public_newspulse_recent_get
      parameters:
      - name: days
        in: query
        required: false
        schema:
          type: integer
          maximum: 60
          minimum: 1
          default: 30
          title: Days
      - name: X-Lang
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Lang
      - name: Accept-Language
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Accept-Language
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  additionalProperties: true
                title: Response Public Newspulse Recent Api Public Newspulse Recent Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/public/newspulse/by-slug/{slug}:
    get:
      tags:
      - Public
      summary: Public Newspulse By Slug
      description: Resolve slug back to its card via the embedded short id suffix.
      operationId: public_newspulse_by_slug_api_public_newspulse_by_slug__slug__get
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
          title: Slug
      - name: X-Lang
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Lang
      - name: Accept-Language
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Accept-Language
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Public Newspulse By Slug Api Public Newspulse By Slug  Slug  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/public/mains2026/preview:
    get:
      tags:
      - Public
      summary: Public Mains2026 Preview
      description: 'Indexable teaser for the Mains 2026 series: published tests + ONE sample

        question. Price/limits come from settings (single source of truth). Never

        leaks paid content — no question_ids, rubric, or key_points; one sample stem

        with a truncated model-answer excerpt only.'
      operationId: public_mains2026_preview_api_public_mains2026_preview_get
      parameters:
      - name: X-Lang
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Lang
      - name: Accept-Language
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Accept-Language
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Public Mains2026 Preview Api Public Mains2026 Preview Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/public/mains-ca/{question_id}:
    get:
      tags:
      - Public
      summary: Public Mains Ca Question
      description: 'Share page for a curated current-affairs Mains question: the stem and

        its paper/marks/word limit only — the marking points stay private.'
      operationId: public_mains_ca_question_api_public_mains_ca__question_id__get
      parameters:
      - name: question_id
        in: path
        required: true
        schema:
          type: string
          title: Question Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Public Mains Ca Question Api Public Mains Ca  Question Id  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/public/ca-monthly/months:
    get:
      tags:
      - Public
      summary: Public Ca Monthly Months
      description: Published monthly compilations, newest first. Catalog for the hub page.
      operationId: public_ca_monthly_months_api_public_ca_monthly_months_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  additionalProperties: true
                  type: object
                type: array
                title: Response Public Ca Monthly Months Api Public Ca Monthly Months Get
  /api/public/ca-monthly/by-month/{month}:
    get:
      tags:
      - Public
      summary: Public Ca Monthly By Month
      description: 'A published month''s teaser: the first CA_MONTHLY_FREE_QUESTION_LIMIT MCQs

        (the already-free slice — no paid content leaks) with options/answer/

        explanation. `month` is the URL slug (e.g. ''may-2026'').'
      operationId: public_ca_monthly_by_month_api_public_ca_monthly_by_month__month__get
      parameters:
      - name: month
        in: path
        required: true
        schema:
          type: string
          title: Month
      - name: X-Lang
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Lang
      - name: Accept-Language
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Accept-Language
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Public Ca Monthly By Month Api Public Ca Monthly By Month  Month  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/public/play-test/opt-in:
    post:
      tags:
      - Public
      summary: Public Play Test Opt In
      description: 'Capture a closed-testing opt-in from the public /play-testing form.


        Idempotent per account email — a re-submit updates the same row (e.g. a

        corrected Play Store Gmail). No auth required; the form prefills from the

        session when signed in, but anyone with the email link can consent. The

        admin never reads a reply: consenting submissions land directly in

        v2.play_test_optins and surface on the admin console.'
      operationId: public_play_test_opt_in_api_public_play_test_opt_in_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PlayTestOptInRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Public Play Test Opt In Api Public Play Test Opt In Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    PlayTestOptInRequest:
      properties:
        contact_email:
          type: string
          title: Contact Email
        play_gmail:
          type: string
          title: Play Gmail
        consent:
          type: boolean
          title: Consent
        full_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Full Name
      type: object
      required:
      - contact_email
      - play_gmail
      - consent
      title: PlayTestOptInRequest