Marketplace API
The Marketplace API serves as a catalog of available Instance images. Its goal is to help find the specific image ID to use when launching an Instance.
Users can launch Instances through the Instances API. These Instances use a predefined disk state, called an image. To launch an Instance with a specific image, you must know the image's ID to pass to the Instance API.
These IDs can change over time as the Scaleway team releases new versions of the images, so the Marketplace API can be used to find the most up-to-date image to use.
Note
Check out the Instance APIOpen in new context
Concepts
Refer to the Instances concepts pageOpen in new context to learn more about images and other concepts related to Instances.
Quickstart
This API uses calls to the /local-images?image_label=<label> endpoint to get the IDs of specific images.
For example, make the following call to the endpoint /local-images?image_label=ubuntu_jammy&zone=fr-par-1 to get the local images for Ubuntu 22.04 LTS (Jammy Jellyfish) in the fr-par-1 Availability Zone:
Code
The following list of images is returned:
Code
Requirement
- You have installed
curlOpen in new context - You have installed
jqOpen in new context (this will make it significantly easier to read the information returned by the Marketplace API)
Technical information
Availability Zones
Scaleway's infrastructure is spread across different regions and Availability ZonesOpen in new context.
The Marketplace API is a global API and provides information about Instance images in all Availability Zones.
Authentication
No authentication or API key is required to use the Marketplace API.
Pagination
Most listing requests receive a paginated response. Requests against paginated endpoints accept two query arguments:
page, a positive integer to choose which page to return. The default value is1.page_size, an positive integer lower or equal to 100 to select the number of items to return per page. The default value is20.
Paginated endpoints usually also accept filters to search and sort results. These filters are documented along each endpoint documentation.
Going further
For more help using the Marketplace API, check out the following resources:
Arch Linux), description, category and label. Note that the IDs returned by this endpoint are not the IDs required by the Instance API to specify the image to install on an Instance. You can, however, use the IDs provided by this endpoint as a filter with the Marketplace Local Images to find the right local image for your Instance, and its ID