Figma Library Analytics API

Operations for retrieving library usage and action analytics data

GitHub OpenAPI

Operations 7

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /v1/analytics/libraries/{file_key}/usages Get library usage analytics · Figma Get Library Analytics Usage Data #
Ask an LLM
“How many times have my library components been used?”
“Can I break down library usage by component or file?”
Tell an agent
Get library usage analytics for {file_key} grouped by {group_by}.
Show usage counts for library {file_key} by {group_by}, ordered {order}.
GET /v1/analytics/libraries/{file_key}/component/actions Get library component action analytics · Get library analytics component action data #
Ask an LLM
“Which library components have been most copied or renamed?”
“Can I see component action counts for a date range?”
Tell an agent
Get library component action analytics for {file_key} grouped by {group_by}.
Show component actions for library {file_key} from {start_date} to {end_date}, grouped by {group_by}.
GET /v1/analytics/libraries/{file_key}/component/usages Get usage of library components · Get library analytics component usage data #
Ask an LLM
“Which components in a Figma library are getting used most?”
“Can I see component usage grouped by page?”
Tell an agent
Get component usage for library {file_key} grouped by {group_by}.
Show usage of components in lib {file_key}, grouped by {group_by}.
GET /v1/analytics/libraries/{file_key}/style/actions Get library style action analytics · Get library analytics style action data #
Ask an LLM
“Which library styles have been most copied or renamed?”
“Can I see style action counts for a date range?”
Tell an agent
Get library style action analytics for {file_key} grouped by {group_by}.
Show style actions for library {file_key} from {start_date} to {end_date}, grouped by {group_by}.
GET /v1/analytics/libraries/{file_key}/style/usages Get usage of library styles · Get library analytics style usage data #
Ask an LLM
“How are the styles in a library being reused in designs?”
“Can I break down style usage by page or component?”
Tell an agent
Get style usage for library {file_key} grouped by {group_by}.
Show library {file_key} style usage per {group_by}.
GET /v1/analytics/libraries/{file_key}/variable/actions Get library variable action analytics · Get library analytics variable action data #
Ask an LLM
“Which library variables have been most copied or renamed?”
“Can I see variable action counts for a date range?”
Tell an agent
Get library variable action analytics for {file_key} grouped by {group_by}.
Show variable actions for library {file_key} from {start_date} to {end_date}, grouped by {group_by}.
GET /v1/analytics/libraries/{file_key}/variable/usages Get usage of library variables · Get library analytics variable usage data #
Ask an LLM
“Which variables in a library are designers referencing?”
“Can I see variable usage grouped by style or page?”
Tell an agent
Get variable usage for library {file_key} grouped by {group_by}.
Show library {file_key} variable usage per {group_by}.

Documentation

Specifications

Schemas & Data

📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-file-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-component-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-error-response-payload-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-get-me-response-body-schema.json
📊
JSONStructure
https://artifacts.apis.io/figma/json-structure/figma-get-me-response-body-structure.json
📊
JSONStructure
https://artifacts.apis.io/figma/json-structure/figma-error-response-payload-structure.json
📊
JSONStructure
https://artifacts.apis.io/figma/json-structure/figma-user-structure.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-rest-get-file-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-rest-get-file-nodes-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-rest-get-images-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-rest-get-image-fills-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-rest-get-file-versions-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-rest-get-team-projects-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-rest-get-project-files-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-rest-branch-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-rest-canvas-node-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-rest-color-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-rest-component-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-rest-component-set-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-rest-document-node-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-rest-documentation-link-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-rest-project-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-rest-project-file-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-rest-style-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-rest-version-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-analytics-get-library-analytics-usages-response-body-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-analytics-library-analytics-usages-by-component-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-analytics-library-analytics-usages-by-file-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-analytics-library-analytics-actions-by-component-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-analytics-library-analytics-actions-by-team-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-analytics-library-analytics-style-usages-by-asset-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-analytics-library-analytics-style-usages-by-file-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-analytics-library-analytics-variable-usages-by-asset-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-analytics-library-analytics-variable-usages-by-file-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-analytics-error-response-payload-schema.json

Other Resources

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/figma:figma-library-analytics-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

figma-library-analytics-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Figma Analytics Library Analytics API
  version: 0.21.0
  description: 'This is the OpenAPI specification for the Figma REST API Analytics endpoints.

    Note: we are releasing the OpenAPI specification as a beta given the large surface area and complexity of the REST API.'
  termsOfService: https://www.figma.com/developer-terms/
  contact:
    email: support@figma.com
servers:
- url: https://api.figma.com
  description: Figma Production API Server
tags:


# --- truncated at 32 KB (42 KB total) ---
# Full source: https://artifacts.apis.io/figma/openapi/figma-library-analytics-api-openapi.yml