Cart.com Categories API

The Categories API from Cart.com — 2 operation(s) for categories.

Operations 4

GET /categories Get Categories #
POST /categories Create a Category #
PUT /categories/{id} Update a Category #
DELETE /categories/{id} Delete a Category #

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/cart-com-categories-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

cart-com-categories-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Online Store Categories API
  version: '1.0'
  description: Online Store API
servers:
- url: https://www.yoursite.com/api/v1
  description: ''
security:
- X-AC-Auth-Token: []
tags:
- name: Categories
paths:
  /categories:
    get:
      summary: Get Categories
      tags:
      - Categories
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  total_count:
                    type: integer
                  categories:
                    type: array
                    items:
                      $ref: '#/components/schemas/categories'
      operationId: get-categories
      description: Gets an array of categories.
    post:
      summary: Create a Category
      operationId: post-categories
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/categories'
      tags:
      - Categories
      description: Creates a category.
      requestBody:
        content:
          application/json:
            schema:
              description: ''
              type: object
              x-examples:
                example-1:
                  name: Shoes
                  short_description: ''
                  sort_order: 0
                  is_hidden: false
                  parent_category_id: 14
                  max_quantity: 0
                  category_thumbnail: ''
                  page_title: ''
                  lookup_path: ''
                  keywords: ''
                  meta_description: ''
                  category_image: ''
                  external_content_url: ''
                  is_category_content_displayed: true
                  are_subcategory_products_displayed: false
                  url_rewrite: ''
                  default_product_picture: ''
                  alternate_thumbnail: ''
                  head_tags: ''
                  cat_image_alt_text: ''
                  thumb_image_alt_text: ''
                  is_hide_from_site_maps: false
              properties:
                name:
                  type: string
                  minLength: 1
                short_description:
                  type: string
                sort_order:
                  type: integer
                is_hidden:
                  type: boolean
                parent_category_id:
                  type: integer
                max_quantity:
                  type: integer
                category_thumbnail:
                  type: string
                page_title:
                  type: string
                lookup_path:
                  type: string
                keywords:
                  type: string
                meta_description:
                  type: string
                category_image:
                  type: string
                external_content_url:
                  type: string
                is_category_content_displayed:
                  type: boolean
                are_subcategory_products_displayed:
                  type: boolean
                url_rewrite:
                  type: string
                default_product_picture:
                  type: string
                alternate_thumbnail:
                  type: string
                head_tags:
                  type: string
                cat_image_alt_text:
                  type: string
                thumb_image_alt_text:
                  type: string
                is_hide_from_site_maps:
                  type: boolean
              required:
              - name
              examples:
                Example:
                  value:
                    name: Shoes
                    short_description: ''
                    sort_order: 0
                    is_hidden: false
                    parent_category_id: 14
                    max_quantity: 0
                    category_thumbnail: ''
                    page_title: ''
                    lookup_path: ''
                    keywords: ''
                    meta_description: ''
                    category_image: ''
                    external_content_url: ''
                    is_category_content_displayed: true
                    are_subcategory_products_displayed: false
                    url_rewrite: ''
                    default_product_picture: ''
                    alternate_thumbnail: ''
                    head_tags: ''
                    cat_image_alt_text: ''
                    thumb_image_alt_text: ''
                    is_hide_from_site_maps: false
  /categories/{id}:
    parameters:
    - schema:
        type: integer
      name: id
      in: path
      required: true
      description: The ID of the `category`
    put:
      summary: Update a Category
      operationId: put-categories-id
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/categories'
      description: Updates a category.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/categories'
      tags:
      - Categories
    delete:
      summary: Delete a Category
      operationId: delete-categories-id
      tags:
      - Categories
      description: Deletes a category.
      responses:
        '200':
          description: OK
        '404':
          $ref: '#/components/responses/404'
components:
  responses:
    '404':
      description: Resource Not Found
      content:
        application/json:
          schema:
            description: Not Found
            type: object
            x-examples:
              example-1:
                status_code: 404
                message: Not Found
                details: No resource found
            properties:
              status_code:
                type: number
              message:
                type: string
              details:
                type: string
          examples: {}
      headers: {}
  schemas:
    categories:
      type: object
      properties:
        id:
          type: integer
        name:
          type: string
        short_description:
          type: string
        sort_order:
          type: integer
        is_hidden:
          type: boolean
        parent_category_id:
          type: integer
        max_quantity:
          type: integer
        category_thumbnail:
          type: string
        page_title:
          type: string
        lookup_path:
          type: string
        keywords:
          type: string
        meta_description:
          type: string
        category_image:
          type: string
        external_content_url:
          type: string
        is_category_content_displayed:
          type: boolean
        are_subcategory_products_displayed:
          type: boolean
        url_rewrite:
          type: string
        updated_at:
          type: string
        created_at:
          type: string
        default_product_picture:
          type: string
        alternate_thumbnail:
          type: string
        head_tags:
          type: string
        cat_image_alt_text:
          type: string
        thumb_image_alt_text:
          type: string
        is_hide_from_site_maps:
          type: boolean
  securitySchemes:
    X-AC-Auth-Token:
      name: X-AC-Auth-Token
      type: apiKey
      in: header