API Reference
Programmatic access to your Raster libraries — query assets, upload images, and build integrations.
Raster is built API-first. Everything you do in the app — browsing libraries, uploading images, reading tags — is available programmatically, so you can wire Raster into your website, CMS, build pipeline, or internal tools.
Choose an interface
GraphQL API
Available now (Alpha). Query assets, libraries, and tags, and upload or delete assets from any permitted library.
REST API
Coming soon. A resource-oriented HTTP API for teams that prefer REST over GraphQL.
MCP Server
Coming soon. Connect AI assistants directly to your Raster libraries over the Model Context Protocol.
What you can build
- Serve perfectly-sized, CDN-cached images on a website without a traditional CMS.
- Sync a Raster library into a static site generator at build time.
- Push images into Raster from an existing upload flow or automation.
- Pull asset metadata and tags into internal dashboards and search tools.
Before you start
Every interface authenticates with an API key scoped to your organization. You create and manage keys — and grant per-library access — in your organization settings. See Authentication for the full walkthrough.
The Raster API is under active development. The GraphQL API is in Alpha — follow the changelog for breaking changes, and reach out at support@raster.app with feedback.