Cart.com Blog Categories API

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

Operations 4

GET /blog_categories Get Blog Categories #
POST /blog_categories Create a Blog Category #
PUT /blog_categories/{id} Update a Blog Category #
DELETE /blog_categories/{id} Delete a Blog 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-blog-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-blog-categories-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Online Store Blog 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: Blog Categories
paths:
  /blog_categories:
    get:
      summary: Get Blog Categories
      tags:
      - Blog Categories
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  total_count:
                    type: integer
                  blog_categories:
                    type: array
                    items:
                      $ref: '#/components/schemas/blog_categories'
      operationId: get-blog_categories
      description: Gets an array of blog categories.
    post:
      summary: Create a Blog Category
      operationId: post-blog_categories
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/blog_categories'
      description: Creates a blog category.
      requestBody:
        content:
          application/json:
            schema:
              description: ''
              type: object
              x-examples:
                example-1:
                  blog_id: 1
                  parent_category_id: 0
                  type: Category
                  description: ''
                  updated_at: '2019-10-18T11:41:33.31-05:00'
                  created_at: '2019-10-18T11:41:33.31-05:00'
                  name: test
                  blog_category_path: test
              properties:
                blog_id:
                  type: integer
                parent_category_id:
                  type: integer
                type:
                  type: string
                  minLength: 1
                description:
                  type: string
                updated_at:
                  type: string
                  minLength: 1
                created_at:
                  type: string
                  minLength: 1
                name:
                  type: string
                  minLength: 1
                blog_category_path:
                  type: string
                  minLength: 1
              required:
              - blog_id
              - parent_category_id
              - blog_category_path
            examples:
              Example:
                value:
                  blog_id: 1
                  parent_category_id: 0
                  type: Category
                  description: ''
                  updated_at: '2019-10-18T11:41:33.31-05:00'
                  created_at: '2019-10-18T11:41:33.31-05:00'
                  name: test
                  blog_category_path: test
      tags:
      - Blog Categories
  /blog_categories/{id}:
    parameters:
    - schema:
        type: integer
      name: id
      in: path
      required: true
      description: The ID of the `blog_cateogry`
    put:
      summary: Update a Blog Category
      operationId: put-blog_categories-id
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/blog_categories'
      description: Updates a blog category by ID.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/blog_categories'
            examples:
              Example:
                value:
                  id: 7
                  blog_id: 1
                  parent_category_id: 0
                  type: Tag
                  description: ''
                  updated_at: '2021-10-05T20:42:06.1923052-05:00'
                  created_at: '2021-10-05T20:42:06.1923052-05:00'
                  name: Blogging Molly
                  blog_category_path: /test
      tags:
      - Blog Categories
    delete:
      summary: Delete a Blog Category
      operationId: delete-blog_categories-id
      responses:
        '200':
          description: OK
        '404':
          $ref: '#/components/responses/404'
      description: Deletes a blog category by ID.
      tags:
      - Blog Categories
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:
    blog_categories:
      type: object
      properties:
        id:
          type: integer
        blog_id:
          type: integer
        parent_category_id:
          type: integer
        type:
          type: string
        description:
          type: string
        updated_at:
          type: string
        created_at:
          type: string
        name:
          type: string
        blog_category_path:
          type: string
  securitySchemes:
    X-AC-Auth-Token:
      name: X-AC-Auth-Token
      type: apiKey
      in: header