Search STAC items with filtering.
GET/search
Retrieve items matching filters.
For authorization this method requires the use of a valid bearer token.
The GET /search operation supports the same search filter parameters as POST /search.
Request
Query Parameters
- cloud-cover
- angles
- cloud-cover
- angles
- order-id
- order-id-desc
- datetime
- datetime-desc
- order-id
- order-id-desc
- datetime
- datetime-desc
Return area-based calculations in search results.
Bounding box in format "west,south,east,north" in WGS84 decimal degrees. When performing a spatial search specify either of the parameters "bbox" of "intesects", but not both.
Date range filter in format "start-date/end-date" or "exact-datetime"
Comma-separated list of STAC item IDs to return. The items returned are still subject to whatever other search filters are specified.
Comma-separated list of collections to search in. If this parameter is not specified then items in all collections are searched.
GeoJSON geometry to search by. Only STAC items whose geometries intersect this geometry are selected. When performing a spatial search specify either of the parameters "bbox" of "intesects", but not both.
A cql2-text filter expression for filtering items. You can filter on any property inside a STAC item's "properties" object.
While STAC items have a "datetime" property you should use the search operation's "datetime" parameter for searching by it, and not use the "filter" parameter for searching by datetime.
Example: eo:cloud_cover < 20
Example: eo:off_nadir < 10 and eo:sun_azimuth < 50
(Deprecated in favor of filter) SQL-style WHERE clause for filtering STAC items by properties. You can filter on any property inside a STAC item's "properties" object.
While STAC items have a "datetime" property you should use the search operation's "datetime" parameter for searching by it, and not use the "where" parameter for searching by datetime.
Example: eo:cloud_cover < 20
Example: eo:off_nadir < 10 and eo:sun_azimuth < 50
An array of property names, prefixed by either "+" for ascending or "-" for descending.
If no prefix is provided, "+" is assumed.
Currently only two properties are supported: datetime
and id
.
Example: id
Example: -id
Example: datetime
Example: -datetime
(Deprecated in favor of sortby) SQL-style ORDER BY clause. The only properties results can be ordered by are "id" and "datetime". You can use ASC and DESC modifiers on each column. If not specified then orderby defaults to "datetime DESC, id ASC".
Example: id
Example: id DESC
Example: datetime
Example: datetime DESC
Maximum number of items to return
Page number to retrieve. First page is numbered 1.
Responses
- 200
- 400
- 500
A GeoJSON feature collection.
Response Headers
X-Maxar-RequestId any
- application/geo+json
- Schema
- Example (from schema)
Schema
- Array [
-
Lower left corner, coordinate axis 1
-
Lower left corner, coordinate axis 2
-
Lower left corner, coordinate axis 3 (optional)
-
Upper right corner, coordinate axis 1
-
Upper right corner, coordinate axis 2
-
Upper right corner, coordinate axis 3 (optional)
- Array [
- ]
- ]
- Array [
- ]
Possible values: [FeatureCollection
]
features object[]required
Provider identifier, a unique ID, potentially a link to a file.
Collection ID
Possible values: >= 4
, <= 6
Only features that have a geometry that intersects the bounding box are selected. The bounding box is provided as four or six numbers, depending on whether the coordinate reference system includes a vertical axis (elevation or depth):
The coordinate reference system of the values is WGS84
longitude/latitude (http://www.opengis.net/def/crs/OGC/1.3/CRS84) unless
a different coordinate reference system is specified in the parameter
bbox-crs
.
For WGS84 longitude/latitude the values are in most cases the sequence of minimum longitude, minimum latitude, maximum longitude and maximum latitude. However, in cases where the box spans the antimeridian the first value (west-most box edge) is larger than the third value (east-most box edge).
If a feature has multiple spatial geometry properties, it is the decision of the server whether only a single spatial geometry property is used to determine the extent or all relevant geometries.
Possible values: [Feature
]
The GeoJSON type
provides the core metatdata fields plus extensions
links object[]required
assets objectrequired
property name* object
Link to the asset object
Displayed title
Multi-line description to explain the asset.
CommonMark 0.29 syntax MAY be used for rich text representation.
Media type of the asset
Purposes of the asset
links object[]
An array of links. Can be used for pagination, e.g. by providing a link
with the next
relation type.
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"id": "10200100CD65C900",
"bbox": [
-122.59750209,
37.48803556,
-122.2880486,
37.613537207
],
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
-122.308150179,
37.488035566
],
[
-122.597502109,
37.538869539
],
[
-122.576687533,
37.613537207
],
[
-122.2880486,
37.562818007
],
[
-122.308150179,
37.488035566
]
]
]
},
"properties": {
"gsd": 0.70847652,
"title": "Maxar WV01 Image 10200100CD65C900",
"datetime": "2022-09-30T19:27:07.569580Z",
"eo:bands": [
{
"name": "pan",
"center_wavelength": 650
}
],
"platform": "worldview-01",
"utc_hour": 19,
"local_hour": 8,
"instruments": [
"VNIR"
],
"associations": [],
"view:azimuth": 77.8851048,
"constellation": "maxar",
"off_nadir_avg": 32.1423701,
"off_nadir_end": 31.939653,
"off_nadir_max": 32.815987,
"off_nadir_min": 31.878456,
"rda_available": false,
"utc_month_day": "09-30",
"eo:cloud_cover": 37.472223474246455,
"scan_direction": "reverse",
"view:off_nadir": 32.1423701,
"local_month_day": "09-30",
"off_nadir_start": 32.815987,
"timezone_offset": -11,
"utc_time_of_day": "19:27:07",
"collect_time_end": "2022-09-30T19:27:15.001539Z",
"view:sun_azimuth": 45.0388494,
"local_time_of_day": "08:27:07",
"raw_archive_state": "offline",
"collect_time_start": "2022-09-30T19:27:07.569580Z",
"pan_resolution_avg": 0.70847652,
"pan_resolution_end": 0.704641,
"pan_resolution_max": 0.719176,
"pan_resolution_min": 0.70415276,
"view:sun_elevation": 9.10450385,
"multi_resolution_avg": null,
"multi_resolution_end": null,
"multi_resolution_max": null,
"multi_resolution_min": null,
"pan_resolution_start": 0.719176,
"acquisition_rev_number": 83652,
"multi_resolution_start": null,
"view:sun_elevation_max": 9.486625,
"view:sun_elevation_min": 8.735128,
"geolocation_uncertainty": 10.013249,
"stereo_pair_identifiers": [
"2ef9201b-7039-4c52-a0c8-4c6a594d6795-inv"
],
"local_time_of_day_with_timezone": "08:27:07-1100",
"spacecraft_to_target_azimuth_avg": 77.8851048,
"spacecraft_to_target_azimuth_end": 89.04592,
"spacecraft_to_target_azimuth_max": 89.04592,
"spacecraft_to_target_azimuth_min": 66.60075,
"target_to_spacecraft_azimuth_avg": 257.8851058959961,
"target_to_spacecraft_azimuth_end": 269.0459213256836,
"target_to_spacecraft_azimuth_max": 269.0459213256836,
"target_to_spacecraft_azimuth_min": 246.6007537841797,
"spacecraft_to_target_azimuth_start": 66.60075,
"target_to_spacecraft_azimuth_start": 246.6007537841797,
"target_to_spacecraft_elevation_avg": 55.01233546899409,
"target_to_spacecraft_elevation_end": 55.23821159204362,
"target_to_spacecraft_elevation_max": 55.30633629679541,
"target_to_spacecraft_elevation_min": 54.261465144620146,
"target_to_spacecraft_elevation_start": 54.261465144620146
},
"links": [
{
"rel": "collection",
"href": "https://api.maxar.com/discovery/v1/collections/wv01",
"type": "application/json"
},
{
"rel": "root",
"href": "https://api.maxar.com/discovery/v1/collections/dg-archive",
"type": "application/json"
},
{
"rel": "self",
"href": "https://api.maxar.com/discovery/v1/collections/wv01/items/10200100CD65C900,",
"type": "application/geo+json"
}
],
"assets": {
"browse": {
"href": "https://api.maxar.com/discovery/v1/collections/wv01/items/10200100CD65C900/assets/collections/dg-archive/assets/browse/10200100CD65C900.browse.tif",
"type": "image/tiff; application=geotiff",
"title": "Browse Image"
},
"cloud-cover": {
"href": "https://api.maxar.com/discovery/v1/collections/wv01/items/10200100CD65C900/assets/collections/wv01/assets/cloud-cover/10200100CD65C900.cloud.json",
"type": "application/geo+json",
"title": "Cloud Cover"
},
"sample-point-set": {
"href": "https://api.maxar.com/discovery/v1/collections/wv01/items/10200100CD65C900/assets/collections/wv01/assets/sample-point-sets/10200100CD65C900.sample-points.json",
"type": "application/geo+json",
"title": "Sample Point Set"
}
}
}
],
"links": [
{
"rel": "next",
"href": "https://api.maxar.com/discovery/v1/search?orderby=id&page=3&limit=10"
}
]
}
The request could not be handled because of invalid query parameters.
Response Headers
X-Maxar-RequestId any
- application/json
- Schema
- Example (from schema)
Schema
UUID of web request
{
"message": "string",
"request_id": "string"
}
The request could not be handled by the server.
Response Headers
X-Maxar-RequestId any
- application/json
- Schema
- Example (from schema)
Schema
UUID of web request
{
"message": "string",
"request_id": "string"
}