How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Figma Components API

Endpoints for querying published components, component sets, and styles from team libraries.

Figma Components API is one of 18 APIs that Figma publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

This API exposes 55 JSON Schema definitions.

Tagged areas include Components. The published artifact set on APIs.io includes an OpenAPI specification, an AsyncAPI specification, a JSON-LD context, API documentation, and 55 JSON Schemas.

This API exposes 5 operations across 5 paths, and defines 18 schemas. It is described by OpenAPI 3.2.0, at version 1.0.

Requests are made against a single base URL, https://api.figma.com.

5 operations 5 paths 18 schemas 5 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0
Base URL
https://api.figma.com
Authentication
API Key, API Key, OAuth 2.0, OAuth 2.0
Terms of Service
Resource Areas
1

Authentication & Security 4

Figma Components API declares 4 security schemes for authenticating requests. An API key is passed in the header as X-Figma-Token (PersonalAccessToken). An API key is passed in the header as X-Figma-Token (PlanAccessToken). It supports OAuth 2.0 (OAuth2) using the authorizationCode flow, exposing 21 scopes. It supports OAuth 2.0 (OrgOAuth2) using the authorizationCode flow, exposing 1 scope.

Paths & Operations 5

Across 5 paths, the API surfaces 5 operations — 5 GET. Each is listed below with its method, path, parameters, and response codes.

Components 5

Get information about published components.

GET
/v1/teams/{team_id}/components
Get team components
getTeamComponents 4 params → 200400403404429500
GET
/v1/files/{file_key}/components
Get file components
getFileComponents 1 param → 200400403404429500
GET
/v1/components/{key}
Get component
getComponent 1 param → 200400403404429500
GET
/v1/teams/{team_id}/component_sets
Figma Get Team Component Sets
getTeamComponentSets 4 params → 200401403404429
GET
/v1/teams/{team_id}/styles
Figma Get Team Styles
getTeamStyles 4 params → 200401403404429

Schemas 18

The contract defines 18 schemas that model the data the API accepts and returns. The most detailed are PublishedStyle (11 properties), PublishedComponentSet (10 properties), PublishedComponent_2 (10 properties), PublishedComponent (10 properties). Each schema is shown below with its type and property counts.

User
object
A description of a user.
3 properties 3 required
ResponseCursor
object
Pagination cursor
2 properties
PublishedComponent
object
An arrangement of published UI elements that can be instantiated across figma files.
10 properties 8 required
ErrorResponsePayloadWithErrorBoolean
object
A response indicating an error occurred.
3 properties 3 required
ErrorResponsePayloadWithErrMessage
object
A response indicating an error occurred.
2 properties 2 required
FrameInfo
object
Data on the frame a component resides in.
7 properties 2 required
GetComponentResponse
object
Response from the Get Component endpoint.
3 properties 2 required
User_2
object
A Figma user account.
4 properties 3 required
PublishedStyle
object
A published style from a team or file library.
11 properties 9 required
ErrorResponse
object
Standard error response from the Figma API.
3 properties 3 required
GetTeamComponentSetsResponse
object
Response from the Get Team Component Sets endpoint.
3 properties 2 required
GetFileComponentsResponse
object
Response from the Get File Components endpoint.
3 properties 2 required
GetTeamComponentsResponse
object
Response from the Get Team Components endpoint.
3 properties 2 required
PublishedComponentSet
object
A published component set from a team or file library.
10 properties 8 required
GetTeamStylesResponse
object
Response from the Get Team Styles endpoint.
3 properties 2 required
Pagination
object
Cursor-based pagination metadata.
2 properties
PublishedComponent_2
object
A published component from a team or file library.
10 properties 8 required
FrameInfo_2
object
Information about the frame containing a component.
5 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

figma-components-api-openapi.yml Raw ↑

Other APIs Figma publishes across the network.

Figma Files API
Figma Projects API
Figma Component Sets API
Figma Activity Logs API
Figma Payments API
Figma Dev Resources API
Figma Comments API
Figma Library Analytics API
Figma Users API
Figma AI Usage API
Figma Comment Reactions API
Figma Developer Logs API
Where this information came from

This is an independent, third-party profile of Figma Components API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.