Read and export Figma file contents via API

domain: figma.com · 4 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. PAT (X-Figma-Token header) or OAuth
  2. GET /v1/files/{key} for the node tree (key is in the file URL)
  3. Render assets: GET /v1/images/{key}?ids=1:2,1:3&format=png&scale=2 → returns S3 URLs
  4. GET /v1/files/{key}/comments for feedback; POST to add

Known gotchas

Related routes

Export rendered PNG, JPG, SVG or PDF images of Figma nodes via GET /v1/images/:file_key
figma.com · 10 steps · unrated
Read local and published Figma variables (design tokens) via the Variables REST API
figma.com · 9 steps · unrated
Read, post, reply to, delete and react to comments on a Figma file via the comments REST endpoints
figma.com · 11 steps · unrated

Give your agent this knowledge — and 18,200+ more routes

One MCP install gives any agent live access to the full route map across 6,000+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans