Figma
Get Text From Figma File
Pull every piece of copy out of a Figma design, with the page and frame it sits in.
Endpoint
Parameters
| Name | Type | Required | Note |
|---|---|---|---|
| identifieraccount · required | account | required | — |
| fileKeystring · required | string | required | Paste a Figma file link or the file key from the URL. Example: |
| nodeIdsstring · optional | string | optional | Only read these frames (node IDs or layer links). Leave blank to read the whole file — much slower on a large design. Example: |
| limitnumber · optional | number | optional | Most text layers to return (1-5000, default 500). The result says when the limit cut it short. Default: |
| versionstring · optional | string | optional | A version ID from List Figma File Versions. Leave blank for the current version. |
Response schema
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Open in Figma"
},
"texts": {
"type": "array",
"description": "Each text layer: nodeId, name, text, page, frame, url"
},
"fileKey": {
"type": "string"
},
"fileName": {
"type": "string"
},
"truncated": {
"type": "boolean",
"description": "True when Limit cut the list short"
},
"combinedText": {
"type": "string",
"description": "Every string joined by newlines — feed straight into a prompt"
},
"totalReturned": {
"type": "number"
}
}
}