{
  "openapi": "3.0.1",
  "info": {
    "title": "DIBBS Awards Scraper: DLA Contract Winners & Prices",
    "description": "DIBBS awards: who won each DLA defense purchase, with winning CAGE code, NSN, total price, plus optional quantity and unit price. Export CSV, Excel, JSON, XML.",
    "version": "0.0",
    "x-build-id": "JLmYA6ZeU92yUQsF9"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/parseforge~dibbs-awards-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-parseforge-dibbs-awards-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/parseforge~dibbs-awards-scraper/runs": {
      "post": {
        "operationId": "runs-sync-parseforge-dibbs-awards-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/parseforge~dibbs-awards-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-parseforge-dibbs-awards-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": {
          "searchBy": {
            "title": "Search by",
            "enum": [
              "awardDate",
              "postedDate",
              "nsn",
              "cage",
              "awardNumber",
              "deliveryOrder",
              "solicitation",
              "purchaseRequest"
            ],
            "type": "string",
            "description": "What the search values below mean. Award date and posted date list every award of a day (the latest day when no value is given). The others look up the award history of an NSN or part number, a winning CAGE code, a contract, a delivery order, a solicitation or a purchase request.",
            "default": "nsn"
          },
          "queries": {
            "title": "Search values",
            "type": "array",
            "description": "One or more values for the search type above. Dates: 2026-11-12 or 11-12-2026. NSN: 4710-99-613-2962 or 4710996132962. CAGE: 9NVX8. Leave empty with a date search to read the latest days.",
            "items": {
              "type": "string"
            }
          },
          "daysBack": {
            "title": "Latest days (date searches, no values)",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "With a date search and no search values, read the latest N days DIBBS has published (1 to 30). A busy day holds about 4,500 award lines.",
            "default": 1
          },
          "maxItems": {
            "title": "Max Items",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Free users: limited to 10 items (preview). Paid users: optional, max 1,000,000"
          },
          "includeDetails": {
            "title": "Add winner name and offices",
            "type": "boolean",
            "description": "Opens each award's package page to add the awardee company name, the issuing, administering and paying offices, and the list of modifications. Billed as an extra event per award that returns it.",
            "default": false
          },
          "includeLineItems": {
            "title": "Add quantity and unit price",
            "type": "boolean",
            "description": "Reads the public award document (PDF) of each award and adds quantity, unit of issue, unit price, currency, pricing terms and the list of line items. Awards that have no priced line (for example master contracts) come back without them and are not billed for this. Billed as an extra event per award that returns it.",
            "default": false
          },
          "minAmount": {
            "title": "Min total contract price (USD)",
            "minimum": 0,
            "type": "number",
            "description": "Keep only awards at or above this total price."
          },
          "maxAmount": {
            "title": "Max total contract price (USD)",
            "minimum": 0,
            "type": "number",
            "description": "Keep only awards at or below this total price."
          },
          "awardeeCageCodes": {
            "title": "Winning CAGE codes",
            "type": "array",
            "description": "Keep only awards won by these CAGE codes, e.g. 9NVX8.",
            "items": {
              "type": "string"
            }
          },
          "fscCodes": {
            "title": "FSC codes (first 4 digits of the NSN)",
            "type": "array",
            "description": "Keep only awards whose NSN starts with one of these codes, e.g. 5306 for bolts or 4730 for hose fittings.",
            "items": {
              "type": "string"
            }
          },
          "keyword": {
            "title": "Item name contains",
            "type": "string",
            "description": "Keep only awards whose item name contains this text, e.g. VALVE."
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Off by default: DIBBS answers directly. If it blocks the connection, the Actor steps up to the Apify residential proxy on its own. Turn it on to start from a proxy.",
            "default": {
              "useApifyProxy": false
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}