Figma API - Design Asset Extraction & Export avatar

Figma API - Design Asset Extraction & Export

Pricing

Pay per event

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

Pay per event

Rating

0.0

(0)

Developer

The Howlers

The Howlers

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

0

Monthly active users

3 days ago

Last modified

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

You can test with Demo Mode first (free, no key needed) to see the output format before committing.


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.)
demoModebooleantrueNoRun with sample data (no access token required)

*Required when Demo Mode is off.


Pricing

This actor uses pay-per-event billing:

EventDescriptionPrice
API RequestEach Figma API request processed$0.01

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