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.

GitHub OpenAPI
Business capability
Software Design Management BC-4200.30

Operations 8

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/files/{file_key} Get a Figma file as JSON · Get file JSON #
Ask an LLM
“How do I download a Figma file as JSON?”
“Can I get only certain nodes out of a file?”
Tell an agent
Get file {file_key} as JSON.
Get file {file_key} at version {version} with nodes {ids}.
GET /v1/files/{file_key}/nodes Get specific nodes from a file · Get file JSON for specific nodes #
Ask an LLM
“How do I fetch selected nodes from a Figma file?”
“Can I get only the children of certain nodes?”
Tell an agent
Get nodes {ids} from file {file_key}.
Fetch nodes {ids} from file {file_key} at version {version}.
GET /v1/images/{file_key} Render images of nodes · Render images of file nodes #
Ask an LLM
“How do I render Figma nodes as images?”
“Can I export nodes as SVG outlines?”
Tell an agent
Render nodes {ids} from file {file_key} as {format}.
Render nodes {ids} from file {file_key} at scale {scale}.
GET /v1/files/{file_key}/images Get download links for image fills · Get image fills #
Ask an LLM
“Where do I get the image URLs for the images inside a file?”
“How long do image fill download links stay valid?”
Tell an agent
Get image fill URLs for file {file_key}.
Download the images embedded in file {file_key}.
GET /v1/files/{file_key}/meta Get a file's metadata · Get file metadata #
Ask an LLM
“What is the metadata of a Figma file?”
“Can I get a file's thumbnail and editor type?”
Tell an agent
Get metadata for file {file_key}.
Show the thumbnail and editor type of file {file_key}.
POST /v1/files/{file_key}/duplicate Duplicate a file · Duplicate a file #
Ask an LLM
“How do I copy a Figma file into a folder?”
“Does duplicating a file include unsaved changes?”
Tell an agent
Duplicate file {file_key} into folder {folder_id}.
Copy file {file_key} into folder {folder_id} as a new file.
GET /v1/files/{file_key}/versions List a file's version history · Get versions of a file #
Ask an LLM
“How do I see the version history of a Figma file?”
“Can I get the versions of a file before a certain date?”
Tell an agent
List the version history of file {file_key}.
Show versions of file {file_key} after {after}.
GET /v1/files/{file_key}/image_fills Get image fill URLs (legacy) · Figma Get Image Fills #
Ask an LLM
“Is there an older endpoint that returns image fill URLs?”
“Where do I get image URLs for a file using the legacy image_fills path?”
Tell an agent
Use the legacy image_fills endpoint to get image URLs for file {file_key}.
Fetch image fill links for file {file_key} with the older image_fills route.

Documentation

Specifications

Schemas & Data

📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-files-get-file-response-body-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-files-branch-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-files-canvas-node-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-files-color-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-files-comment-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-files-component-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-files-component-set-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-files-delete-dev-resource-response-body-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-files-dev-resource-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-files-document-node-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-files-documentation-link-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-files-error-response-payload-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-files-frame-info-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-files-get-dev-resources-response-body-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-files-published-component-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-files-published-component-set-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-files-reaction-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-files-style-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-files-style-type-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-files-user-schema.json
📊
JSONSchema
https://artifacts.apis.io/figma/json-schema/figma-files-version-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-files-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-files-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Figma Files API
  termsOfService: https://www.figma.com/developer-terms/
  version: '1.0'
  description: 'Operations tagged Files across 2 of this provider''s published API definitions: figma-openapi.yml, figma-rest-api-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.figma.com
tags:


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