{
  "openapi": "3.0.1",
  "info": {
    "title": "MyJobMag Scraper",
    "description": "Scrape live job listings from MyJobMag.com, a leading Nigerian job board. Search by keyword, or browse by field, industry, state, region, employment type, education level, or recency - plus fetch full job details from listing URLs.",
    "version": "1.0",
    "x-build-id": "Z05gTJD1VKv1TTFSs"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/crawlerbros~myjobmag-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-crawlerbros-myjobmag-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/crawlerbros~myjobmag-scraper/runs": {
      "post": {
        "operationId": "runs-sync-crawlerbros-myjobmag-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/crawlerbros~myjobmag-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-crawlerbros-myjobmag-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",
        "required": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "search",
              "byField",
              "byIndustry",
              "byLocation",
              "byRegion",
              "byType",
              "byDate",
              "byEducation",
              "byCity",
              "byCompany",
              "byTitle",
              "byFeatured",
              "byUrls"
            ],
            "type": "string",
            "description": "What to fetch / which browse axis to use.",
            "default": "search"
          },
          "searchQuery": {
            "title": "Search query (mode=search)",
            "type": "string",
            "description": "Free-text keyword — job title, skill, or company name.",
            "default": "accountant"
          },
          "field": {
            "title": "Field / job function (mode=byField)",
            "enum": [
              "",
              "administration",
              "agriculture",
              "art",
              "aviation",
              "banking",
              "bursary-scholarships",
              "caregiver-nanny-social-workers",
              "catering",
              "building-and-construction",
              "consultancy",
              "content-editorial",
              "customer-care",
              "research-data-analysis",
              "travel-and-logistics",
              "education",
              "engineering",
              "safety-and-environment-hse",
              "accounting-audit",
              "hospitality",
              "general",
              "graduate-jobs",
              "human-resources",
              "information-technology",
              "insurance",
              "internships-volunteering",
              "janitorial-services",
              "legal",
              "logistics",
              "manufacturing",
              "marketing-communication",
              "media",
              "medical",
              "ngo",
              "oil-refining-and-marketing",
              "pharmaceutical",
              "procurement-store-keeping",
              "product-management",
              "project-management",
              "real-estate",
              "research",
              "rfp-rfq-eoi",
              "risk-compliance",
              "sales-marketing",
              "science",
              "security",
              "maritime",
              "sports-personal-care",
              "strategic-top-management",
              "travels-amp-tours",
              "ux-design-architecture",
              "volunteer"
            ],
            "type": "string",
            "description": "Filter to a job field / function (mode=byField).",
            "default": ""
          },
          "industry": {
            "title": "Industry (mode=byIndustry)",
            "enum": [
              "",
              "advertising-branding",
              "agriculture",
              "aviation",
              "banking-financial-services",
              "blockchain",
              "building-construction",
              "consulting",
              "creative",
              "education",
              "engineering",
              "food-services",
              "general",
              "government",
              "medical",
              "hospitality",
              "ict-telecommunications",
              "insurance",
              "internet-e-commerce",
              "janitorial-services",
              "legal",
              "logistics-and-transportation",
              "manufacturing",
              "marine-shipping",
              "broadcasting",
              "sales-marketing",
              "ngo",
              "oil-and-gas",
              "online-sales-marketing",
              "pharmaceuticals",
              "power-energy",
              "professional-social-associations",
              "raffle",
              "real-estate",
              "religious",
              "research",
              "science",
              "security",
              "travel-and-tours"
            ],
            "type": "string",
            "description": "Filter to an industry (mode=byIndustry).",
            "default": ""
          },
          "location": {
            "title": "State (mode=byLocation)",
            "enum": [
              "",
              "abia",
              "abuja",
              "adamawa",
              "akwa-ibom",
              "anambra",
              "bauchi",
              "bayelsa",
              "benue",
              "borno",
              "cross-river",
              "delta",
              "ebonyi",
              "edo",
              "ekiti",
              "enugu",
              "gombe",
              "imo",
              "jigawa",
              "kaduna",
              "kano",
              "katsina",
              "kebbi",
              "kogi",
              "kwara",
              "lagos",
              "nasarawa",
              "niger",
              "ogun",
              "ondo",
              "osun",
              "other",
              "oyo",
              "plateau",
              "rivers",
              "sokoto",
              "taraba",
              "yobe",
              "zamfara"
            ],
            "type": "string",
            "description": "Filter to a Nigerian state (mode=byLocation).",
            "default": ""
          },
          "region": {
            "title": "Geopolitical region (mode=byRegion)",
            "enum": [
              "",
              "north-central",
              "north-east",
              "north-west",
              "south-east",
              "south-south",
              "south-west"
            ],
            "type": "string",
            "description": "Filter to a geopolitical region (mode=byRegion).",
            "default": ""
          },
          "employmentType": {
            "title": "Employment type (mode=byType)",
            "enum": [
              "",
              "full-time",
              "part-time",
              "contract",
              "hybrid",
              "onsite",
              "remote",
              "expatriate"
            ],
            "type": "string",
            "description": "Filter to an employment type (mode=byType).",
            "default": ""
          },
          "datePeriod": {
            "title": "Date posted (mode=byDate)",
            "enum": [
              "",
              "today",
              "yesterday",
              "this-week",
              "last-week",
              "this-month",
              "last-month"
            ],
            "type": "string",
            "description": "Filter to a recency window (mode=byDate).",
            "default": ""
          },
          "educationLevel": {
            "title": "Education level (mode=byEducation)",
            "enum": [
              "",
              "bsc",
              "fslc",
              "msc",
              "nce",
              "ond",
              "others",
              "phd",
              "professional",
              "ssce",
              "vocation"
            ],
            "type": "string",
            "description": "Filter to an education level (mode=byEducation).",
            "default": ""
          },
          "city": {
            "title": "City (mode=byCity)",
            "enum": [
              "",
              "aba",
              "abeokuta",
              "abule",
              "adeniyi-jones",
              "agbara",
              "agege",
              "agidingbi",
              "aguda",
              "ajah",
              "akerele",
              "akoka",
              "alaba",
              "alagomeji",
              "alausa",
              "alimosho",
              "amuwo-odofin",
              "anthony-village",
              "apapa",
              "asaba",
              "asokoro",
              "awka",
              "badagry",
              "bariga",
              "benin",
              "calabar",
              "coker",
              "dolphin-estate",
              "dopemu",
              "dutse",
              "ebute-metta",
              "epe",
              "eti-osa",
              "festac-town",
              "garki",
              "gbagada",
              "gwagwalada",
              "gwarinpa",
              "ibadan",
              "idumota",
              "ifako-ijaiye",
              "ijesha",
              "ijora",
              "ikeja",
              "ikorodu",
              "ikoyi",
              "ilasamaja",
              "ilorin",
              "ilupeju",
              "iwaya",
              "iyana-ipaja",
              "jabi",
              "jibowu",
              "ketu",
              "kosofe",
              "ladipo",
              "lagos-island",
              "lawanson",
              "lekki",
              "maiduguri",
              "maitama",
              "makurdi",
              "marina",
              "maryland",
              "masha",
              "mende",
              "mile-2",
              "mushin",
              "nyanya",
              "obalende",
              "obanikoro",
              "ogba",
              "ogudu",
              "ojo",
              "ojodu",
              "ojodu-berger",
              "ojota",
              "ojuelegba",
              "olodi",
              "onigbongbo",
              "onipanu",
              "oniru",
              "onitsha",
              "opebi",
              "oregun",
              "oshodi-isolo",
              "otukpo",
              "owerri",
              "palmgrove",
              "papa-ajao",
              "portharcourt",
              "sabo",
              "sagamu",
              "satellite-town",
              "shomolu",
              "surulere",
              "takwa-bay",
              "tinubu-square",
              "uyo",
              "victoria-garden-city",
              "victoria-island"
            ],
            "type": "string",
            "description": "Filter to a Nigerian city (more granular than State) (mode=byCity).",
            "default": ""
          },
          "companySlug": {
            "title": "Company slug (mode=byCompany)",
            "type": "string",
            "description": "Employer/company slug or name to browse all of its live job listings (mode=byCompany), e.g. `rainoil-oil-and-gas-company` or `PZ Cussons` (auto-slugified). Find slugs on https://www.myjobmag.com/companies or from any job's `jobs-at/<slug>` link."
          },
          "jobTitle": {
            "title": "Job title (mode=byTitle)",
            "type": "string",
            "description": "Job title slug or free-text title to browse MyJobMag's title-matched listings (mode=byTitle), e.g. `accountant`, `web-developer`, `Front Desk Officer` (auto-slugified). Distinct from `searchQuery`: this matches against the job title only, not the broader full-text search index."
          },
          "containsKeyword": {
            "title": "Must contain keyword",
            "type": "string",
            "description": "Case-insensitive substring filter applied to title, company name, and description. Works with every mode."
          },
          "listingUrls": {
            "title": "Listing URLs (mode=byUrls)",
            "type": "array",
            "description": "Direct MyJobMag job URLs, e.g. https://www.myjobmag.com/job/account-executive-the-concept-group-1",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "includeFullDetails": {
            "title": "Include full details",
            "type": "boolean",
            "description": "Fetch each listing's detail page for full description, requirements, employment type, industry, and company location. Slower but richer. mode=byUrls always fetches the detail page.",
            "default": true
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Hard cap on emitted records.",
            "default": 30
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}