SVG Icons Icon Collections API

Project icon collections backed by ProjectKit.

GitHub OpenAPI

Operations 8

GET /api/pro/project-kits List Icon Collections #
POST /api/pro/project-kits Create an Icon Collection #
GET /api/pro/project-kits/{projectKit} Get one Icon Collection #
PATCH /api/pro/project-kits/{projectKit} Update one Icon Collection #
DELETE /api/pro/project-kits/{projectKit} Delete one Icon Collection #
POST /api/pro/project-kits/{projectKit}/icons Add one icon to an Icon Collection #
POST /api/pro/project-kits/{projectKit}/icons/bulk Add multiple icons to an Icon Collection #
DELETE /api/pro/project-kits/{projectKit}/icons/{icon} Remove one icon from an Icon Collection #

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/svgicons-com:svgicons-com-icon-collections-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

svgicons-com-icon-collections-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Svgicons Com Icon Collections API
  version: '2026-07-17'
  description: 'Operations tagged Icon Collections across 2 of this provider''s published API definitions: pro-api.json, svgicons-com-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://svgicons.com
  description: Production
tags:
- name: Icon Collections
  description: Project icon collections backed by ProjectKit.
paths:
  /api/pro/project-kits:
    get:
      tags:
      - Icon Collections
      summary: List Icon Collections
      operationId: listProProjectKits
      security:
      - bearerAuth: []
      x-required-scopes:
      - collections:read
      responses:
        '200':
          description: Collection summaries and option values.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProjectKitListResponse'
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '403':
          $ref: '#/components/responses/MissingScope'
    post:
      tags:
      - Icon Collections
      summary: Create an Icon Collection
      operationId: createProProjectKit
      security:
      - bearerAuth: []
      x-required-scopes:
      - collections:write
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProjectKitWriteRequest'
      responses:
        '201':
          description: Created collection summary.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProjectKitSummaryResponse'
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '403':
          $ref: '#/components/responses/MissingScope'
        '422':
          $ref: '#/components/responses/ValidationError'
    servers:
    - url: https://svgicons.com
      description: Production
  /api/pro/project-kits/{projectKit}:
    get:
      tags:
      - Icon Collections
      summary: Get one Icon Collection
      operationId: getProProjectKit
      security:
      - bearerAuth: []
      x-required-scopes:
      - collections:read
      parameters:
      - $ref: '#/components/parameters/ProjectKitId'
      - name: per_page
        in: query
        schema:
          type: integer
          minimum: 1
          maximum: 100
          default: 100
      responses:
        '200':
          description: Collection detail and paginated icons.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProjectKitDetailResponse'
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '403':
          $ref: '#/components/responses/MissingScope'
        '404':
          $ref: '#/components/responses/NotFound'
    patch:
      tags:
      - Icon Collections
      summary: Update one Icon Collection
      operationId: updateProProjectKit
      security:
      - bearerAuth: []
      x-required-scopes:
      - collections:write
      parameters:
      - $ref: '#/components/parameters/ProjectKitId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProjectKitWriteRequest'
      responses:
        '200':
          description: Updated collection summary.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProjectKitSummaryResponse'
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '403':
          $ref: '#/components/responses/MissingScope'
        '404':
          $ref: '#/components/responses/NotFound'
        '422':
          $ref: '#/components/responses/ValidationError'
    delete:
      tags:
      - Icon Collections
      summary: Delete one Icon Collection
      operationId: deleteProProjectKit
      security:
      - bearerAuth: []
      x-required-scopes:
      - collections:write
      parameters:
      - $ref: '#/components/parameters/ProjectKitId'
      responses:
        '204':
          description: Deleted.
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '403':
          $ref: '#/components/responses/MissingScope'
        '404':
          $ref: '#/components/responses/NotFound'
    servers:
    - url: https://svgicons.com
      description: Production
  /api/pro/project-kits/{projectKit}/icons:
    post:
      tags:
      - Icon Collections
      summary: Add one icon to an Icon Collection
      operationId: addProProjectKitIcon
      security:
      - bearerAuth: []
      x-required-scopes:
      - collections:write
      parameters:
      - $ref: '#/components/parameters/ProjectKitId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AddIconRequest'
      responses:
        '200':
          description: Icon already existed in the collection.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AddIconResponse'
        '201':
          description: Icon added to the collection.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AddIconResponse'
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '403':
          $ref: '#/components/responses/MissingScope'
        '404':
          $ref: '#/components/responses/NotFound'
        '422':
          $ref: '#/components/responses/ValidationError'
    servers:
    - url: https://svgicons.com
      description: Production
  /api/pro/project-kits/{projectKit}/icons/bulk:
    post:
      tags:
      - Icon Collections
      summary: Add multiple icons to an Icon Collection
      operationId: bulkAddProProjectKitIcons
      security:
      - bearerAuth: []
      x-required-scopes:
      - collections:write
      parameters:
      - $ref: '#/components/parameters/ProjectKitId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BulkAddIconsRequest'
      responses:
        '200':
          description: All submitted icons already existed in the collection.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BulkAddIconsResponse'
        '201':
          description: At least one icon was added.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BulkAddIconsResponse'
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '403':
          $ref: '#/components/responses/MissingScope'
        '404':
          $ref: '#/components/responses/NotFound'
        '422':
          $ref: '#/components/responses/ValidationError'
    servers:
    - url: https://svgicons.com
      description: Production
  /api/pro/project-kits/{projectKit}/icons/{icon}:
    delete:
      tags:
      - Icon Collections
      summary: Remove one icon from an Icon Collection
      description: 'Removes an icon from an Icon Collection by icon id. Without parameters, all_variants defaults to true for backward compatibility and every entry of the icon is removed — the plain entry plus any custom-icon variants. Pass all_variants=false to remove only the plain entry, or edit_id to remove exactly one custom-icon variant. (The MCP remove_icon_from_collection tool deliberately defaults the other way: entry-precise.)'
      operationId: removeProProjectKitIcon
      security:
      - bearerAuth: []
      x-required-scopes:
      - collections:write
      parameters:
      - $ref: '#/components/parameters/ProjectKitId'
      - $ref: '#/components/parameters/IconId'
      - name: all_variants
        in: query
        required: false
        schema:
          type: boolean
          default: true
        description: 'Defaults to true for backward compatibility: removes every entry of the icon — the plain entry plus any custom-icon variants. Pass false to remove only the plain entry and keep custom-icon variants. Ignored when edit_id is provided.'
      - name: edit_id
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
        description: 'Remove exactly one custom-icon variant: the entry whose Icon Studio edit id matches. Entry-precise — the plain entry and other variants survive. The edit must belong to the authenticated account, otherwise the request is a 404.'
      responses:
        '200':
          description: Removal result and updated collection summary.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RemoveIconResponse'
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '403':
          $ref: '#/components/responses/MissingScope'
        '404':
          $ref: '#/components/responses/NotFound'
    servers:
    - url: https://svgicons.com
      description: Production
components:
  schemas:
    ProjectKitSummaryResponse:
      type: object
      required:
      - data
      properties:
        data:
          $ref: '#/components/schemas/ProjectKitSummary'
    BulkAddIconsRequest:
      type: object
      required:
      - icon_ids
      properties:
        icon_ids:
          type: array
          minItems: 1
          maxItems: 500
          uniqueItems: true
          items:
            type: integer
            minimum: 1
    ScopeValue:
      type: string
      enum:
      - search:read
      - icons:read
      - collections:read
      - collections:write
      - exports:create
      - mcp:use
    ScopeError:
      type: object
      required:
      - message
      - requiredScopes
      properties:
        message:
          type: string
        requiredScopes:
          type: array
          items:
            $ref: '#/components/schemas/ScopeValue'
        missingScope:
          $ref: '#/components/schemas/ScopeValue'
        pricingUrl:
          type: string
          format: uri
      additionalProperties: true
    ValidationError:
      type: object
      required:
      - message
      - errors
      properties:
        message:
          type: string
        errors:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
    ProjectKitListResponse:
      type: object
      required:
      - data
      - meta
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/ProjectKitSummary'
        meta:
          type: object
          properties:
            options:
              $ref: '#/components/schemas/ProjectKitOptions'
    ProjectKitOptions:
      type: object
      properties:
        frameworks:
          type: array
          items:
            type: string
            enum:
            - svg
            - react-ts
            - vue
            - sprite
        colorPolicies:
          type: array
          items:
            type: string
            enum:
            - currentColor
            - preserve
            - strip
        namingPolicies:
          type: array
          items:
            type: string
            enum:
            - kebab
            - pascal
            - camel
    RemoveIconResponse:
      type: object
      required:
      - data
      properties:
        data:
          type: object
          properties:
            kit:
              $ref: '#/components/schemas/ProjectKitSummary'
            iconId:
              type: integer
            removed:
              type: boolean
            allVariants:
              type: boolean
              description: Whether the removal applied to every entry of the icon.
            editId:
              type:
              - integer
              - 'null'
              description: The Icon Studio edit id when edit_id targeted one custom-icon variant.
    Error:
      type: object
      required:
      - message
      properties:
        message:
          type: string
      additionalProperties: true
    AddIconResponse:
      type: object
      required:
      - data
      properties:
        data:
          type: object
          properties:
            kit:
              $ref: '#/components/schemas/ProjectKitSummary'
            iconId:
              type: integer
            created:
              type: boolean
    ProjectKitDetailResponse:
      type: object
      required:
      - data
      - icons
      properties:
        data:
          allOf:
          - $ref: '#/components/schemas/ProjectKitSummary'
          - type: object
            properties:
              licenseSummary:
                type: array
                items:
                  type: object
                  additionalProperties: true
              iconSetSummary:
                type: array
                items:
                  type: object
                  additionalProperties: true
          - type: object
            properties:
              hasCustomIcons:
                type: boolean
                description: Whether any entry in the collection is a custom-icon variant.
        icons:
          $ref: '#/components/schemas/Pagination'
    AddIconRequest:
      type: object
      required:
      - icon_id
      properties:
        icon_id:
          type: integer
          minimum: 1
    ProjectKitSummary:
      type: object
      required:
      - id
      - name
      - slug
      - framework
      - colorPolicy
      - namingPolicy
      - iconsCount
      properties:
        id:
          type: integer
        name:
          type: string
        slug:
          type: string
        description:
          type:
          - string
          - 'null'
        framework:
          type: string
          enum:
          - svg
          - react-ts
          - vue
          - sprite
        colorPolicy:
          type: string
          enum:
          - currentColor
          - preserve
          - strip
        namingPolicy:
          type: string
          enum:
          - kebab
          - pascal
          - camel
        iconsCount:
          type: integer
        showUrl:
          type: string
        updatedAt:
          type:
          - string
          - 'null'
          format: date-time
        createdAt:
          type:
          - string
          - 'null'
          format: date-time
        styledWith:
          type:
          - string
          - 'null'
          description: The style name when the collection was built by applying a style.
    ProjectKitWriteRequest:
      type: object
      properties:
        name:
          type: string
          maxLength: 120
        description:
          type:
          - string
          - 'null'
          maxLength: 600
        framework:
          type:
          - string
          - 'null'
          enum:
          - svg
          - react-ts
          - vue
          - sprite
          - null
        colorPolicy:
          type:
          - string
          - 'null'
          enum:
          - currentColor
          - preserve
          - strip
          - null
        color_policy:
          type:
          - string
          - 'null'
          enum:
          - currentColor
          - preserve
          - strip
          - null
        namingPolicy:
          type:
          - string
          - 'null'
          enum:
          - kebab
          - pascal
          - camel
          - null
        naming_policy:
          type:
          - string
          - 'null'
          enum:
          - kebab
          - pascal
          - camel
          - null
      examples:
      - name: Billing settings
        description: Icons for the billing settings screen.
        framework: react-ts
        colorPolicy: currentColor
        namingPolicy: pascal
    Pagination:
      type: object
      description: Laravel length-aware paginator response used for Icon Collection icons.
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/ProjectKitIcon'
        current_page:
          type: integer
        first_page_url:
          type:
          - string
          - 'null'
          format: uri
        from:
          type:
          - integer
          - 'null'
        last_page:
          type: integer
        last_page_url:
          type:
          - string
          - 'null'
          format: uri
        links:
          type: array
          items:
            type: object
            properties:
              url:
                type:
                - string
                - 'null'
                format: uri
              label:
                type: string
              active:
                type: boolean
        next_page_url:
          type:
          - string
          - 'null'
          format: uri
        path:
          type: string
          format: uri
        per_page:
          type: integer
        prev_page_url:
          type:
          - string
          - 'null'
          format: uri
        to:
          type:
          - integer
          - 'null'
        total:
          type: integer
      additionalProperties: true
    ProjectKitIcon:
      type: object
      description: One collection entry. An icon can appear as a plain entry plus custom-icon variants; entryId identifies the entry row. Custom-icon entries carry customEditId, customName, and their customized SVG snapshot as the body.
      required:
      - id
      - entryId
      - icon_set_id
      - name
      - width
      - height
      - body
      - iconSet
      properties:
        id:
          type: integer
        entryId:
          type:
          - integer
          - 'null'
          description: The entry row id, used for entry-level operations such as reordering.
        icon_set_id:
          type:
          - integer
          - 'null'
        name:
          type: string
        width:
          type: integer
        height:
          type: integer
        body:
          type: string
          description: SVG body markup. For custom-icon entries this is the customized rendered snapshot, not the catalog body.
        customEditId:
          type:
          - integer
          - 'null'
          description: The Icon Studio edit id when the entry is a custom-icon variant.
        customName:
          type:
          - string
          - 'null'
          description: The custom icon's name when the entry is a custom-icon variant.
        iconSet:
          type:
          - object
          - 'null'
          properties:
            id:
              type: integer
            name:
              type: string
            prefix:
              type: string
            license:
              type:
              - string
              - 'null'
            licenseUrl:
              type:
              - string
              - 'null'
              format: uri
    BulkAddIconsResponse:
      type: object
      required:
      - data
      properties:
        data:
          type: object
          properties:
            kit:
              $ref: '#/components/schemas/ProjectKitSummary'
            createdIconIds:
              type: array
              items:
                type: integer
            existingIconIds:
              type: array
              items:
                type: integer
            createdCount:
              type: integer
            existingCount:
              type: integer
  responses:
    MissingScope:
      description: Pro entitlement or token scope denied.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ScopeError'
          examples:
            missingScope:
              value:
                message: This token is missing the search:read scope.
                requiredScopes:
                - search:read
                missingScope: search:read
            proRequired:
              value:
                message: This endpoint requires the Pro Plan.
                requiredScopes:
                - collections:read
                pricingUrl: https://svgicons.com/pricing
    NotFound:
      description: Resource was not found or is not owned by the token user.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            notFound:
              value:
                message: Not Found
    ValidationError:
      description: Request validation failed.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ValidationError'
    Unauthenticated:
      description: Missing or invalid bearer token.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            unauthenticated:
              value:
                message: Unauthenticated.
  parameters:
    ProjectKitId:
      name: projectKit
      in: path
      required: true
      description: Numeric Icon Collection ID.
      schema:
        type: integer
        minimum: 1
    IconId:
      name: icon
      in: path
      required: true
      description: Numeric svgicons.com icon ID.
      schema:
        type: integer
        minimum: 1
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: Sanctum personal access token
      description: 'Use a Pro API token from the account page in the Authorization header: Bearer TOKEN.'
x-refined-from:
- pro-api.json
- svgicons-com-openapi.yml
x-pro-api-scopes:
- search:read
- icons:read
- collections:read
- collections:write
- exports:create
- mcp:use