{
  "openapi": "3.0.1",
  "info": {
    "title": "ReliefWeb Humanitarian & NGO Jobs Scraper | $3/1k, No API Key",
    "description": "Scrape live humanitarian, NGO, aid-worker and UN-sector jobs from ReliefWeb (UN OCHA's job portal) — no API key or pre-approved appname needed. Title, organization, country, geo-coordinates, closing date, apply URL. Keyword/country filters, new-jobs-only monitoring, org enrichment. $0.003/job.",
    "version": "0.1",
    "x-build-id": "w9L88cprh5jK1Z1YO"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/nomad-agent~reliefweb-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-nomad-agent-reliefweb-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/nomad-agent~reliefweb-scraper/runs": {
      "post": {
        "operationId": "runs-sync-nomad-agent-reliefweb-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/nomad-agent~reliefweb-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-nomad-agent-reliefweb-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": {
          "search": {
            "title": "Keyword search",
            "type": "string",
            "description": "Free-text query to filter the feed (e.g. <code>software engineer</code>, <code>data</code>, <code>IT digital</code>). Leave empty for all current openings (latest ~20 globally)."
          },
          "country": {
            "title": "Country filter",
            "type": "string",
            "description": "Only return postings whose Country field (as published by ReliefWeb) contains this text, e.g. <code>Kenya</code> or <code>Yemen</code>. Case-insensitive, partial match. Leave empty for all countries. Applied after fetching, so it never changes cost."
          },
          "postedSince": {
            "title": "Posted within last N days",
            "type": "integer",
            "description": "Only return postings published within this many days. Set 0 to disable (no freshness filter). Applied after fetching using each posting's publish date, so it never changes cost.",
            "default": 0
          },
          "maxItems": {
            "title": "Max items",
            "type": "integer",
            "description": "Maximum number of job openings to return. ReliefWeb's jobs feed always returns roughly the 20 most recent postings per fetch, so values above 20 have no effect. Set 0 for no limit (returns everything the feed provides). Each result returned is billed — see Pricing in the README.",
            "default": 20
          },
          "enrichOrganisation": {
            "title": "Enrich organisation (paid add-on)",
            "type": "boolean",
            "description": "Opt-in: for each posting, follow up to the hiring organisation's ReliefWeb profile page and add its homepage/website (<code>orgWebsite</code>) and description (<code>orgDescription</code>). ReliefWeb's raw jobs feed does not carry these, so this is a billed enrichment add-on. Each organisation is fetched at most once per run. Fields stay <code>null</code> when the source does not expose them.",
            "default": false
          },
          "monitoringMode": {
            "title": "Monitoring mode (new postings only)",
            "type": "boolean",
            "description": "Only return postings not seen in prior runs of this Actor (state kept in the Actor's key-value store). Ideal for scheduled runs that should alert on new humanitarian/NGO jobs only. Leave off to return the full current feed every run.",
            "default": false
          },
          "resetMonitoringState": {
            "title": "Reset monitoring state",
            "type": "boolean",
            "description": "One-shot: clear the remembered set of previously-returned postings before this run, so Monitoring mode treats every current posting as new again. Turn off after the reset run.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Recommended: keep the Residential proxy group selected. ReliefWeb blocks requests from datacenter IPs, so a Residential proxy is needed for the fetch to succeed reliably. Overrides the deprecated <code>Use residential proxy</code> toggle below when set.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          },
          "useResidentialProxy": {
            "title": "Use residential proxy (deprecated)",
            "type": "boolean",
            "description": "Deprecated — use the Proxy configuration field above instead. Kept only for backward compatibility: used as a fallback when Proxy configuration is not set, to decide whether to fetch through an Apify Residential proxy (required because ReliefWeb blocks datacenter IPs).",
            "default": true
          },
          "cacheTtlSeconds": {
            "title": "Cache TTL (seconds)",
            "type": "integer",
            "description": "Reuse a previously fetched feed for this many seconds instead of fetching again, so repeated runs within the window are faster and skip the network call. Set 0 to always fetch fresh data.",
            "default": 1800
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}