Analytics API Reference
Planet Analytics (v1)
Download OpenAPI specification:Download
Planet Analytics leverages computer vision to transform our imagery into analytic feeds that detect and classify objects, identify geographic features, and monitor change over time across the globe.
The Analytics API provides operations for working with feeds, subscriptions, and collections of results.
A feed represents an analytic derived from Planet imagery. For example, a roads feed represents roads detected on monthly Planet mosaics and a vessels feed represents ships detected on daily Planet imagery.
List feeds
Get a list of available feeds. Feeds are returned in descending creation order (most recently created first).
Authorizations:
query Parameters
before | string When paginating, provide the identifier for last feed on previous page. |
limit | integer <uint64> [ 1 .. 10000 ] Default: 250 Upper limit for the number of feeds returned. |
Responses
Response samples
- 200
- default
{- "data": [
- {
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "id": "string",
- "links": [
- {
- "href": "string",
- "rel": "next",
- "title": "Title of the Document",
- "type": "application/json"
}
], - "source": [
- {
- "config": {
- "property1": { },
- "property2": { }
}, - "name": "string",
- "type": "image"
}
], - "target": {
- "config": {
- "property1": { },
- "property2": { }
}, - "type": "collection"
}, - "title": "string",
- "updated": "2019-08-24T14:15:22Z"
}
], - "links": [
- {
- "href": "string",
- "rel": "next",
- "title": "Title of the Document",
- "type": "application/json"
}
], - "more": true
}
Get feed
Get details for a feed.
Authorizations:
path Parameters
id required | string Feed ID. |
Responses
Response samples
- 200
- 404
- default
{- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "id": "string",
- "links": [
- {
- "href": "string",
- "rel": "next",
- "title": "Title of the Document",
- "type": "application/json"
}
], - "source": [
- {
- "config": {
- "property1": { },
- "property2": { }
}, - "name": "string",
- "type": "image"
}
], - "target": {
- "config": {
- "property1": { },
- "property2": { }
}, - "type": "collection"
}, - "title": "string",
- "updated": "2019-08-24T14:15:22Z"
}
Users have subscriptions to feeds in a specific area of interest (AOI) and time interval of interest (TOI). For example, a subscription could be road detection over twelve months in San Francisco, California.
List subscriptions
Get a list of all subscriptions. Subscriptions are returned in descending creation order (most recently created first).
Authorizations:
query Parameters
feedID | string |
before | string When paginating, provide the identifier for last subscription on previous page. |
limit | integer <uint64> [ 1 .. 10000 ] Default: 250 Upper limit for the number of subscriptions returned. |
Responses
Response samples
- 200
- default
{- "data": [
- {
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "endTime": "2019-08-24T14:15:22Z",
- "feedID": "string",
- "geometry": {
- "type": "string"
}, - "id": "string",
- "links": [
- {
- "href": "string",
- "rel": "next",
- "title": "Title of the Document",
- "type": "application/json"
}
], - "sourceUpdated": "2019-08-24T14:15:22Z",
- "startTime": "2019-08-24T14:15:22Z",
- "title": "string",
- "updated": "2019-08-24T14:15:22Z"
}
], - "links": [
- {
- "href": "string",
- "rel": "next",
- "title": "Title of the Document",
- "type": "application/json"
}
], - "more": true
}
Get subscription
Get subscription info.
Authorizations:
path Parameters
id required | string Subscription ID. |
Responses
Response samples
- 200
- 404
- default
{- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "endTime": "2019-08-24T14:15:22Z",
- "feedID": "string",
- "geometry": {
- "type": "string"
}, - "id": "string",
- "links": [
- {
- "href": "string",
- "rel": "next",
- "title": "Title of the Document",
- "type": "application/json"
}
], - "sourceUpdated": "2019-08-24T14:15:22Z",
- "startTime": "2019-08-24T14:15:22Z",
- "title": "string",
- "updated": "2019-08-24T14:15:22Z"
}
When new imagery is published in a user's subscription, Planet’s computer vision operations process the imagery, and its output is added to the collection of results associated with the subscription. For example, if a user has a subscription for the vessel feed, newly published daily imagery within that subscription AOI will be processed and new ship detections will be added to the subscription results. For raster-based output like building detections, results representing the footprint and linking to the raster data are added to the collection of subscription results.
Get collection
Get metadata for a single results collection.
Authorizations:
path Parameters
id required | string Subscription ID. |
Responses
Response samples
- 200
- 404
- default
{- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "extent": {
- "spatial": {
- "bbox": [
- "[-180, -90, 180, 90]"
]
}, - "temporal": {
- "interval": [
- "[\"2019-01-01T00:00:00.00Z\", \"2019-02-01T00:00:00.00Z\"]"
]
}
}, - "id": "string",
- "links": [
- {
- "href": "string",
- "rel": "next",
- "title": "Title of the Document",
- "type": "application/json"
}
], - "title": "string"
}
List results
Paginate through results for a subscription. Results are returned in
descending creation order. Result IDs act as cursors when paginating
backwards or forwards. To get older pages of results, use the before
query parameter with the id of the oldest (last) result in a page of
results. When returning to the API to query for newly created results,
use the after
query parameter with the id of the newest (first) result
in a page. Results have a created
field that can be stored and used
later for sorting to determine the oldest or newest result from a
previous query.
Authorizations:
path Parameters
subscriptionID required | string Subscription ID. |
query Parameters
limit | integer <uint64> [ 1 .. 10000 ] Default: 250 Upper limit for the number of results returned. |
bbox | Array of numbers = 4 items Only return results that intersect the provided bounding box.
Bounding box values are min longitude, min latitude, max longitude,
and max latitude (e.g. |
time | string Alias for |
datetime | string Only return results that were observed in the given interval or instant.
The time can be a closed interval (e.g. |
before | string Get results published before the item with the provided ID. |
after | string Get results published after the item with the provided ID. |
Responses
Response samples
- 200
- 404
- default
{- "features": [
- {
- "created": "2019-08-24T14:15:22Z",
- "geometry": {
- "type": "string"
}, - "id": "string",
- "links": [
- {
- "href": "string",
- "rel": "next",
- "title": "Title of the Document",
- "type": "application/json"
}
], - "properties": {
- "property1": { },
- "property2": { }
}, - "type": "Feature"
}
], - "links": [
- {
- "href": "string",
- "rel": "next",
- "title": "Title of the Document",
- "type": "application/json"
}
], - "type": "FeatureCollection"
}
Get result
Get a single result.
Authorizations:
path Parameters
subscriptionID required | string Subscription ID. |
resultID required | string Result ID. |
Responses
Response samples
- 200
- 404
- default
{- "created": "2019-08-24T14:15:22Z",
- "geometry": {
- "type": "string"
}, - "id": "string",
- "links": [
- {
- "href": "string",
- "rel": "next",
- "title": "Title of the Document",
- "type": "application/json"
}
], - "properties": {
- "property1": { },
- "property2": { }
}, - "type": "Feature"
}