Metricool Smart Links Api Service API

The Smart Links Api Service API from Metricool — 7 operation(s) for smart links api service.

Operations 10

GET /v2/smart-links/links Find #
POST /v2/smart-links/links Create SM #
GET /v2/smart-links/links/lite Get lite #
GET /v2/smart-links/links/slugs Is slug available #
GET /v2/smart-links/links/{id} Get info #
PUT /v2/smart-links/links/{id} Update info #
DELETE /v2/smart-links/links/{id} Delete 7 #
GET /v2/smart-links/links/{id}/analytics/buttons Get buttons #
GET /v2/smart-links/links/{id}/analytics/images Get images #
GET /v2/smart-links/links/{id}/analytics/timeline Timeline SM #

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/metricool:metricool-smart-links-api-service-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

metricool-smart-links-api-service-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Metricool Smart Links Api Service API
  description: 'Metricool API


    The base URL for all endpoints is: https://app.metricool.com/api


    All endpoints require authentication.'
  version: 2.0.0
servers:
- url: https://app.metricool.com/api
tags:
- name: Smart Links Api Service
paths:
  /v2/smart-links/links:
    get:
      tags:
      - Smart Links Api Service
      operationId: find
      parameters:
      - name: slug
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JsonOkListResponseSmartLink'
      summary: Find
      x-summary-source: derived
    post:
      tags:
      - Smart Links Api Service
      operationId: createSM
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SmartLink'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JsonOkResponseSmartLink'
      summary: Create SM
      x-summary-source: derived
  /v2/smart-links/links/lite:
    get:
      tags:
      - Smart Links Api Service
      operationId: getLite
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JsonOkListResponseSmartLinkLite'
      summary: Get lite
      x-summary-source: derived
  /v2/smart-links/links/slugs:
    get:
      tags:
      - Smart Links Api Service
      operationId: isSlugAvailable
      parameters:
      - name: value
        in: query
        required: true
        schema:
          minLength: 1
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JsonOkResponseString'
      summary: Is slug available
      x-summary-source: derived
  /v2/smart-links/links/{id}:
    get:
      tags:
      - Smart Links Api Service
      operationId: getInfo
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JsonOkResponseSmartLink'
      summary: Get info
      x-summary-source: derived
    put:
      tags:
      - Smart Links Api Service
      operationId: updateInfo
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
          format: int64
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SmartLink'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JsonOkResponseSmartLink'
      summary: Update info
      x-summary-source: derived
    delete:
      tags:
      - Smart Links Api Service
      operationId: delete_7
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JsonOkResponseString'
      summary: Delete 7
      x-summary-source: derived
  /v2/smart-links/links/{id}/analytics/buttons:
    get:
      tags:
      - Smart Links Api Service
      operationId: getButtons
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
          format: int64
      - name: from
        in: query
        required: true
        schema:
          type: string
      - name: to
        in: query
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JsonOkListResponseButtonRow'
      summary: Get buttons
      x-summary-source: derived
  /v2/smart-links/links/{id}/analytics/images:
    get:
      tags:
      - Smart Links Api Service
      operationId: getImages
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
          format: int64
      - name: from
        in: query
        required: true
        schema:
          type: string
      - name: to
        in: query
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JsonOkListResponseImageRow'
      summary: Get images
      x-summary-source: derived
  /v2/smart-links/links/{id}/analytics/timeline:
    get:
      tags:
      - Smart Links Api Service
      operationId: timelineSM
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
          format: int64
      - name: metric
        in: query
        required: true
        schema:
          type: string
      - name: from
        in: query
        required: true
        schema:
          type: string
      - name: to
        in: query
        required: true
        schema:
          type: string
      - name: itemId
        in: query
        required: false
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JsonOkListResponseTimelineSeries'
      summary: Timeline SM
      x-summary-source: derived
components:
  schemas:
    JsonOkListResponseImageRow:
      type: object
      properties:
        metadata:
          type: object
        page:
          $ref: '#/components/schemas/JsonPaging'
        data:
          type: array
          items:
            $ref: '#/components/schemas/ImageRow'
    Image:
      type: object
      properties:
        id:
          type: integer
          format: int64
        deleted:
          type: boolean
        shortener:
          type: string
        destination:
          type: string
        disabled:
          type: boolean
        creationDate:
          type: string
          format: date-time
        provider:
          type: string
        providerId:
          type: string
        ratio:
          type: string
        src:
          type: string
    JsonOkListResponseSmartLinkLite:
      type: object
      properties:
        metadata:
          type: object
        page:
          $ref: '#/components/schemas/JsonPaging'
        data:
          type: array
          items:
            $ref: '#/components/schemas/SmartLinkLite'
    TimelineAggregate:
      type: object
      properties:
        aggregation:
          type: string
        value:
          type: number
          format: double
    JsonOkListResponseTimelineSeries:
      type: object
      properties:
        metadata:
          type: object
        page:
          $ref: '#/components/schemas/JsonPaging'
        data:
          type: array
          items:
            $ref: '#/components/schemas/TimelineSeries'
    SmartLink:
      type: object
      properties:
        appearance:
          type: object
          additionalProperties:
            type: object
        id:
          type: integer
          format: int64
        slug:
          type: string
        name:
          type: string
        content:
          $ref: '#/components/schemas/Content'
        version:
          type: integer
          format: int32
        free:
          type: boolean
        createDate:
          $ref: '#/components/schemas/DateTimeInfo'
        youtubeFeed:
          type: string
    Icon:
      type: object
      properties:
        id:
          type: integer
          format: int64
        deleted:
          type: boolean
        shortener:
          type: string
        destination:
          type: string
        disabled:
          type: boolean
        creationDate:
          type: string
          format: date-time
        icon:
          type: string
    JsonPaging:
      type: object
      properties:
        next:
          type: string
    ContentItem:
      type: object
      properties:
        id:
          type: integer
          format: int64
        deleted:
          type: boolean
        shortener:
          type: string
        destination:
          type: string
        disabled:
          type: boolean
        creationDate:
          type: string
          format: date-time
    Content:
      type: object
      properties:
        icons:
          type: array
          items:
            $ref: '#/components/schemas/Icon'
        buttons:
          type: array
          items:
            $ref: '#/components/schemas/Button'
        images:
          type: array
          items:
            $ref: '#/components/schemas/Image'
        header:
          $ref: '#/components/schemas/Header'
    ButtonRow:
      type: object
      properties:
        id:
          type: integer
          format: int64
        button:
          $ref: '#/components/schemas/ContentItem'
        clicks:
          type: number
          format: double
        ctr:
          type: number
          format: double
    JsonOkListResponseSmartLink:
      type: object
      properties:
        metadata:
          type: object
        page:
          $ref: '#/components/schemas/JsonPaging'
        data:
          type: array
          items:
            $ref: '#/components/schemas/SmartLink'
    TimelineSeries:
      type: object
      properties:
        metric:
          type: string
        values:
          type: array
          items:
            $ref: '#/components/schemas/SeriesValue'
        aggregate:
          $ref: '#/components/schemas/TimelineAggregate'
    ImageRow:
      type: object
      properties:
        id:
          type: integer
          format: int64
        image:
          $ref: '#/components/schemas/Image'
        clicks:
          type: number
          format: double
        ctr:
          type: number
          format: double
    JsonOkListResponseButtonRow:
      type: object
      properties:
        metadata:
          type: object
        page:
          $ref: '#/components/schemas/JsonPaging'
        data:
          type: array
          items:
            $ref: '#/components/schemas/ButtonRow'
    JsonOkResponseSmartLink:
      type: object
      properties:
        metadata:
          type: object
        page:
          $ref: '#/components/schemas/JsonPaging'
        data:
          $ref: '#/components/schemas/SmartLink'
    SmartLinkLite:
      type: object
      properties:
        id:
          type: integer
          format: int64
        slug:
          type: string
        name:
          type: string
        imageUrl:
          type: string
        createDate:
          $ref: '#/components/schemas/DateTimeInfo'
    Header:
      type: object
      properties:
        title:
          type: string
        subtitle:
          type: string
        imageUrl:
          type: string
    DateTimeInfo:
      required:
      - dateTime
      type: object
      properties:
        dateTime:
          type: string
          description: 'Local Date-time represented with a certain timezone '
        timezone:
          type: string
          description: Timezone applied to the datetime
    SeriesValue:
      type: object
      properties:
        dateTime:
          type: string
          format: date-time
        value:
          type: number
          format: double
    Button:
      type: object
      properties:
        id:
          type: integer
          format: int64
        deleted:
          type: boolean
        shortener:
          type: string
        destination:
          type: string
        disabled:
          type: boolean
        creationDate:
          type: string
          format: date-time
        type:
          type: string
        background:
          type: string
        color:
          type: string
        text:
          type: string
        border:
          type: string
    JsonOkResponseString:
      type: object
      properties:
        metadata:
          type: object
        page:
          $ref: '#/components/schemas/JsonPaging'
        data:
          type: string