Skip to main content

Feeds and Subscriptions

List Subscriptions

https://api.planet.com/analytics/subscriptions

Returns all analytic subscriptions enabled for your API key. Each subscription defines the spatial area of interest (AOI), temporal window (start and end time), and the analytic feed to apply over that region and time period.

Example

curl "https://api.planet.com/analytics/subscriptions" \
-H "Authorization: api-key $PL_API_KEY"

Response Properties

Each subscription includes the following properties:

FieldDescriptionExample
createdUTC timestamp when the subscription was created2019-03-08T18:11:57.488Z
descriptionHuman-readable description of the subscriptionBuilding Detection in New Cairo
idUUID for the subscriptionf301b8c9-04e1-49f6-ab31-24a8c25edbd5
feedIDUUID for the feed1ce86055-cad0-4960-bdf3-32763c17f19b
startTimeStart of the subscription's temporal window2019-01-01T00:00:00.000Z
endTimeEnd of the subscription's temporal window (omitted if no end time is set)2019-01-31T00:00:00.000Z
geometryGeoJSON polygon defining the subscription's spatial extentSee example below
linksHATEOAS links to the subscription, results, feed, and subscriptions endpointSee example below
titleHuman-readable title of the subscriptionDemo_Subscription_Singapore
updatedUTC timestamp of the most recent update to subscription results2019-04-10T04:40:20.261Z

Geometry Example

{
"type": "Polygon",
"coordinates": [
[
[103.849296569824, 1.2513119542594],
[103.880882263184, 1.2513119542594],
[103.880882263184, 1.27293604010387],
[103.849296569824, 1.27293604010387],
[103.849296569824, 1.2513119542594]
]
]
}
[
{
"href": "https://api.planet.com/analytics/subscriptions/f301b8c9-04e1-49f6-ab31-24a8c25edbd5",
"rel": "self"
},
{
"href": "https://api.planet.com/analytics/collections/f301b8c9-04e1-49f6-ab31-24a8c25edbd5/items",
"rel": "results"
},
{
"href": "https://api.planet.com/analytics/feeds/e2ee4fca-e998-46fc-abe4-2ccaa7b7d285",
"rel": "feed"
},
{
"href": "https://api.planet.com/analytics/subscriptions",
"rel": "subscriptions"
}
]

List Feeds

https://api.planet.com/analytics/feeds

Returns all feeds enabled for your API key. Each feed defines the analytic model, source imagery type, and output format for a specific computer vision capability.

Example

curl "https://api.planet.com/analytics/feeds" \
-H "Authorization: api-key $PL_API_KEY"

Response Properties

Each feed includes the following properties:

FieldDescriptionExample
createdUTC timestamp when the feed was created2019-03-08T18:11:57.488Z
descriptionHuman-readable description of the feedShip detections from rectified PlanetScope imagery
idUUID for the feedf35f37ce-4ba9-4b0d-b7d7-b687834223c3
linksHATEOAS links to the feed and feeds collectionSee example below
sourceSource imagery configuration including bundle type, item types, and query filtersSee example below
targetOutput type: collection for vector feeds or mosaic with series_id for raster feedsSee example below
titleHuman-readable title of the feedShip Detections
updatedUTC timestamp of the most recent feed update2019-04-11T17:51:39.771Z
[
{
"href": "https://api.planet.com/analytics/feeds/f35f37ce-4ba9-4b0d-b7d7-b687834223c3",
"rel": "self"
},
{
"href": "https://api.planet.com/analytics/feeds",
"rel": "feeds"
}
]

Source Example

{
"config": {
"bundle": "visual",
"query": {
"filter": {
"config": ["true"],
"field_name": "ground_control",
"type": "StringInFilter"
},
"item_types": ["PSScene3Band"]
}
},
"type": "image"
}

Target Examples

Vector Output:

{
"type": "collection"
}

Raster Output:

{
"config": {
"series_id": "431b62a0-eaf9-45e7-acf1-d58278176d52"
},
"type": "mosaic"
}