Figma Support Forum

Get values associated with styles with files/styles API call

If I hit the file styles endpoint:<key>/styles

I get an array of objects like so:

  "created_at": "2021-03-18T10:57:00.885Z",
  "description": "",
  "file_key": "…",
  "key": "…",
  "name": "red",
  "node_id": "2:5",
  "sort_position": "\"",
  "style_type": "FILL",
  "thumbnail_url": "…",
  "updated_at": "2021-03-18T10:57:00.885Z",
  "user": {

However what I also need is the value of that style. E.g. "value": "#ff0000"

Is there a way to get this? If not, can this be added?


Same problem. I see the way, but this way will be dumb.
As the first query → getting styles using
As other queries → Getting properties from each style using

Same issue here, I was trying to use GET style, but there is no values either

I was also wondering about this. It feels like the most important thing that you’re looking for in a style object would be its value. Is there a plan to include them going forward?

Just bumping this. Would really love to see this implemented - the API is really limited if we can’t get the style value.