Cart.com Links API

The Links API from Cart.com — 2 operation(s) for links.

Operations 4

POST /links Create a Link #

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-links-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-links-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Online Store Links API
  version: '1.0'
  description: Online Store API
servers:
- url: https://www.yoursite.com/api/v1
  description: ''
security:
- X-AC-Auth-Token: []
tags:
- name: Links
paths:
  /links:
    get:
      summary: Get Links
      tags:
      - Links
      responses:
        '200':
          description: OK
          content:
            application/xml:
              schema:
                type: object
                properties:
                  total_count:
                    type: integer
                  links:
                    type: array
                    items:
                      $ref: '#/components/schemas/links'
      operationId: get-links
      description: Gets an array of menu links.
    post:
      summary: Create a Link
      operationId: post-links
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/links'
      description: Creates a link.
      requestBody:
        content:
          application/json:
            schema:
              description: ''
              type: object
              x-examples:
                example-1:
                  url: /store/shop-all.aspx
                  text: Shop
                  sort_order: 2
                  store_id: 14
                  is_hidden: false
                  named_link: null
                  page_id: 0
                  category_id: 0
                  is_dynamic_menu_root: false
                  dynamic_menu_levels: 0
                  link_type: Category
                  parent_link_id: 118
                  is_hidden_in_navigation_only: false
                  opens_in_new_window: false
                  is_home_page: false
                  product_id: 0
                  blog_id: 0
                  blog_category_id: 0
              properties:
                url:
                  type: string
                text:
                  type: string
                sort_order:
                  type: integer
                store_id:
                  type: integer
                is_hidden:
                  type: boolean
                named_link: {}
                page_id:
                  type: integer
                category_id:
                  type: integer
                is_dynamic_menu_root:
                  type: boolean
                dynamic_menu_levels:
                  type: number
                link_type:
                  type: string
                parent_link_id:
                  type: integer
                is_hidden_in_navigation_only:
                  type: boolean
                opens_in_new_window:
                  type: boolean
                is_home_page:
                  type: boolean
                product_id:
                  type: integer
                blog_id:
                  type: integer
                blog_category_id:
                  type: integer
            examples:
              Example:
                value:
                  url: /store/shop-all.aspx
                  text: Shop
                  sort_order: 2
                  store_id: 14
                  is_hidden: false
                  named_link: null
                  page_id: 0
                  category_id: 0
                  is_dynamic_menu_root: false
                  dynamic_menu_levels: 0
                  link_type: Category
                  parent_link_id: 118
                  is_hidden_in_navigation_only: false
                  opens_in_new_window: false
                  is_home_page: false
                  product_id: 0
                  blog_id: 0
                  blog_category_id: 0
      tags:
      - Links
  /links/{id}:
    parameters:
    - schema:
        type: integer
      name: id
      in: path
      required: true
      description: The ID of the `link`
    put:
      summary: Update a Link
      operationId: put-links-id
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/links'
      tags:
      - Links
      description: Updates a link.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/links'
    delete:
      summary: Delete a Link
      operationId: delete-links-id
      responses:
        '200':
          description: OK
        '404':
          $ref: '#/components/responses/404'
      tags:
      - Links
      description: Deletes a link.
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:
    links:
      type: object
      properties:
        id:
          type: integer
        url:
          type: string
        text:
          type: string
        sort_order:
          type: integer
        store_id:
          type: integer
        is_hidden:
          type: boolean
        named_link:
          type: string
        page_id:
          type: integer
        updated_at:
          type: string
        created_at:
          type: string
        category_id:
          type: integer
        is_dynamic_menu_root:
          type: boolean
        dynamic_menu_levels:
          type: integer
        link_type:
          type: string
        parent_link_id:
          type: integer
        is_hidden_in_navigation_only:
          type: boolean
        opens_in_new_window:
          type: boolean
        is_home_page:
          type: boolean
        product_id:
          type: integer
        blog_id:
          type: integer
        blog_category_id:
          type: integer
  securitySchemes:
    X-AC-Auth-Token:
      name: X-AC-Auth-Token
      type: apiKey
      in: header