# Satellite Imagery Search API: Archive Scenes, Prices, Orders (`nabeelbaghoor/satellite-imagery-search-api`) Actor

Satellite imagery search API on your own SkyWatch EarthCache account: find archive scenes over a GeoJSON area with cloud cover, resolution, coverage and cost, quote archive or tasking prices, list imagery offerings and read your orders and their status. Never places orders. Bring your own key.

- **URL**: https://apify.com/nabeelbaghoor/satellite-imagery-search-api.md
- **Developed by:** [Nabeel Hassan](https://apify.com/nabeelbaghoor) (community)
- **Categories:** Developer tools, Integrations, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $10.00 / 1,000 archive scenes

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Satellite Imagery Search API: Archive Scenes, Prices, Orders

Find existing satellite scenes over any area, price archive or tasking imagery and track your orders from your own SkyWatch EarthCache account, as clean dataset rows ready for a GIS, analytics or procurement workflow.

Works with the official SkyWatch EarthCache REST API on api.skywatch.co/earthcache (API version 1.7), using the endpoints documented on docs.skywatch.com: Archive Search and Search Results, Calculate Price, the pipeline price and probability calculator, List Orders, Get Order Details, List All Interval Results, List and Discover Offerings, and List Locations.

**This actor never places an order.** It only searches, prices and reads. The order creating, updating and deleting routes are not in its client at all, so a run cannot spend money on your SkyWatch account. Output is metadata, prices and status, never imagery files.

Includes content sourced via SkyWatch. Every row carries that notice in its `attribution` field.

Bring your own API key, route-checked but not live-tested: every path, parameter and enum comes from SkyWatch's published OpenAPI document, and every route was checked with probes (documented paths answer 401 "API key is invalid or has been deactivated" to an invalid key, invented paths answer the gateway's 403 "Missing Authentication Token"), but the actor has not been run against a live EarthCache account.

### What it does

- **Archive search**: draw a GeoJSON Polygon, pick dates and resolution categories (low, medium, high, very high), and get every matching archive scene with source, product, resolution in metres, capture time, cloud cover, coverage of your area, off-nadir angle, area, minimum orderable area, price per square km, cost, scene footprint and preview and thumbnail links. Filter by minimum coverage and off-nadir angle, sort by date, cost, coverage or resolution.
- **Price quote**: price your area for each resolution category, for archive data or for tasking (future capture), with interval, minimum area, discounted price per square km, interval cost, maximum cost and your plan. Optionally adds the probability of collection for each tasking interval.
- **Order list**: every order (pipeline) already on your account with status, status reason, dates, resolution range, cloud cover limit, area, budget and maximum cost.
- **Order details**: the same for chosen order IDs, read one by one.
- **Order interval results**: per interval status, capture times, sources, cloud cover and filled area of your AOI, and cost, for all orders or chosen ones. Metadata only, no download links.
- **Imagery offerings**: the partner products available to your account (partner, product, resolution, bands, offering IDs and configurations), for archive or tasking, optionally only those that cover an area.
- **Saved locations**: the areas saved on your account, with IDs and names.
- **Pay only for results**: searches with no scenes, unknown order IDs and requests the provider refuses come back as a free row that says why.

### How to get an API key

Sign in to SkyWatch Hub, open your account settings and copy your API key. Paste it into the API key field, or set the DATA_API_KEY secret. The key is sent only to api.skywatch.co in the x-api-key header and is removed from every log line.

### Input

| Field | Modes | Description |
| --- | --- | --- |
| `mode` | all | `archiveSearch` (default), `priceQuote`, `listOrders`, `orderDetails`, `intervalResults`, `offerings` or `savedLocations` |
| `aoi` | archive search, price quote, offerings | One GeoJSON Polygon (WGS84, no holes, at most 500 vertices); a Feature or FeatureCollection holding one also works |
| `startDate`, `endDate` | archive search, price quote | YYYY-MM-DD. Archive search defaults to the last 90 days |
| `resolutions` | archive search, price quote | `low`, `medium`, `high`, `very_high`; default `low` |
| `minCoverage` | archive search | Minimum percentage of your area a scene must cover |
| `orderBy` | archive search | `date`, `-date`, `cost`, `-cost`, `coverage`, `-coverage`, `resolution`, `-resolution` |
| `offNadirMin`, `offNadirMax` | archive search | Off-nadir angle range in degrees, -90 to 90 |
| `pollTimeoutSeconds` | archive search | How long to wait for SkyWatch to prepare results (default 180) |
| `interval`, `tasking`, `source`, `includeProbability` | price quote | Days per interval (such as `30d`), tasking instead of archive, a source name, and probability of collection |
| `orderIds` | order details, interval results | One order (pipeline) ID per line, up to 500 |
| `sort` | order list, interval results, saved locations | `desc` (default) or `asc` by creation date |
| `offeringType`, `partnerName`, `productName` | offerings | Archive or tasking, and optional partner and product filters |
| `maxResults` | all | Row cap per run (default 100) |
| `apiKey` | all | Your EarthCache API key (secret) |

Example input:

```json
{
    "mode": "archiveSearch",
    "aoi": {
        "type": "Polygon",
        "coordinates": [[[-73.9595, 40.8032], [-73.9852, 40.7683], [-73.9715, 40.7619], [-73.9466, 40.7974], [-73.9595, 40.8032]]]
    },
    "startDate": "2026-06-01",
    "endDate": "2026-10-31",
    "resolutions": ["low", "high"],
    "minCoverage": 80,
    "orderBy": "-date",
    "maxResults": 50
}
```

### Example output

```json
{
    "mode": "archiveSearch",
    "recordType": "archiveScene",
    "found": true,
    "searchId": "c3d0f6a2-5e1b-4b8e-9f3c-1a2b3c4d5e6f",
    "resultId": "0a1b2c3d-4e5f-6789-abcd-ef0123456789",
    "source": "Sentinel-2",
    "productName": "S2MSI2A",
    "resolutionM": 10,
    "captureStart": "2026-10-14T15:46:29Z",
    "captureEnd": "2026-10-14T15:46:29Z",
    "cloudCoverPct": 3.2,
    "coveragePct": 100,
    "offNadirAngle": 0,
    "areaKm2": 6.1,
    "minimumAreaKm2": 1,
    "pricePerKm2": 0,
    "costUsd": 0,
    "previewUrl": "https://...",
    "thumbnailUrl": "https://...",
    "attribution": "Includes content sourced via SkyWatch",
    "note": null
}
```

A price quote row carries `resolutionCategory`, `plan`, `areaKm2`, `minimumAreaKm2`, `pricePerKm2`, `costUsd` (one interval), `maxCostUsd` and, for tasking with probability, `probabilityPct`. An order row carries `orderId`, `name`, `status`, `statusReason`, `intervalStart`, `intervalEnd`, `areaKm2` and `maxCostUsd`. The full provider breakdown is kept in `record`.

### FAQ

#### What is the SkyWatch EarthCache API?

SkyWatch EarthCache is a single API for buying satellite imagery from many providers (Sentinel-2, SPOT, Pleiades, SkySat, Maxar and others). It searches their archives over your area, prices archive and tasking requests, and delivers orders as pipelines. This actor covers the searching, pricing and order tracking parts.

#### Does this actor buy imagery?

No. It never creates, changes or deletes an order. Archive search creates a free search record on your account, and the price calculators only return a quote. To order, take the result ID and cost from this actor into SkyWatch Hub or your own order flow.

#### Do I need my own SkyWatch API key?

Yes. This is a bring-your-own-key actor: it calls EarthCache with your key, under your SkyWatch plan and agreement, which is how SkyWatch asks partner integrations to work. A missing or rejected key ends the run cleanly with a status message that explains what to change, and nothing is charged.

#### What area can I search?

One GeoJSON Polygon in WGS84 longitude, latitude order, with no holes and at most 500 vertices. MultiPolygons are refused before any request is made. Archive orders need more than 1 square km, so smaller areas show a minimum area in the results.

#### Why does a scene say "Upgrade your plan for price"?

On SkyWatch test plans, medium and high resolution results carry that text instead of a cost. The actor keeps the text in `note` and leaves `costUsd` empty.

#### How long does an archive search take?

SkyWatch prepares results asynchronously. The actor asks every 5 seconds until they are ready, for up to the wait time you set (default 180 seconds). If they are still not ready, a free row says so and you can run the search again.

#### What do I pay?

Pay per result: 0.01 USD per archive scene, price quote or order detail, and 0.005 USD per order list row, interval result, offering or saved location. Rows without data and refused requests are never charged. Your imagery purchases are billed separately by SkyWatch, and this actor makes none.

### Pricing

| Event | Price | Charged for |
| --- | --- | --- |
| `search-result` | 0.01 USD | Each archive scene an archive search returns |
| `price-quote` | 0.01 USD | Each price quote (one per resolution) |
| `order-detail` | 0.01 USD | Each order read by ID |
| `order-row` | 0.005 USD | Each order in the order list, or each interval result |
| `catalog-row` | 0.005 USD | Each imagery offering or saved location |

### Keyword map

satellite imagery API, satellite imagery search, satellite image archive search, earth observation API, EO data API, SkyWatch API, EarthCache API, Sentinel-2 search, SPOT imagery, Pleiades imagery, SkySat imagery, high resolution satellite imagery, very high resolution imagery, satellite imagery price, tasking quote, satellite tasking, probability of collection, cloud cover filter, GeoJSON AOI, satellite order status, geospatial data API, remote sensing data.

### Terms and data use

Use of the EarthCache API is governed by your SkyWatch agreement and the SkyWatch Terms of Service and End User License Agreement. The terms rule out sharing or reselling API credentials and using the service to build a competing product (Terms 5(c)(i)); the EULA (2.2) asks that content sourced through SkyWatch carry the notice "Includes content sourced via SkyWatch", which every row of this actor includes. This actor runs only under your own key and is meant for your own use of your own SkyWatch account.

# Actor input Schema

## `mode` (type: `string`):

Archive search finds existing satellite scenes over your area with cloud cover, resolution, coverage and cost. Price quote prices an area per resolution category for archive or tasking (future capture), optionally with the probability of collection. Order list, Order details and Order interval results read the orders already on your account and their status. Imagery offerings lists partner products and offering IDs. Saved locations lists the areas saved on your account. Nothing in any mode places an order or spends money.

## `aoi` (type: `object`):

Archive search and Price quote need it; Imagery offerings uses it when set to find offerings that cover the area. One GeoJSON Polygon in WGS84 longitude, latitude order, with no holes and at most 500 vertices. A Feature or FeatureCollection holding a Polygon also works (first feature only). Archive orders need more than 1 square km.

## `startDate` (type: `string`):

Archive search and Price quote. First capture date, YYYY-MM-DD. Archive search defaults to 90 days before the end date. Use past dates for archive and future dates for tasking.

## `endDate` (type: `string`):

Archive search and Price quote. Last capture date, YYYY-MM-DD. Archive search defaults to today.

## `resolutions` (type: `array`):

Archive search searches all chosen categories at once. Price quote returns one quote per category. Low covers free Sentinel-2 data.

## `minCoverage` (type: `integer`):

Archive search only. Keep scenes that cover at least this percentage of your area.

## `orderBy` (type: `string`):

Archive search only. Leave empty for the API's own order.

## `offNadirMin` (type: `integer`):

Archive search only. Degrees, -90 to 90. Set with the maximum to limit how obliquely a scene was captured.

## `offNadirMax` (type: `integer`):

Archive search only. Degrees, -90 to 90, for example 30 with a minimum of -30.

## `pollTimeoutSeconds` (type: `integer`):

Archive search only. SkyWatch prepares results asynchronously; the run asks every 5 seconds for up to this long.

## `interval` (type: `string`):

Price quote only. Days per collection interval, such as 30d (1 to 999 days). Leave empty for one interval over the whole date range.

## `tasking` (type: `boolean`):

Price quote only. Price a tasking (future capture) request instead of archive data.

## `includeProbability` (type: `boolean`):

Price quote with Tasking quote only. Adds the probability that each future interval will be collected, from the pipeline calculator. Still only a quote: nothing is ordered.

## `source` (type: `string`):

Price quote only. Optional source name to price, as Archive search returns it in the source column.

## `orderIds` (type: `array`):

Order details needs at least one. Order interval results reads only these orders when set, and every order otherwise. One order (pipeline) ID per line, as the Order list mode returns it, up to 500.

## `sort` (type: `string`):

Order list, Order interval results and Saved locations.

## `offeringType` (type: `string`):

Imagery offerings only. Archive (existing imagery) or tasking (future capture) offerings.

## `partnerName` (type: `string`):

Imagery offerings only. Keep offerings from this provider, for example Airbus or Planet.

## `productName` (type: `string`):

Imagery offerings only. Keep offerings of this product name.

## `maxResults` (type: `integer`):

The most rows this run returns and charges for. Paging stops here.

## `apiKey` (type: `string`):

Your own SkyWatch EarthCache API key, copied from your account settings in SkyWatch Hub. Stored as a secret, sent only to api.skywatch.co in the x-api-key header, and never logged. You can instead set the DATA_API_KEY environment secret.

## Actor input object example

```json
{
  "mode": "archiveSearch",
  "aoi": {
    "type": "Polygon",
    "coordinates": [
      [
        [
          -73.95950959050467,
          40.803232950312264
        ],
        [
          -73.98518739769608,
          40.768306075577726
        ],
        [
          -73.97154148035514,
          40.761912689996564
        ],
        [
          -73.94657494129676,
          40.79741232310445
        ],
        [
          -73.95950959050467,
          40.803232950312264
        ]
      ]
    ]
  },
  "resolutions": [
    "low"
  ],
  "pollTimeoutSeconds": 180,
  "tasking": false,
  "includeProbability": false,
  "sort": "desc",
  "offeringType": "archive",
  "maxResults": 100
}
```

# Actor output Schema

## `records` (type: `string`):

One row per scene, quote, order, interval result, offering or location.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "aoi": {
        "type": "Polygon",
        "coordinates": [
            [
                [
                    -73.95950959050467,
                    40.803232950312264
                ],
                [
                    -73.98518739769608,
                    40.768306075577726
                ],
                [
                    -73.97154148035514,
                    40.761912689996564
                ],
                [
                    -73.94657494129676,
                    40.79741232310445
                ],
                [
                    -73.95950959050467,
                    40.803232950312264
                ]
            ]
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("nabeelbaghoor/satellite-imagery-search-api").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "aoi": {
        "type": "Polygon",
        "coordinates": [[
                [
                    -73.95950959050467,
                    40.803232950312264,
                ],
                [
                    -73.98518739769608,
                    40.768306075577726,
                ],
                [
                    -73.97154148035514,
                    40.761912689996564,
                ],
                [
                    -73.94657494129676,
                    40.79741232310445,
                ],
                [
                    -73.95950959050467,
                    40.803232950312264,
                ],
            ]],
    } }

# Run the Actor and wait for it to finish
run = client.actor("nabeelbaghoor/satellite-imagery-search-api").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "aoi": {
    "type": "Polygon",
    "coordinates": [
      [
        [
          -73.95950959050467,
          40.803232950312264
        ],
        [
          -73.98518739769608,
          40.768306075577726
        ],
        [
          -73.97154148035514,
          40.761912689996564
        ],
        [
          -73.94657494129676,
          40.79741232310445
        ],
        [
          -73.95950959050467,
          40.803232950312264
        ]
      ]
    ]
  }
}' |
apify call nabeelbaghoor/satellite-imagery-search-api --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,nabeelbaghoor/satellite-imagery-search-api"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/ExBn3DFhoXis61RYd/builds/YjUVYLn8gHnb8XNMt/openapi.json
