Skip to main content

Intro to Ordering

Overview

The Ordering API lets you programmatically order imagery and analytics content. Your orders can then be downloaded, or the files can be delivered to the cloud storage location you specify.

To place an order, you need to know the "name" and "namespace" for the content type you're requesting. These parameters are included in the request URL. Content types have their own settings, which must be specified in the settings object of the order request.

Orderable content

Not all content is available to order through the Ordering API at this time. Refer to this table for orderable content.

ContentNamespaceNameDescription
Core ImageryimagerymultipleSatellite imagery.
Analysis-Ready Dataimageryanalysis-readyAnalysis-Ready COGs and accompanying metadata.
Precision3D Products3dmultipleDTM, DSM, buildings, and other 3D data.
Vivid Standard 30cmbasemapsvividstandard30Vivid Standard 30cm global mosaics.
Vivid Advanced 15cmbasemapsvividadvanced15Vivid Advanced 15cm basemaps.
CM-SAR (20 m)insightscm-sar-orderingChange detection based on a multi-temporal stack of Sentinel 1A/1B data.
Object Detection datainsightsobject-detectionObject detection bounding box vectors derived from an image.

Ordering API Requests

The following requests can be made to the Ordering API. The base path is api.maxar.com.

Note: The API interface uses the term pipeline to reference the process that creates and delivers the requested content. The output of the pipeline is the ordered content.

Request TypeMethodPathDescription
Place an OrderPOSTordering/v1/pipelines/{namespace}/{name}/orderPlace an order for imagery or analytics content by pipeline.
Validate OrderPOSTordering/v1/pipelines/{namespace}/{name}/validateVerify that the order passes validation checks before submission.
Get Order DetailsGETordering/v1/orders/{orderID}Get the details and status of an order request.
List User's OrdersGETordering/v1/orders/user/{id}List the orders placed by a user.
List Events for an OrderGETordering/v1/orders/{orderid}/eventsRetrieve a page listing of order events for a given order.
Cancel OrderPOSTordering/v1/orders/{orderid}/cancelCancels the order specified in the URL path. Orders cannot be canceled once the delivery process has started.
Estimate UsagePOSTordering/v1/pipelines/{namespace}/{name}/estimateGet a usage estimate for an order request before placing the order.
List Orders for UserGETordering/v1/pipelines/{namespace}/{name}List orders for a specific user.
List PipelinesGETordering/v1/pipelinesLists the available content pipelines.
Get PipelineGETordering/v1/pipelines/:namespace/:nameGet details for a specific content pipeline.

Construct an Order request

To make an order request, include the content type's namespace and name in the path, and submit a JSON request body.

Order Request Path:

POST https://api.maxar.com/ordering/v1/pipelines/{namespace}/{name}/order

Order Request body

The request body for an order includes the following sections:

NameTypeRequired?Description
settingsobjectrequiredThe settings object includes parameters specific to the type of content being ordered.
output_configsarrayrequiredThe delivery configuration for your cloud storage location. Amazon S3, Azure, and Google Cloud Storage are supported.
notificationsarrayoptional, but recommendedThe configuration for order notifications. Supported types are email, sns, and http.
metadataobjectoptionalSupplemental information to attach to the order. For example, add a project name or ID.

Review the responses for GET pipeline for available options for each object in available pipelines. Notifications is the same for each pipeline and options for this object are outlined below.

Settings

The settings object contains the relevant settings for product options. Each has different settings - see the Orderable content table for details.

Output configuration

Orders can be delivered in the following ways:

  • Download, as a zip or tar file
  • Send to an AWS Commercial S3 bucket
  • Send to an Azure Cloud Storage Container
  • Send to a Google Cloud Storage bucket
  • Send to the MGP Pro UI

It is possible to deliver to multiple locations. The output configuration is specified by the output_configs array in the order body. Include any of the following output objects in the array.

Example configuration with multiple outputs:

"output_configs": [
{
"type": "download",
"format": "zip"
},
{
"type": "amazon_s3",
"bucket" "your_bucket",
"prefix": "your/prefix"
}
]

See the Outputs guide for details on how to configure the different delivery outputs.

Notifications

Notifications can be configured to send messages to different outlets at different points during the order fulfillment process. These include:

  • Send an email to one or more addresses
  • Emit a message to an Amazon SNS topic
  • HTTP POST a JSON payload to a specified URL.

You can have multiple notification in a single order. Each notification can be configured with different levels of verbosity. For example, you can configure one notification to email only a "Success" or "Fail" message, while a second notification could send SNS notifications for each step of the ordering process from beginning to end.

Example notifications configuration:

"notifications": [
{
"type": "email",
"target": "user@example.com",
"level": "FINAL_ONLY"
}
]

For more details on notification options, see Ordering Notifications.

Metadata

The metadata object can hold optional key-value data. Use this section to store your own order metadata.

metadata": {
"project": "My Project",
"description": "New Imagery"
}

Order Example

This example shows a "view-ready" imagery order with overrides. See the Content Pipeline table for links to other examples.

Order Request Path:

POST https://api.maxar.com/ordering/v1/pipelines/imagery/view-ready/order

Order Request:

{
"settings": {
"aoi": {
"type": "Polygon",
"coordinates": [
[
[
-123.14830629447482,
49.272523954428266
],
[
-123.14830629447482,
49.24221441101426
],
[
-123.10082049428735,
49.24221441101426
],
[
-123.10082049428735,
49.272523954428266
],
[
-123.14830629447482,
49.272523954428266
]

]
],
},
"overrides": {
"product": {
"product_details": {
"compression": "DEFLATE",
"acomp": "acomp",
"file_format": "GeoTIFF",
"product_option": "4BandPanSharpen",
"output_bit_depth": 8,
"dynamic_range_adjustment": "auto",
"resampling_kernel": "CC",
"projection_datum_option": "Geographic_WGS84_DecimalDegree"
}
}
},
"customer_description": "LG01_250704",
"inventory_ids": [
"B110001101F96100"
]

},
"output_configs": [
{
"type": "download",
"format": "zip"
}
],
"notifications": [
{
"type": "email",
"target":"user@example.com",
"level": "INITIAL_FINAL"
}
],

"metadata": {
"project_name": "Name your project"
}
}