{
  "openapi": "3.0.1",
  "info": {
    "title": "Aviation Job Search Scraper: Pilot, Crew & Engineer Jobs UK/US",
    "description": "Scrape live pilot, cabin crew, ground crew, and engineering job listings from AviationJobSearch.com's UK and US boards. Get structured JobPosting data per listing: title, employer, location, type, dates, category, and apply URL. Filter by the site's own 7-category taxonomy. $1.30 per 1,000 jobs.",
    "version": "0.3",
    "x-build-id": "ZipK4WzNWhBEdqFvd"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/getascraper~aviation-job-search-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-getascraper-aviation-job-search-scraper",
        "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/getascraper~aviation-job-search-scraper/runs": {
      "post": {
        "operationId": "runs-sync-getascraper-aviation-job-search-scraper",
        "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/getascraper~aviation-job-search-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-getascraper-aviation-job-search-scraper",
        "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": {
          "sources": {
            "title": "Job Sources",
            "type": "array",
            "description": "Which aviation job boards to read. AviationJobSearch.com is the main source; Flight Global Jobs and Avjobs.com are included so a run still returns jobs when one board is down. Sources are filled in the order listed: later boards top up the result when earlier ones return fewer jobs than Max Jobs. Every row has a `source` field. Leave all three selected unless you only want one board.",
            "items": {
              "type": "string",
              "enum": [
                "aviationjobsearch",
                "flightglobal",
                "avjobs"
              ],
              "enumTitles": [
                "AviationJobSearch.com (UK and US)",
                "Flight Global Jobs (jobs.flightglobal.com)",
                "Avjobs.com (latest 50 jobs)"
              ]
            },
            "default": [
              "aviationjobsearch",
              "flightglobal",
              "avjobs"
            ]
          },
          "locales": {
            "title": "AviationJobSearch.com Locales",
            "type": "array",
            "description": "Which AviationJobSearch.com locale(s) to read (applies to that source only). UK (en-GB) needs no special proxy. US (en-US) requires a US proxy country: the site redirects en-US back to en-GB whenever the request's IP is not US-located, so the Actor automatically forces an Apify Proxy US country selection for any US request regardless of your proxy configuration below.",
            "items": {
              "type": "string",
              "enum": [
                "en-GB",
                "en-US"
              ],
              "enumTitles": [
                "UK (en-GB)",
                "US (en-US)"
              ]
            },
            "default": [
              "en-GB"
            ]
          },
          "categories": {
            "title": "AviationJobSearch.com Categories",
            "type": "array",
            "description": "Limit AviationJobSearch.com to one or more of its own 7 job categories (applies to that source only; the other boards have no matching category filter). Leave empty to read all 7.",
            "items": {
              "type": "string",
              "enum": [
                "aerospace-engineers",
                "aircraft-maintenance-engineers",
                "cabin-crew",
                "ground-crew",
                "mechanics",
                "pilots",
                "technicians"
              ],
              "enumTitles": [
                "Aerospace Engineers",
                "Aircraft Maintenance Engineers",
                "Cabin Crew",
                "Ground Crew",
                "Mechanics",
                "Pilots",
                "Technicians"
              ]
            },
            "default": []
          },
          "keyword": {
            "title": "Keyword Filter",
            "type": "string",
            "description": "Optional free-text filter matched locally against each job's title and description (or the board's short summary where that is all it publishes). It is not a live site search. Leave blank to keep every job found within your scope and limits.",
            "default": ""
          },
          "employmentType": {
            "title": "Employment Type",
            "type": "array",
            "description": "Only keep jobs posted as one of these employment types, read from the site's own structured data on each job (confirmed live values include Full-Time and Contractor; other schema.org job types are offered as suggestions in case the site publishes one later). You can also type a value not listed.",
            "items": {
              "type": "string",
              "enum": [
                "FULL_TIME",
                "PART_TIME",
                "CONTRACTOR",
                "TEMPORARY",
                "INTERN",
                "VOLUNTEER",
                "PER_DIEM",
                "OTHER"
              ],
              "enumTitles": [
                "Full-Time",
                "Part-Time",
                "Contractor",
                "Temporary",
                "Intern",
                "Volunteer",
                "Per Diem",
                "Other"
              ]
            },
            "default": []
          },
          "location": {
            "title": "Location Filter",
            "type": "string",
            "description": "Only keep jobs whose location text contains this, for example \"Heathrow\", \"Malta\", or \"United Kingdom\" (case-insensitive, partial match). AviationJobSearch.com's own location data is inconsistent about which field carries a city, region, or country for a given job, so this checks all of them together rather than asking you to pick which one to search.",
            "default": ""
          },
          "postedWithinDays": {
            "title": "Posted Within (Days)",
            "minimum": 1,
            "maximum": 365,
            "type": "integer",
            "description": "Only keep jobs posted within this many days, based on the site's own published posting date. Leave blank to keep jobs regardless of how old the listing is."
          },
          "maxItems": {
            "title": "Max Jobs",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "Maximum number of job listings to return across all selected sources combined. Keep it modest; raise it only once you know the run duration you're comfortable with.",
            "default": 25
          },
          "proxyConfiguration": {
            "title": "Proxy Configuration",
            "type": "object",
            "description": "Apify Proxy configuration for the job boards. Datacenter proxy (the default) is sufficient. AviationJobSearch.com US (en-US) requests always use a separate, internally forced Apify Proxy US country selection regardless of what is configured here, because that site's locale redirect is IP-geolocation based.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}