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 Files API

Figma Files API provides access to design file data including document trees, nodes, images, version history, and file metadata. Read and export design data from Figma files programmatically.

Figma Files API is one of 18 APIs that Figma publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 21 JSON Schema definitions.

Tagged areas include Dev Resources and File. The published artifact set on APIs.io includes an OpenAPI specification, a JSON-LD context, API documentation, and 21 JSON Schemas.

This API exposes 7 operations across 7 paths, and defines 168 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.

7 operations 7 paths 168 schemas 7 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 Files 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 7

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

Files 7

Get file JSON, images, and other file-related content.

GET
/v1/files/{file_key}
Get file JSON
getFile 7 params → 200400403404429500
GET
/v1/files/{file_key}/nodes
Get file JSON for specific nodes
getFileNodes 6 params → 200400403404429500
GET
/v1/images/{file_key}
Render images of file nodes
getImages 11 params → 200400403404429500
GET
/v1/files/{file_key}/images
Get image fills
getImageFills 1 param → 200400403404429500
GET
/v1/files/{file_key}/meta
Get file metadata
getFileMeta 1 param → 200400403404429500
GET
/v1/files/{file_key}/versions
Get versions of a file
getFileVersions 4 params → 200403404429500
GET
/v1/files/{file_key}/image_fills
Figma Get Image Fills
getV1FilesByFileKeyImageFills 1 param → 200401404429

Schemas 168

The contract defines 168 schemas that model the data the API accepts and returns. The most detailed are HasLayoutTrait (27 properties), HasFramePropertiesTrait (20 properties), BaseTypeStyle (15 properties), IsLayerTrait (13 properties). Each schema is shown below with its type and property counts.

User
object
A description of a user.
3 properties 3 required
Interaction
object
An interaction in the Figma viewer, containing a trigger and one or more actions.
2 properties 1 required
InstanceNode
AnnotationsTrait
object
RectangularShapeTraits
RegularPolygonNode
HasFramePropertiesTrait
object
20 properties 1 required
EllipseNode
CanvasNode
VectorNode
ConditionalBlock
object
Either the if or else conditional blocks. The if block contains a condition to check. If that condition is met then it will run those list of actions, else it…
2 properties 1 required
ComponentPropertiesTrait
object
1 property
InstanceSwapPreferredValue
object
Instance swap preferred value.
2 properties 2 required
DocumentationLink
object
Represents a link to documentation for a component or component set.
1 property 1 required
NodeAction
object
An action that navigates to a specific node in the Figma viewer.
9 properties 4 required
ComponentPropertyDefinition
object
A property of a component.
5 properties 2 required
CornerTrait
object
3 properties
Style
object
A set of properties that can be applied to nodes and published. Styles for a property can be created in the corresponding property's panel while editing a file.
5 properties 5 required
ComplexStrokesTrait
object
MonotoneNoiseEffect
TextPathNode
ShapeType
string
Geometric shape type.
IndividualStrokesTrait
object
1 property
VariableDataType
string
Defines the types of data a VariableData object can hold
ColorStop
object
A single color stop with its position along the gradient axis, color, and bound variables if any
3 properties 2 required
TransformGroupNode
HasEffectsTrait
object
1 property 1 required
Version
object
A version of a file
6 properties 5 required
Constraint
object
Sizing constraint for exports.
2 properties 2 required
Expression
object
Defines the [Expression](https://help.figma.com/hc/en-us/articles/15253194385943) object, which contains a list of VariableData objects strung together by oper…
2 properties 2 required
GroupNode
Easing
object
Describes an easing curve.
3 properties 1 required
TableNode
ConnectorEndpoint
Stores canvas location for a connector start/end point.
LinkAccess
string
Access policy for users who have the link to the resource.
ComponentProperty
object
A property of a component.
4 properties 2 required
ShapeWithTextNode
TextNode
ConnectorTextBackground
HasMaskTrait
object
3 properties
StickyNode
NormalBlurEffect
Hyperlink
object
A link to either a URL or another frame (node) in the document.
3 properties 1 required
RectangleNode
ConnectorNode
StarNode
VariableAlias
object
Contains a variable alias
2 properties 2 required
MeasurementStartEnd
object
The node and side a measurement is pinned to
2 properties 2 required
EasingType
string
This type is a string enum with the following possible values: - EASEIN: Ease in with an animation curve similar to CSS ease-in. - EASEOUT: Ease out with an an…
Vector
object
A 2d vector.
2 properties 2 required
SimpleTransition
object
Describes an animation used when navigating in a prototype.
3 properties 3 required
ExpressionFunction
string
Defines the list of operators available to use in an Expression.
PrototypeDevice
object
The device used to view a prototype.
4 properties 2 required
HasLayoutTrait
object
27 properties 2 required
VariableResolvedDataType
string
Defines the types of data a VariableData object can eventually equal
DocumentNode
VariableData
object
A value to set a variable to during prototyping.
3 properties
TextPathTypeStyle
BasePaint
object
3 properties 1 required
ImagePaint
LinkUnfurlNode
RGB
object
An RGB color
3 properties 3 required
LayoutConstraint
object
Layout constraint relative to containing Frame
2 properties 2 required
ExportSetting
object
An export setting.
3 properties 3 required
Rectangle
object
A rectangle that expresses a bounding box in absolute coordinates.
4 properties 4 required
RGBA
object
An RGBA color
4 properties 4 required
SlotSettings
object
Slot-specific configuration for a SLOT component property.
5 properties
BlurEffect
NoiseEffect
DirectionalTransition
object
Describes an animation used when navigating in a prototype.
5 properties 4 required
HasGeometryTrait
PaintOverride
object
Paint metadata to override default paints.
2 properties
BaseNoiseEffect
object
A noise effect
6 properties 6 required
HasBlendModeAndOpacityTrait
object
2 properties 1 required
HasTextSublayerTrait
object
1 property 1 required
Action
object
An action that is performed when a trigger is activated.
SetVariableModeAction
object
Sets a variable to a specific mode.
3 properties 3 required
SetVariableAction
object
Sets a variable to a specific value.
3 properties 2 required
DropShadowEffect
GradientPaint
ConditionalAction
object
Checks if a condition is met before performing certain actions by using an if/else conditional statement.
2 properties 2 required
MeasurementOffsetInner
object
Measurement offset relative to the inside of the start node
2 properties 2 required
WidgetNode
SubcanvasNode
IsLayerTrait
object
13 properties 4 required
OnKeyDownTrigger
object
3 properties 3 required
Size
object
A width and a height.
2 properties 2 required
Path
object
Defines a single path
3 properties 2 required
FrameTraits
HasExportSettingsTrait
object
1 property
BaseTypeStyle
object
15 properties
WashiTapeNode
DuotoneNoiseEffect
Role
string
The role of the user making the API request in relation to the resource.
SectionNode
Node
FrameNode
Navigation
string
The method of navigation. The possible values are: - "NAVIGATE": Replaces the current screen with the destination, also closing all overlays. - "OVERLAY": Open…
TextPathPropertiesTrait
object
5 properties 5 required
InnerShadowEffect
ImageFilters
object
Image filters to apply to the node.
7 properties
TableCellNode
TextureEffect
object
A texture effect
5 properties 5 required
BooleanOperationNode
LayoutGrid
object
Guides to align and place objects within a frames.
9 properties 8 required
SlotContentId
object
Identifier for the content of a slot component property.
1 property 1 required
ProgressiveBlurEffect
UpdateMediaRuntimeAction
object
An action that affects a video node in the Figma viewer. For example, to play, pause, or skip.
Transform
array
A transformation matrix is standard way in computer graphics to represent translation and rotation. These are the top two rows of a 3x3 matrix. The bottom row…
TypePropertiesTrait
object
7 properties 6 required
ComponentNode
BlendMode
string
This type is a string enum with the following possible values Normal blends: - PASSTHROUGH (only applicable to objects with children) - NORMAL Darken: - DARKEN…
AfterTimeoutTrigger
object
2 properties 2 required
ArcData
object
Information about the arc properties of an ellipse. 0° is the x axis and increasing angles rotate clockwise.
3 properties 3 required
TypeStyle
DevStatusTrait
object
1 property
Trigger
object
The "ONHOVER" and "ONPRESS" trigger types revert the navigation when the trigger is finished (the result is temporary). "MOUSEENTER", "MOUSELEAVE", "MOUSEUP" a…
Paint
FlowStartingPoint
object
A flow starting point used when launching a prototype to enter Presentation view.
2 properties 2 required
ComponentSet
object
A description of a component set, which is a node containing a set of variants of a component.
5 properties 3 required
ConnectorLineType
string
Connector line type.
BaseShadowEffect
object
Base properties shared by all shadow effects
7 properties 5 required
StyleType
string
The type of style
Measurement
object
A pinned distance between two nodes in Dev Mode
5 properties 4 required
Overrides
object
Fields directly overridden on an instance. Inherited overrides are not included.
2 properties 2 required
ErrorResponsePayloadWithErrMessage
object
A response indicating an error occurred.
2 properties 2 required
OpenURLAction
object
An action that opens a URL.
2 properties 2 required
SliceNode
StrokeWeights
object
Individual stroke weights
4 properties 4 required
MeasurementOffsetOuter
object
Measurement offset relative to the outside of the start node
2 properties 2 required
ResponsePagination
object
If pagination is needed due to the length of the response, identifies the next and previous pages.
2 properties
ComponentPropertyType
string
Component property type.
LineNode
Transition
SolidPaint
MultitoneNoiseEffect
MinimalFillsTrait
object
2 properties 1 required
TransitionSourceTrait
object
4 properties
HasChildrenTrait
object
1 property 1 required
PatternPaint
EmbedNode
OnMediaHitTrigger
object
2 properties 2 required
MinimalStrokesTrait
object
5 properties
CornerRadiusShapeTraits
Component
object
A description of a main component. Helps you identify which component instances are attached to.
6 properties 5 required
DefaultShapeTraits
TransformModifiersTrait
object
BaseBlurEffect
object
Base properties shared by all blur effects
4 properties 3 required
ComponentSetNode
Effect
VariableWidthStrokesTrait
object
User_2
object
A Figma user account.
4 properties 3 required
ErrorResponse
object
Standard error response from the Figma API.
3 properties 3 required
ComponentSet_2
object
A component set groups variants of a component together. Useful for organizing different states or configurations of a design element.
5 properties 3 required
GetFileResponse
object
Response from the Get File endpoint.
13 properties 10 required
GetFileVersionsResponse
object
Response from the Get File Versions endpoint.
2 properties 1 required
CanvasNode_2
object
A canvas (page) in the Figma document.
5 properties 3 required
DocumentationLink_2
object
A link to documentation associated with a component.
1 property 1 required
Style_2
object
A published style that can be applied to nodes in Figma.
5 properties 5 required
GetImageFillsResponse
object
Response from the Get Image Fills endpoint.
3 properties
Branch
object
Information about a branch of a Figma file.
4 properties 4 required
GetFileNodesResponse
object
Response from the Get File Nodes endpoint.
5 properties 4 required
Color
object
An RGBA color value with channels ranging from 0 to 1.
4 properties 4 required
DocumentNode_2
object
The root node of a Figma document.
4 properties 4 required
GetImagesResponse
object
Response from the Get Images endpoint.
2 properties
Version_2
object
A recorded version in the file's version history.
5 properties 5 required
Component_2
object
Metadata about a main component in a Figma file. Components are reusable design elements.
6 properties 5 required
Pagination
object
Cursor-based pagination metadata.
2 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

figma-files-api-openapi.yml Raw ↑

Other APIs Figma publishes across the network.

Figma Projects API
Figma Component Sets API
Figma Activity Logs API
Figma Payments API
Figma Dev Resources API
Figma Comments API
Figma Components 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 Files 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.