---
ref: tool:figma/export-images
name: Export images
company: company:figma
workflows: []
access: [mcp, api]
tags: [capability:design-assets, category:design, has:api, has:mcp]
docs: https://developers.figma.com/docs/rest-api/file-endpoints/#get-images-endpoint
updated: 2026-09-26
---

# Export images

Renders frames or layers from a file as PNG, JPG, SVG or PDF and returns temporary URLs to download them.

Note: Pass the IDs of the nodes to render. REST image URLs expire after 30 days, and the MCP tool takes up to 20 nodes per call.

## Set up

Use the first option your agent supports.

### MCP (official, remote)

Add this server to your agent's MCP settings, then sign in when asked.

```json
{ "mcpServers": { "figma": { "url": "https://mcp.figma.com/mcp" } } }
```

Call the MCP tool `download_assets`.

Server URL: https://mcp.figma.com/mcp

### API (official)

- Base URL: https://api.figma.com
- Endpoint: `GET /v1/images/{key}`
- Auth: send the header `X-Figma-Token: $FIGMA_ACCESS_TOKEN`
- Docs: https://developers.figma.com/docs/rest-api/

Before anything else, confirm access with the cheapest read-only call, like a list or a search. Never send or change anything to test access.

## Rules

- Ask the user before anything that sends messages, costs money, or changes data, and say how many records it touches. One approval covers a batch the user has seen.
- Never print API keys.
