Sambodh IAS Places In News API

The places-in-news API from Sambodh IAS — 8 operation(s) for places-in-news.

GitHub OpenAPI

Operations 10

GET /api/places-in-news List Places #
GET /api/places-in-news/stats Stats #
POST /api/places-in-news/practice Practice #
GET /api/places-in-news/progress Get Progress #
POST /api/places-in-news/progress Update Progress #
POST /api/places-in-news/missed Record Missed Place #
GET /api/places-in-news/missed List Missed Places #
POST /api/places-in-news/missed/{revision_id}/done Mark Missed Reviewed #
GET /api/places-in-news/{place_id} Get Place #
POST /api/places-in-news/regenerate/{place_id} Regenerate #

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-places-in-news-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-places-in-news-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SambodhIAS v2 Places In News API
  version: 2.0.0
tags:
- name: places-in-news
paths:
  /api/places-in-news:
    get:
      tags:
      - places-in-news
      summary: List Places
      operationId: list_places_api_places_in_news_get
      parameters:
      - name: region
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Region
      - name: place_type
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Place Type
      - name: search
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Search
      - name: page
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          default: 1
          title: Page
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          minimum: 1
          default: 40
          title: Limit
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/places-in-news/stats:
    get:
      tags:
      - places-in-news
      summary: Stats
      description: Coverage strip for the Places-in-News landing page.
      operationId: stats_api_places_in_news_stats_get
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/places-in-news/practice:
    post:
      tags:
      - places-in-news
      summary: Practice
      description: 'Returns up to `count` random valid questions matching the filters.


        No Assessment row created; the frontend tracks correct/wrong locally.

        Paywall: free users get the first `PIN_FREE_QUESTION_LIMIT` questions in

        deterministic order; once they''ve attempted that many, /practice returns

        402 and the frontend shows the unlock modal.'
      operationId: practice_api_places_in_news_practice_post
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PracticeRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/places-in-news/progress:
    get:
      tags:
      - places-in-news
      summary: Get Progress
      operationId: get_progress_api_places_in_news_progress_get
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - places-in-news
      summary: Update Progress
      operationId: update_progress_api_places_in_news_progress_post
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProgressUpdate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/places-in-news/missed:
    post:
      tags:
      - places-in-news
      summary: Record Missed Place
      description: 'Mark a place as ''needs revision'' for the current user. Called by the

        practice page when a user submits a wrong answer. Idempotent — if a

        pending row already exists for the (user, place) pair, bumps miss_count

        and last_attempted_at instead of inserting a duplicate.'
      operationId: record_missed_place_api_places_in_news_missed_post
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RecordMissedRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - places-in-news
      summary: List Missed Places
      description: 'Return places this user got wrong and hasn''t yet marked reviewed.

        The revision row stores concept_id = str(place.id); we re-hydrate the

        place rows in a second query so the UI can render the full concept card.'
      operationId: list_missed_places_api_places_in_news_missed_get
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/places-in-news/missed/{revision_id}/done:
    post:
      tags:
      - places-in-news
      summary: Mark Missed Reviewed
      description: Flip a pending missed-place revision row to completed.
      operationId: mark_missed_reviewed_api_places_in_news_missed__revision_id__done_post
      parameters:
      - name: revision_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Revision Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/places-in-news/{place_id}:
    get:
      tags:
      - places-in-news
      summary: Get Place
      operationId: get_place_api_places_in_news__place_id__get
      parameters:
      - name: place_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Place Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/places-in-news/regenerate/{place_id}:
    post:
      tags:
      - places-in-news
      summary: Regenerate
      operationId: regenerate_api_places_in_news_regenerate__place_id__post
      parameters:
      - name: place_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Place Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '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
    PracticeRequest:
      properties:
        place_ids:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Place Ids
        region:
          anyOf:
          - type: string
          - type: 'null'
          title: Region
        place_type:
          anyOf:
          - type: string
          - type: 'null'
          title: Place Type
        count:
          anyOf:
          - type: integer
          - type: 'null'
          title: Count
      type: object
      title: PracticeRequest
    RecordMissedRequest:
      properties:
        place_id:
          type: string
          title: Place Id
        question_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Question Id
        user_answer:
          anyOf:
          - type: string
          - type: 'null'
          title: User Answer
      type: object
      required:
      - place_id
      title: RecordMissedRequest
    ProgressUpdate:
      properties:
        last_question_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Last Question Id
        answered_count:
          type: integer
          title: Answered Count
          default: 0
        score:
          type: integer
          title: Score
          default: 0
        answers:
          anyOf:
          - additionalProperties:
              type: string
            type: object
          - type: 'null'
          title: Answers
        completed:
          type: boolean
          title: Completed
          default: false
      type: object
      title: ProgressUpdate
    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