Skip to main content
Illustration by Annie Ruygt of a group of hovering servers with eyes The Fly Machines REST API provides resources to provision and manage Fly Apps, Fly Machines, and Fly Volumes.

Client libraries

You can call the Machines API from any HTTP client. The official packages from Fly.io:
  • fly-go: Go client for the Machines API and the Fly.io GraphQL API. It’s the library flyctl is built on. Module github.com/superfly/fly-go.
  • Other languages: generate a client from the OpenAPI spec with a tool like openapi-generator.
Fly Sprites is a separate API (api.sprites.dev) with its own SDKs: @fly/sprites for JavaScript and TypeScript, sprites-py for Python, sprites-go for Go, sprites for Elixir, and an MCP server.