Figma REST API

API

Read Figma file data, export images and manage design variables

Price
Free tier, then paid
Access
Personal access token

About

Figma's REST API reads a file's layers and styles as JSON, exports images of nodes, reads and posts comments, and reads or writes variables. A webhook can notify your server when a file changes. Authenticate with a personal access token or OAuth; call volume is rate-limited by seat and plan.

What you can do with it

  • Read a Figma file's layers, styles and components as JSON
  • Export PNG or SVG images of specific frames or nodes
  • Read or update variables and get a webhook when a file changes

Get started

  1. Generate a personal access token in Figma account settings
  2. Send it as the X-Figma-Token header

Example

curl -H "X-Figma-Token: $FIGMA_ACCESS_TOKEN" \
  "https://api.figma.com/v1/files/$FIGMA_FILE_KEY"

Details

Hosting
Hosted service
Available in
Worldwide
MCP server
None
Works with
Figma

Tasks

Alternatives

Other tools for the same tasks.

Last checked on .