{
  "openapi": "3.0.1",
  "info": {
    "title": "UN Global Marketplace (UNGM) Tenders Scraper",
    "description": "Scrape UN procurement notices from UNGM: tenders, RFPs, RFQs and EOIs from 90+ UN agencies, with deadline, country, UNSPSC codes, contacts and document links. Filter by agency, notice type or keyword.",
    "version": "0.1",
    "x-build-id": "XdMjGYtOQ4V9nFKQL"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/jungle_synthesizer~ungm-un-global-marketplace-tenders-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-jungle_synthesizer-ungm-un-global-marketplace-tenders-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/jungle_synthesizer~ungm-un-global-marketplace-tenders-scraper/runs": {
      "post": {
        "operationId": "runs-sync-jungle_synthesizer-ungm-un-global-marketplace-tenders-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/jungle_synthesizer~ungm-un-global-marketplace-tenders-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-jungle_synthesizer-ungm-un-global-marketplace-tenders-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": [
          "maxItems"
        ],
        "properties": {
          "sp_intended_usage": {
            "title": "What is the intended usage of this data?",
            "minLength": 1,
            "type": "string",
            "description": "What will this data feed? E.g. lead lists, KYB checks, price tracking."
          },
          "sp_improvement_suggestions": {
            "title": "How can we improve this crawler for you?",
            "minLength": 1,
            "type": "string",
            "description": "Provide any feedback or suggestions for improvements."
          },
          "sp_contact": {
            "title": "Contact email (optional)",
            "minLength": 1,
            "type": "string",
            "description": "We'll personally help with your use case. No spam."
          },
          "resumeCursor": {
            "title": "Resume cursor (continue a previous run)",
            "type": "string",
            "description": "Leave empty for a fresh crawl. To CONTINUE a previous run where it stopped — without paying again for records you already received — paste the `resumeCursor` value from that run's Output (the run's OUTPUT key). Resume promptly: the previous run's data expires with your account's retention window (free tier: your ~10 most recent runs)."
          },
          "query": {
            "title": "Keyword",
            "type": "string",
            "description": "Only notices whose title contains this phrase. Leave empty for every notice."
          },
          "organizations": {
            "title": "UN organizations",
            "type": "array",
            "description": "Only notices published by these organizations. Leave empty for all organizations.",
            "items": {
              "type": "string",
              "enum": [
                "ADB",
                "AFDB",
                "CEB",
                "COE",
                "CTBTO",
                "ECLAC",
                "ESCAP",
                "ESCWA",
                "ESM",
                "FAO",
                "Gavi Alliance",
                "Global Fund",
                "IAEA",
                "IBRD",
                "ICAO",
                "ICC",
                "ICGEB",
                "ICJ",
                "ICMPD",
                "ICSID",
                "ICTP",
                "IDB",
                "IDLO",
                "IFAD",
                "IFC",
                "ILO",
                "IMF",
                "IMO",
                "INTERPOL",
                "IOM",
                "IRENA",
                "ISA",
                "ISA - Solar",
                "ITC",
                "ITC-ILO",
                "ITLOS",
                "ITU",
                "OHCHR",
                "OPCW",
                "OSCE",
                "PAHO",
                "UNAIDS",
                "UNAKRT",
                "UNBOA",
                "UNCCD",
                "UNCDF",
                "UNCTAD",
                "UNDG",
                "UNDP",
                "UNECA",
                "UNECE",
                "UNEP",
                "UNESCO",
                "UNFCCC",
                "UNFPA",
                "UN Global Compact",
                "UN-Habitat",
                "UNHCR",
                "UNICC",
                "UNICEF",
                "UNICRI",
                "UN-ICTR",
                "UN-ICTY/MICT",
                "UNIDIR",
                "UNIDO",
                "UNIFEM",
                "UNITAR",
                "UNLIREC",
                "UNOCA",
                "UNODC",
                "UNOG",
                "UNON",
                "UNOPS",
                "UNOV",
                "UNRCO",
                "UNRISD",
                "UNRWA",
                "UN Secretariat",
                "UNSSC",
                "UNTSO",
                "UNU",
                "UNV",
                "UN-Women",
                "UNWTO",
                "UPU",
                "WBG",
                "WFP",
                "WHO",
                "WIPO",
                "WMO",
                "WMU",
                "WTO"
              ],
              "enumTitles": [
                "ADB",
                "AFDB",
                "CEB",
                "COE",
                "CTBTO",
                "ECLAC",
                "ESCAP",
                "ESCWA",
                "ESM",
                "FAO",
                "Gavi Alliance",
                "Global Fund",
                "IAEA",
                "IBRD",
                "ICAO",
                "ICC",
                "ICGEB",
                "ICJ",
                "ICMPD",
                "ICSID",
                "ICTP",
                "IDB",
                "IDLO",
                "IFAD",
                "IFC",
                "ILO",
                "IMF",
                "IMO",
                "INTERPOL",
                "IOM",
                "IRENA",
                "ISA",
                "ISA - Solar",
                "ITC",
                "ITC-ILO",
                "ITLOS",
                "ITU",
                "OHCHR",
                "OPCW",
                "OSCE",
                "PAHO",
                "UNAIDS",
                "UNAKRT",
                "UNBOA",
                "UNCCD",
                "UNCDF",
                "UNCTAD",
                "UNDG",
                "UNDP",
                "UNECA",
                "UNECE",
                "UNEP",
                "UNESCO",
                "UNFCCC",
                "UNFPA",
                "UN Global Compact",
                "UN-Habitat",
                "UNHCR",
                "UNICC",
                "UNICEF",
                "UNICRI",
                "UN-ICTR",
                "UN-ICTY/MICT",
                "UNIDIR",
                "UNIDO",
                "UNIFEM",
                "UNITAR",
                "UNLIREC",
                "UNOCA",
                "UNODC",
                "UNOG",
                "UNON",
                "UNOPS",
                "UNOV",
                "UNRCO",
                "UNRISD",
                "UNRWA",
                "UN Secretariat",
                "UNSSC",
                "UNTSO",
                "UNU",
                "UNV",
                "UN-Women",
                "UNWTO",
                "UPU",
                "WBG",
                "WFP",
                "WHO",
                "WIPO",
                "WMO",
                "WMU",
                "WTO"
              ]
            }
          },
          "noticeTypes": {
            "title": "Types of opportunity",
            "type": "array",
            "description": "Only these notice types (tender, RFP, RFQ, EOI and so on). Leave empty for all types.",
            "items": {
              "type": "string",
              "enum": [
                "Not set",
                "Request for EOI",
                "Request for proposal",
                "Request for quotation",
                "Invitation to bid",
                "Request for pre-qualification",
                "Request for information",
                "Grant support-call for proposal",
                "Pre-bid notice",
                "Call for individual consultants",
                "Call for implementing partners"
              ],
              "enumTitles": [
                "Not set",
                "Request for EOI",
                "Request for proposal",
                "Request for quotation",
                "Invitation to bid",
                "Request for pre-qualification",
                "Request for information",
                "Grant support-call for proposal",
                "Pre-bid notice",
                "Call for individual consultants",
                "Call for implementing partners"
              ]
            }
          },
          "includeArchive": {
            "title": "Include archived notices",
            "type": "boolean",
            "description": "Off returns open notices only. On also returns closed notices from the archive (hundreds of thousands).",
            "default": false
          },
          "maxItems": {
            "title": "Max Items",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum number of notices to return.",
            "default": 5
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}