{
  "openapi": "3.0.1",
  "info": {
    "title": "Satellite Imagery API: Archive Search, Tasking Prices, Orders",
    "description": "Satellite imagery API on your own SkyFi account: search archive images from 17 providers over a WKT or GeoJSON area with cloud cover, overlap and price per square km, price tasking options, check tasking feasibility and passes, and read your orders. Never places orders. Bring your own key.",
    "version": "0.1",
    "x-build-id": "d54bv7ZJCyTwZvz0d"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/nabeelbaghoor~satellite-imagery-tasking-archive-api/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-nabeelbaghoor-satellite-imagery-tasking-archive-api",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/nabeelbaghoor~satellite-imagery-tasking-archive-api/runs": {
      "post": {
        "operationId": "runs-sync-nabeelbaghoor-satellite-imagery-tasking-archive-api",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/nabeelbaghoor~satellite-imagery-tasking-archive-api/run-sync": {
      "post": {
        "operationId": "run-sync-nabeelbaghoor-satellite-imagery-tasking-archive-api",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "mode": {
            "title": "What to get",
            "enum": [
              "archiveSearch",
              "archiveDetails",
              "taskingProducts",
              "pricing",
              "feasibility",
              "providers",
              "listOrders",
              "orderDetails",
              "account"
            ],
            "type": "string",
            "description": "Archive search finds existing satellite and aerial images over your area with provider, capture time, cloud cover, overlap with your area and price. Archive image details reads chosen archive IDs. Tasking options and prices lists every product and provider that can capture new imagery, with the total price for your area. Tasking price list is the per square km price matrix. Tasking feasibility checks whether a new capture is possible in a time window and lists bookable passes. Providers lists who offers archive and tasking per product. Order list, Order details and Account read your own account. Nothing in any mode places an order or spends money.",
            "default": "archiveSearch"
          },
          "aoi": {
            "title": "Area of interest (WKT POLYGON or GeoJSON)",
            "type": "string",
            "description": "Archive search and Tasking feasibility need it; Tasking options and Tasking price list use it when set to price your area. One simple polygon in WGS84 longitude, latitude order, as WKT (POLYGON ((lon lat, lon lat, ...))) or as GeoJSON Polygon text. No holes, at most 500 vertices; archive searches at most 500,000 square km."
          },
          "startDate": {
            "title": "Start date",
            "type": "string",
            "description": "Archive search: first capture date. Tasking options and Tasking feasibility: window start. YYYY-MM-DD or a UTC date and time such as 2026-12-01T00:00:00Z. Feasibility defaults to now and must start within 14 days."
          },
          "endDate": {
            "title": "End date",
            "type": "string",
            "description": "Archive search: last capture date (a bare date includes the whole day). Tasking options and Tasking feasibility: window end. Feasibility defaults to 7 days after the start."
          },
          "productTypes": {
            "title": "Product types",
            "type": "array",
            "description": "Archive search and Tasking options filter by these; Tasking price list keeps only these; Tasking feasibility needs one and uses the first.",
            "items": {
              "type": "string",
              "enum": [
                "DAY",
                "NIGHT",
                "VIDEO",
                "MULTISPECTRAL",
                "HYPERSPECTRAL",
                "SAR",
                "STEREO",
                "BASEMAP",
                "THERMAL"
              ],
              "enumTitles": [
                "Day (optical)",
                "Night",
                "Video",
                "Multispectral",
                "Hyperspectral",
                "SAR (radar)",
                "Stereo",
                "Basemap",
                "Thermal"
              ]
            }
          },
          "resolutions": {
            "title": "Resolutions",
            "type": "array",
            "description": "Archive search filters by these; Tasking options and Tasking price list keep only these; Tasking feasibility needs one and uses the first. LOW covers free open data such as Sentinel-1 and Sentinel-2.",
            "items": {
              "type": "string",
              "enum": [
                "LOW",
                "MEDIUM",
                "HIGH",
                "VERY HIGH",
                "SUPER HIGH",
                "ULTRA HIGH",
                "CM 30",
                "CM 50",
                "SPOT",
                "SPOT FINE",
                "SLEA",
                "DWELL",
                "DWELL FINE",
                "STRIP",
                "SCAN"
              ],
              "enumTitles": [
                "Low (open data such as Sentinel)",
                "Medium",
                "High",
                "Very high",
                "Super high",
                "Ultra high",
                "30 cm",
                "50 cm",
                "SAR Spot",
                "SAR Spot fine",
                "SAR SLEA",
                "SAR Dwell",
                "SAR Dwell fine",
                "SAR Strip",
                "SAR Scan"
              ]
            }
          },
          "providers": {
            "title": "Providers",
            "type": "array",
            "description": "Archive search keeps images from these providers. Tasking options and Tasking feasibility take one provider and use the first.",
            "items": {
              "type": "string",
              "enum": [
                "SATELLOGIC",
                "UMBRA",
                "GEOSAT",
                "SENTINEL1_CREODIAS",
                "SENTINEL2",
                "SENTINEL2_CREODIAS",
                "PLANET",
                "IMPRO",
                "URBAN_SKY",
                "NSL",
                "VEXCEL",
                "VANTOR",
                "ICEYE_US",
                "SIIS",
                "SATVU",
                "BLACKSKY",
                "CONSTELLR"
              ],
              "enumTitles": [
                "Satellogic",
                "Umbra",
                "Geosat",
                "Sentinel-1 (Creodias)",
                "Sentinel-2",
                "Sentinel-2 (Creodias)",
                "Planet",
                "Impro",
                "Urban Sky",
                "NSL",
                "Vexcel",
                "Vantor",
                "ICEYE US",
                "SIIS",
                "SatVu",
                "BlackSky",
                "constellr"
              ]
            }
          },
          "maxCloudCoverPct": {
            "title": "Maximum cloud cover (%)",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Archive search and Tasking feasibility. Keep images or passes with at most this cloud cover."
          },
          "maxOffNadirAngle": {
            "title": "Maximum off-nadir angle",
            "minimum": 0,
            "maximum": 50,
            "type": "integer",
            "description": "Archive search only. Degrees, 0 to 50; lower means a more straight-down view."
          },
          "minOverlapPct": {
            "title": "Minimum overlap with your area (%)",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Archive search only. Keep images whose footprint covers at least this share of your area."
          },
          "openData": {
            "title": "Open data",
            "enum": [
              "any",
              "open",
              "commercial"
            ],
            "type": "string",
            "description": "Archive search only. Open data images (such as Sentinel) are free to order on SkyFi.",
            "default": "any"
          },
          "optionId": {
            "title": "Provider option ID",
            "type": "string",
            "description": "Tasking options and Tasking feasibility. A provider specific product option, such as SPOT for ICEYE US or ASSURED for Planet, as Tasking options returns it."
          },
          "pollTimeoutSeconds": {
            "title": "Wait for feasibility (seconds)",
            "minimum": 30,
            "maximum": 900,
            "type": "integer",
            "description": "Tasking feasibility only. SkyFi checks providers asynchronously; the run asks every 5 seconds for up to this long.",
            "default": 120
          },
          "archiveIds": {
            "title": "Archive IDs",
            "type": "array",
            "description": "Archive image details needs at least one. One archive ID per line, as Archive search returns it, up to 500.",
            "items": {
              "type": "string"
            }
          },
          "orderIds": {
            "title": "Order IDs",
            "type": "array",
            "description": "Order details needs at least one. One order ID per line, as Order list returns it, up to 500.",
            "items": {
              "type": "string"
            }
          },
          "orderType": {
            "title": "Order type",
            "enum": [
              "any",
              "ARCHIVE",
              "TASKING"
            ],
            "type": "string",
            "description": "Order list only.",
            "default": "any"
          },
          "orderSearch": {
            "title": "Order search text",
            "type": "string",
            "description": "Order list only. Case-insensitive text matched against labels, order ID, status, product type, resolution, provider, archive ID and location."
          },
          "myOrders": {
            "title": "Only my orders",
            "type": "boolean",
            "description": "Order list only. Leave out orders placed by other members of your organization.",
            "default": false
          },
          "sort": {
            "title": "Sort by creation date",
            "enum": [
              "desc",
              "asc"
            ],
            "type": "string",
            "description": "Order list only.",
            "default": "desc"
          },
          "maxResults": {
            "title": "Maximum results",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "The most rows this run returns and charges for. Paging stops here.",
            "default": 100
          },
          "apiKey": {
            "title": "API key",
            "type": "string",
            "description": "Your own SkyFi API key, created on your SkyFi profile page under API keys management. Stored as a secret, sent only to app.skyfi.com in the X-Skyfi-Api-Key header, and never logged. You can instead set the DATA_API_KEY environment secret."
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}