{
  "openapi": "3.0.1",
  "info": {
    "title": "OCC Mundial Scraper: Mexico Jobs, Salaries & Companies",
    "description": "Export OCC Mundial (occ.com.mx) job offers in Mexico: title, company, salary in MXN or USD, city, posting date and link. Search by keyword or company, or look up jobs through the API.",
    "version": "0.2",
    "x-build-id": "y1EG24vZ2cFZVBCdK"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/automatic~occ-mx-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-automatic-occ-mx-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/automatic~occ-mx-scraper/runs": {
      "post": {
        "operationId": "runs-sync-automatic-occ-mx-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/automatic~occ-mx-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-automatic-occ-mx-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": {
          "queries": {
            "title": "Job keywords",
            "type": "array",
            "description": "Job keywords to search, e.g. ['programador', 'ejecutivo de ventas']. OCCMundial does not always publish a keyword-filtered page: ordinary runs may fall back to the general job board and report it. New-jobs feeds report unavailable keyword pages. Leave empty (with no search paths) to browse the general job board. Example: [\"programador\"]. Empty adds no keyword search; with no search paths either, reads the general job board.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "searches": {
            "title": "Search paths",
            "type": "array",
            "description": "Optional site-relative search paths for company boards and other listing pages, e.g. ['/empleos/bolsa-de-trabajo-grupo-bimbo/']. Site-relative paths only (not full URLs). Example: [\"/empleos/bolsa-de-trabajo-grupo-bimbo/\"]. Empty adds no search path; with no keywords either, reads the general job board.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "maxPages": {
            "title": "Maximum pages",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Search-result pages to fetch per search (the crawl stops earlier when a page adds no new offers). Example: 1. If left unset, uses 3.",
            "default": 3
          },
          "maxResults": {
            "title": "Maximum results",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Stop after this many job offers across all searches. Example: 10. If left unset, uses 100.",
            "default": 100
          },
          "maxDetails": {
            "title": "Detail enrichment",
            "minimum": 0,
            "maximum": 50,
            "type": "integer",
            "description": "Fetch up to this many offer detail pages to fill missing fields (company, salary, location, posting date), rate-limited. 0 disables enrichment. Example: 0. If left unset, uses 0.",
            "default": 0
          },
          "requestDelaySecs": {
            "title": "Request delay (seconds)",
            "minimum": 0.5,
            "maximum": 10,
            "type": "number",
            "description": "Delay between page requests (and detail enrichments). Example: 1.0. If left unset, uses 1.0.",
            "default": 1
          },
          "proxyUrl": {
            "title": "Proxy URL",
            "type": "string",
            "description": "Optional custom proxy URL, for example http://user:pass@host:port. Leave empty to use the Actor's built-in network access. Example: \"http://user:password@proxy.example.com:8080\". Empty uses the existing default connection.",
            "default": ""
          },
          "proxyUsername": {
            "title": "Proxy username",
            "type": "string",
            "description": "Username for the custom proxy, when it is not embedded in the URL. Example: \"your-username\". Empty supplies no separate username; credentials in the URL are still used.",
            "default": ""
          },
          "proxyPassword": {
            "title": "Proxy password",
            "type": "string",
            "description": "Password for the custom proxy, when it is not embedded in the URL. Example: \"your-password\". Empty supplies no separate password; credentials in the URL are still used.",
            "default": ""
          },
          "debugDump": {
            "title": "Dump fetched pages",
            "type": "boolean",
            "description": "Save each fetched page to the run's key-value store. Leave off unless support asks for it. Example: false. If left unset, uses false.",
            "default": false
          },
          "proxy": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional custom proxy configuration. Leave the default to use the Actor's built-in network access. Example: {\"useApifyProxy\": false}. If omitted, uses the existing built-in connection settings."
          },
          "onlyNewSinceLastRun": {
            "title": "Deliver only new jobs",
            "type": "boolean",
            "description": "The first run remembers the jobs it delivers. Later runs skip remembered IDs in the pages they scan. Requires feedName.",
            "default": false
          },
          "feedName": {
            "title": "Feed name",
            "maxLength": 128,
            "type": "string",
            "description": "Your name for this monitoring feed, up to 128 characters (for example 'occ-programador-daily'). Reuse the same name for scheduled runs. Retry after an active run finishes if the name is busy. Each search remembers up to 20,000 delivered IDs for up to 90 days."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}