{
  "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.0",
    "x-build-id": "KHjG4VyTklf3n7mFS"
  },
  "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": {
          "locales": {
            "title": "Site Locales",
            "type": "array",
            "description": "Which AviationJobSearch.com locale(s) to crawl. 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": "Job Categories",
            "type": "array",
            "description": "Limit the crawl to one or more of AviationJobSearch.com's own 7 job categories (confirmed live from the site's category navigation, not guessed). Leave empty to crawl all 7. Generic ATS/job-board scrapers on Apify have no concept of this site's real taxonomy, so this filter is a genuine gap they cannot replicate.",
            "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 scraped job's title and description. This is not a live site search: AviationJobSearch.com's own keyword search box submits to an internal API endpoint that the site's robots.txt disallows, so the Actor never calls it. Instead it fetches the allowed listing and job-detail pages first, then filters those results by this keyword in-actor. 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 locales and categories combined. Every job requires a detail-page fetch (the listing pages only carry a job's title and URL, not location, employment type, dates, or description), so this number directly bounds run time and cost. 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 UK (en-GB) requests. Datacenter proxy (the default) is sufficient since the site's own anti-bot layer only requires a standard cookie handshake, not IP quality. US (en-US) requests always use a separate, internally forced Apify Proxy US country selection regardless of what is configured here, because the 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}