Indian Institute of Technology Bombay Buy API

The buy API from Indian Institute of Technology Bombay — 6 operation(s) for buy.

Operations 10

GET /buy/categories Buy get categories #
GET /buy/products Buy products list #
POST /buy/products Buy products create #
GET /buy/products/{id} Buy products read #
PUT /buy/products/{id} Buy products update #
DELETE /buy/products/{id} Buy products delete #
POST /buy/products/{id}/sold Buy products mark sold #
POST /buy/report/{id} Buy report #
GET /buy/v2/products Buy v2 products read #
POST /buy/v2/products Buy v2 products create #

Documentation

Specifications

Schemas & Data

Other Resources

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/iit-bombay-buy-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

iit-bombay-buy-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: InstiApp Buy API
  description: InstiApp IIT Bombay API
  termsOfService: https://insti.app/tos.html
  contact:
    email: devcom@iitb.ac.in
  license:
    name: AGPLv3
  version: v1
servers:
- url: https://gymkhana.iitb.ac.in/instiapp/api
security:
- Basic: []
tags:
- name: Buy
paths:
  /buy/categories:
    parameters: []
    get:
      operationId: buy_get_categories
      description: ''
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Product'
      tags:
      - Buy
      summary: Buy get categories
      x-summary-source: derived
  /buy/products:
    parameters: []
    get:
      operationId: buy_products_list
      description: ''
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Product'
      tags:
      - Buy
      summary: Buy products list
      x-summary-source: derived
    post:
      operationId: buy_products_create
      description: 'Creates product if the user isn''t banned and form is filled

        correctly. Ban checking is yet to be incorporated.'
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Product'
      tags:
      - Buy
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Product'
        required: true
      summary: Buy products create
      x-summary-source: derived
  /buy/products/{id}:
    parameters:
    - name: id
      in: path
      description: A UUID string identifying this Product.
      required: true
      schema:
        type: string
        format: uuid
    get:
      operationId: buy_products_read
      description: ''
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Product'
      tags:
      - Buy
      summary: Buy products read
      x-summary-source: derived
    put:
      operationId: buy_products_update
      description: ''
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Product'
      tags:
      - Buy
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Product'
        required: true
      summary: Buy products update
      x-summary-source: derived
    delete:
      operationId: buy_products_delete
      description: ''
      responses:
        '204':
          description: ''
      tags:
      - Buy
      summary: Buy products delete
      x-summary-source: derived
  /buy/products/{id}/sold:
    parameters:
    - name: id
      in: path
      description: A UUID string identifying this Product.
      required: true
      schema:
        type: string
        format: uuid
    post:
      operationId: buy_products_mark_sold
      description: ''
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Product'
      tags:
      - Buy
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Product'
        required: true
      summary: Buy products mark sold
      x-summary-source: derived
  /buy/report/{id}:
    parameters:
    - name: id
      in: path
      description: A UUID string identifying this Product.
      required: true
      schema:
        type: string
        format: uuid
    post:
      operationId: buy_report
      description: ''
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Product'
      tags:
      - Buy
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Product'
        required: true
      summary: Buy report
      x-summary-source: derived
  /buy/v2/products:
    parameters: []
    get:
      operationId: buy_v2_products_read
      description: ''
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Product'
      tags:
      - Buy
      summary: Buy v2 products read
      x-summary-source: derived
    post:
      operationId: buy_v2_products_create
      description: 'Creates product if the user isn''t banned and form is filled

        correctly. Ban checking is yet to be incorporated.'
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Product'
      tags:
      - Buy
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Product'
        required: true
      summary: Buy v2 products create
      x-summary-source: derived
components:
  schemas:
    UserProfile:
      type: object
      properties:
        id:
          title: Id
          type: string
          format: uuid
          readOnly: true
        name:
          title: Name
          type: string
          maxLength: 50
        profile_pic:
          title: Profile pic
          type:
          - string
          - 'null'
          format: uri
          maxLength: 200
        ldap_id:
          title: Ldap id
          type:
          - string
          - 'null'
          maxLength: 50
    Product:
      required:
      - name
      - contact_details
      type: object
      properties:
        id:
          title: Id
          type: string
          format: uuid
          readOnly: true
        user:
          $ref: '#/components/schemas/UserProfile'
        product_image:
          title: Product image
          type: string
        str_id:
          title: Str id
          type:
          - string
          - 'null'
          readOnly: true
          minLength: 1
        name:
          title: Name
          type: string
          maxLength: 60
          minLength: 1
        description:
          title: Description
          type: string
        category:
          title: Category
          type:
          - string
          - 'null'
          maxLength: 100
        brand:
          title: Brand
          type:
          - string
          - 'null'
          maxLength: 60
        warranty:
          title: Warranty
          type:
          - boolean
          - 'null'
        packaging:
          title: Packaging
          type:
          - boolean
          - 'null'
        condition:
          title: Condition
          type:
          - string
          - 'null'
          enum:
          - '1'
          - '2'
          - '3'
          - '4'
          - '5'
          - '6'
          - '7'
          - '8'
          - '9'
          - '10'
        action:
          title: Action
          type: string
          enum:
          - sell
          - giveaway
          - rent
        status:
          title: Status
          type:
          - boolean
          - 'null'
        deleted:
          title: Deleted
          type:
          - boolean
          - 'null'
        price:
          title: Price
          type: integer
          maximum: 2147483647
          minimum: -2147483648
        original_price:
          title: Original price
          type:
          - integer
          - 'null'
          maximum: 2147483647
          minimum: -2147483648
        negotiable:
          title: Negotiable
          type: boolean
        contact_details:
          title: Contact details
          type: string
          maxLength: 300
          minLength: 1
        time_of_creation:
          title: Time of creation
          type: string
          format: date-time
          readOnly: true
        time_inactive:
          title: Time inactive
          type:
          - string
          - 'null'
          format: date-time
          readOnly: true
        followers:
          type: array
          items:
            type: string
            format: uuid
          uniqueItems: true
  securitySchemes:
    Basic:
      type: http
      scheme: basic