HarborHarbor
DocumentationGuidesPlugins
All plugins

Figma API

Official Figma REST API imported from Figma's OpenAPI spec

APICategory: devPopularity 88figma_api

Official Figma REST API imported from Figma's OpenAPI spec

Install

hrbr plugins install figma-api

Harbor calls https://api.figma.com (driven by the upstream OpenAPI spec).

Quick start

hrbr exec 'return await figma_api.get({ /* see schema */ })'

Or from a Function:

import { defineOrbitJob } from "@hrbr/orbit";

export default defineOrbitJob({
  name: "figma-api-example",
  handler: async (ctx) => {
    return await ctx.plugins.figma_api.list({ limit: 5 });
  },
});

Tools

Tools are generated from the upstream OpenAPI spec. Inspect with:

hrbr plugins tools figma-api

Or open the dashboard plugin page for the live tool list.