{
  "openapi": "3.0.1",
  "info": {
    "title": "InfoJobs Scraper",
    "description": "Collect current InfoJobs Brazil vacancies and matching full descriptions through public HTTP APIs. Prefilled keyword/city search, source location autocomplete, bounded detail requests and explicit proxy controls. No paid vendor API key or synthetic jobs.",
    "version": "1.1",
    "x-build-id": "OvWxZKdDCk5nws70H"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/jobscrawler~infojobs-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-jobscrawler-infojobs-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/jobscrawler~infojobs-scraper/runs": {
      "post": {
        "operationId": "runs-sync-jobscrawler-infojobs-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/jobscrawler~infojobs-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-jobscrawler-infojobs-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": {
          "keyword": {
            "title": "Search Keyword",
            "type": "string",
            "description": "Job title or keywords to search for.",
            "default": "desenvolvedor"
          },
          "location": {
            "title": "Location",
            "type": "string",
            "description": "Exact city/state label resolved through the public source autocomplete. Add the state abbreviation if ambiguous; empty disables automatic location selection. An explicit start URL's city/state ID is preserved.",
            "default": "São Paulo - SP"
          },
          "country": {
            "title": "Country",
            "enum": [
              "BR"
            ],
            "type": "string",
            "description": "This Actor reads InfoJobs Brazil only; Spain is not implemented.",
            "default": "BR"
          },
          "maxItems": {
            "title": "Max Items",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Maximum number of job listings to scrape.",
            "default": 10
          },
          "proxyEnabled": {
            "title": "Enable Proxy",
            "type": "boolean",
            "description": "Use an authorized proxy route for regional access or connection reliability; it does not bypass access controls.",
            "default": true
          },
          "sortBy": {
            "title": "Sort By",
            "enum": [
              "relevance"
            ],
            "type": "string",
            "description": "Only relevance shortcut is implemented. Use a verified native source URL for other ordering; unsupported shortcut values fail explicitly.",
            "default": "relevance"
          },
          "jobType": {
            "title": "Job Type",
            "type": "string",
            "description": "Legacy shortcut is not implemented. Leave empty or provide appropriate native filters in startUrl; unsupported shortcuts fail explicitly.",
            "default": ""
          },
          "experienceLevel": {
            "title": "Experience Level",
            "type": "string",
            "description": "Legacy shortcut is not implemented. Leave empty or provide appropriate native filters in startUrl; unsupported shortcuts fail explicitly.",
            "default": ""
          },
          "datePosted": {
            "title": "Date Posted",
            "enum": [
              ""
            ],
            "type": "string",
            "description": "Legacy shortcut is not implemented. Leave empty or provide appropriate native filters in startUrl; unsupported shortcuts fail explicitly.",
            "default": ""
          },
          "remoteOnly": {
            "title": "Remote Only",
            "type": "boolean",
            "description": "Legacy shortcut is not implemented. Leave false; use a source-provided native search URL for remote searches.",
            "default": false
          },
          "includeCompanyDetails": {
            "title": "Include Company Details",
            "type": "boolean",
            "description": "Include the public company URL when available. Basic public listing employer labels may remain; private account data is never requested.",
            "default": true
          },
          "includeSalary": {
            "title": "Include Salary",
            "type": "boolean",
            "description": "Include published top-level salary text. The original source-card/detail text may still mention pay; no salary is invented.",
            "default": true
          },
          "googleSearchFallbackEnabled": {
            "title": "Optional paid Google fallback",
            "type": "boolean",
            "description": "Off by default. Explicit paid indexed fallback is accepted only with includeDetails=false; it cannot prove full live descriptions and is never maintenance recovery evidence.",
            "default": false
          },
          "includeDetails": {
            "title": "Fetch public job details",
            "type": "boolean",
            "description": "Default true: accept full descriptions only after the public detail header title and canonical vacancy ID match the listing. False explicitly selects listing-only mode.",
            "default": true
          },
          "startUrl": {
            "title": "Official search URL (optional)",
            "type": "string",
            "description": "Official HTTPS InfoJobs Brazil employment-search URL. Native keyword, city/state IDs, query parameters and initial page are preserved. The source determines its native filter semantics.",
            "default": ""
          },
          "searchQuery": {
            "title": "Search query alias",
            "type": "string",
            "description": "Optional alias overriding keyword. An existing palabra parameter in an explicit start URL is preserved.",
            "default": ""
          },
          "locationType": {
            "title": "Location type",
            "enum": [
              "city",
              "state"
            ],
            "type": "string",
            "description": "Choose whether the public autocomplete ID represents a city or a state. City names shared across states require the state abbreviation, e.g. São Paulo - SP.",
            "default": "city"
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Honor this exact requested route when proxyEnabled=true. Default Brazil residential proxy may incur platform charges. No hidden paid fallback; disable proxyEnabled explicitly for direct access.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ],
              "apifyProxyCountry": "BR"
            }
          },
          "requestTimeoutSecs": {
            "title": "Request timeout",
            "minimum": 5,
            "maximum": 90,
            "type": "integer",
            "description": "Browser navigation timeout in seconds; detail requests are bounded to at most 30 seconds.",
            "default": 30
          },
          "detailConcurrency": {
            "title": "Concurrent detail requests",
            "minimum": 1,
            "maximum": 4,
            "type": "integer",
            "description": "Maximum parallel read-only detail API requests. Listing pagination remains sequential.",
            "default": 3
          },
          "transport": {
            "title": "Source transport",
            "enum": [
              "http",
              "browser"
            ],
            "type": "string",
            "description": "Default HTTP reads source HTML and public JSON GET APIs without launching a browser. Browser is an explicit alternative; no automatic switch after access denial. Both honor the exact proxy configuration.",
            "default": "http"
          },
          "networkRetries": {
            "title": "Transient network retries",
            "minimum": 0,
            "maximum": 1,
            "type": "integer",
            "description": "HTTP transport errors may retry once with a short delay on the same configured route. Source HTTP denials and rate-limit responses are never retried. Set zero to disable.",
            "default": 1
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}