Figma API - Design Asset Extraction & Export avatar

Figma API - Design Asset Extraction & Export

Pricing

from $20.00 / 1,000 get files

Go to Apify Store
Figma API - Design Asset Extraction & Export

Figma API - Design Asset Extraction & Export

Extract designs, components, styles, and images from Figma files using the official REST API. Export frames and nodes as PNG, JPG, SVG, or PDF. Perfect for design system documentation, asset pipelines, and design-to-code workflows.

Pricing

from $20.00 / 1,000 get files

Rating

0.0

(0)

Developer

The Howlers

The Howlers

Maintained by Community

Actor stats

0

Bookmarked

4

Total users

0

Monthly active users

14 days ago

Last modified

Features

Limited permissions

Share

Extract designs, components, styles, and images from Figma files. Export frames and nodes as PNG, JPG, SVG, or PDF. Perfect for design system documentation and asset automation.

BYOK (Bring Your Own Key) -- you provide your own API credentials.


Before You Start

This actor requires your own API credentials to fetch real data.

Where to get your key: Figma personal access token or OAuth token

Demo Mode is off by default, so runs fetch real data. Set demoMode to true to get free sample data that shows the output format, no key needed.


Quick Start

Test with Demo Mode (free, no API key needed)

{
"demoMode": true
}

Run with real data

{
"demoMode": false,
"task": "get_file",
"accessToken": "YOUR_API_KEY_HERE",
"exportFormat": "png",
"exportScale": 1,
"maxResults": 20,
"batchNodes": []
}

Input Parameters

ParameterTypeDefaultRequiredDescription
taskstring"get_file"Yes*Operation to perform
accessTokenstring-Yes*Figma personal access token or OAuth token
fileKeystring-NoFigma file key (from URL: figma.com/file/FILE_KEY/...)
nodeIdsstring-NoComma-separated node IDs for specific operations
teamIdstring-NoFigma team ID for team-level operations
projectIdstring-NoFigma project ID
componentKeystring-NoComponent key for get_component
styleKeystring-NoStyle key for get_style
exportFormatstring"png"NoImage export format
exportScalenumber1NoExport scale (0.01 to 4)
commentMessagestring-NoMessage text for posting comments
commentXnumber-NoX coordinate for comment placement
commentYnumber-NoY coordinate for comment placement
depthinteger-NoDepth to traverse the document tree (1-4)
versionstring-NoSpecific version ID to fetch
maxResultsinteger20NoMaximum number of results to return
batchNodesarray[]NoArray of node configurations for batch export: [{nodeId, format, scale}]
webhookUrlstring-NoURL to send results to (Zapier, Make, n8n, etc.)
demoModebooleanfalseNoRun with sample data (no access token required)

*Required when Demo Mode is off.


Pricing

This actor uses pay-per-event billing:

EventWhen it is chargedPrice
Actor startOnce when the run starts, one event per GB of memory (minimum one). At the default 4 GB of memory a run starts at $0.40$0.10 per GB
Get FileRetrieve complete Figma file JSON with all layers and properties$0.02
Get File NodesExtract specific nodes by ID from a Figma file$0.02
Get File MetadataRetrieve file metadata without full content$0.02
Get File VersionsAccess version history for a Figma file$0.01
Export ImagesRender nodes as PNG, JPG, SVG, or PDF images$0.03
Get Image FillsDownload all images used in image fills$0.02
Get CommentsRetrieve all comments from a Figma file$0.01
Post CommentAdd a comment to a Figma file$0.01
Get Team ProjectsList all projects within a Figma team$0.01
Get Project FilesList all files in a Figma project$0.01
Get Team ComponentsList published components in a team library$0.02
Get File ComponentsList components within a file$0.02
Get ComponentFetch component details by key$0.02
Get Team StylesList published styles in a team library$0.02
Get File StylesList styles within a file$0.02
Get StyleFetch style details by key$0.02
Get VariablesAccess design tokens and variables from a file$0.02
Get UserRetrieve current authenticated user info$0.01
Batch ExportExport multiple nodes in one run (per node)$0.03

Demo mode is free -- no charges for sample data.


Troubleshooting

"API key is required"

You have Demo Mode turned off but didn't provide an API key. Either:

  • Turn Demo Mode on to test with sample data
  • Add your API key in the input

"API error 403" or "Unauthorized"

Your API key is invalid, expired, or doesn't have access to this specific API endpoint. Double-check your key and account permissions.

"API error 429" or "Rate limit"

Too many requests. Wait a minute and try again, or reduce the number of items per run.

No results or empty dataset

Check the run log for error messages. Common causes:

  • Invalid input format (check the examples above)
  • API key without proper permissions
  • The target data doesn't exist or is too small to track

How do I test without an API key?

Enable Demo Mode in the input. This returns realistic sample data so you can verify the output format works for your workflow.


Built by John Rippy | Actor Arsenal