{
  "openapi": "3.0.1",
  "info": {
    "title": "Bangladesh Government Tenders & Contract Awards (e-GP)",
    "description": "Live Bangladesh government tenders and contract awards from e-GP: procuring entity, lots, deadlines, tender security, eligibility, winner and award price in BDT. Keyword search, date filters and new-only alerts.",
    "version": "0.1",
    "x-build-id": "GZa0rLQYgvjUt5pmY"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/dottti~bangladesh-tender-radar/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-dottti-bangladesh-tender-radar",
        "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/dottti~bangladesh-tender-radar/runs": {
      "post": {
        "operationId": "runs-sync-dottti-bangladesh-tender-radar",
        "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/dottti~bangladesh-tender-radar/run-sync": {
      "post": {
        "operationId": "run-sync-dottti-bangladesh-tender-radar",
        "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": {
          "recordTypes": {
            "title": "Record types",
            "type": "array",
            "description": "Tenders are live notices you can still bid on. Awards are signed contracts with the winning company and the contract value.",
            "items": {
              "type": "string",
              "enum": [
                "tenders",
                "awards"
              ],
              "enumTitles": [
                "Live tenders",
                "Contract awards (winners)"
              ]
            },
            "default": [
              "tenders"
            ]
          },
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Words searched by the portal, for example computer, medicine or bridge. Leave empty for every live tender.",
            "items": {
              "type": "string"
            }
          },
          "matchMode": {
            "title": "Keyword match mode",
            "enum": [
              "any",
              "all"
            ],
            "type": "string",
            "description": "any: at least one keyword. all: every keyword.",
            "default": "any"
          },
          "procurementNatures": {
            "title": "Procurement nature (tenders)",
            "type": "array",
            "description": "Goods, works, services (consultancy) or physical services. Goods include framework agreements.",
            "items": {
              "type": "string",
              "enum": [
                "goods",
                "works",
                "service",
                "physicalServices"
              ],
              "enumTitles": [
                "Goods",
                "Works",
                "Services",
                "Physical services"
              ]
            }
          },
          "procurementTypes": {
            "title": "National or international (tenders)",
            "type": "array",
            "description": "NCT is national competitive tendering. ICT is international competitive tendering.",
            "items": {
              "type": "string",
              "enum": [
                "NCT",
                "ICT"
              ],
              "enumTitles": [
                "National (NCT)",
                "International (ICT)"
              ]
            }
          },
          "procurementMethods": {
            "title": "Procurement methods",
            "type": "array",
            "description": "Keep records using these methods, as short codes shown by the portal. Examples: OTM is open tendering, LTM limited tendering, RFQ request for quotation, QCBS quality and cost based selection, DPM direct procurement.",
            "items": {
              "type": "string",
              "enum": [
                "RFQ",
                "OTM",
                "LTM",
                "TSTM",
                "QCBS",
                "LCS",
                "SFB",
                "DC",
                "SBCQ",
                "SSS",
                "IC",
                "CSO",
                "DPM",
                "OSTETM",
                "RFQU",
                "RFQL"
              ]
            }
          },
          "organizationContains": {
            "title": "Organization contains",
            "type": "string",
            "description": "Keep records whose ministry, division, organization or procuring entity contains this text, for example LGED, Roads and Highways or DGHS."
          },
          "districtContains": {
            "title": "District contains",
            "type": "string",
            "description": "Keep records from this district, for example Dhaka or Chattogram. For tenders it needs the detail pages (on by default)."
          },
          "publishedSince": {
            "title": "Published on or after",
            "pattern": "^(\\d{4}-\\d{2}-\\d{2})?$",
            "type": "string",
            "description": "Date in YYYY-MM-DD format. Tenders: publication date. Awards: contract signing date. Older records are skipped."
          },
          "minContractValueBdt": {
            "title": "Minimum contract value, BDT (awards)",
            "minimum": 0,
            "type": "integer",
            "description": "Keep awards whose contract price is at least this many Bangladeshi taka. 1 crore is 10,000,000 BDT."
          },
          "includeNotLive": {
            "title": "Include tenders that are not live (keyword search)",
            "type": "boolean",
            "description": "The keyword search also returns tenders that are being processed or cancelled. They are skipped unless you turn this on.",
            "default": false
          },
          "includeDetails": {
            "title": "Open each record for details",
            "type": "boolean",
            "description": "Tenders: lots with tender security, document price, eligibility, closing and opening times, budget, funding, project, office address. Awards: exact contract price, notification and completion dates, winner address. Adds one request per record.",
            "default": true
          },
          "includeContactPerson": {
            "title": "Include official names, phones and beneficial owners",
            "type": "boolean",
            "description": "Off by default. When on: the official inviting the tender with phone, the authorised officer, and the named beneficial owners of the winning company. When off, e-mail addresses and phone numbers are also removed from notice text. Only turn it on if you have a lawful reason to process personal data.",
            "default": false
          },
          "onlyNew": {
            "title": "Only records not delivered before",
            "type": "boolean",
            "description": "Remember delivered IDs and skip them next time. Use it with a daily schedule for alerts.",
            "default": false
          },
          "stateKey": {
            "title": "Alert name",
            "type": "string",
            "description": "Separate memory for each alert when you run several schedules with onlyNew.",
            "default": "default"
          },
          "maxItems": {
            "title": "Maximum records per type",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Hard cap on delivered tenders and, separately, on delivered awards, newest first. You pay per record delivered, so this is also your cost cap.",
            "default": 100
          },
          "maxPages": {
            "title": "Pages per list",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Each list page holds 100 rows. About 4,500 live tenders fit in 45 pages. The award list is much longer, so it is read newest first until this cap.",
            "default": 50
          },
          "requestDelayMs": {
            "title": "Delay between requests (ms)",
            "minimum": 1000,
            "maximum": 10000,
            "type": "integer",
            "description": "Pause before each request. Never lower than 1000 ms.",
            "default": 1000
          },
          "maxRetries": {
            "title": "Retries per request",
            "minimum": 0,
            "maximum": 8,
            "type": "integer",
            "description": "Retries with backoff when the portal fails or asks to slow down.",
            "default": 4
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}