# DLA DIBBS RFQ Feed: Defense Supply Quote Requests (`moment-data/dla-dibbs-rfq-feed`) Actor

Daily Requests for Quotation from the Defense Logistics Agency Internet Bid Board System (DIBBS): solicitation, NSN, quantity, return-by date, set-aside and official PDF links. Accepts the DoD consent banner automatically.

- **URL**: https://apify.com/moment-data/dla-dibbs-rfq-feed.md
- **Developed by:** [Luke Miller](https://apify.com/moment-data) (community)
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 rfq records

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## DLA DIBBS RFQ Feed: Defense Supply Quote Requests (official)

A daily feed of **Requests for Quotation (RFQs)** posted on the **Defense Logistics Agency Internet Bid Board System (DIBBS)** at [dibbs.bsm.dla.mil](https://www.dibbs.bsm.dla.mil/). DIBBS is the public bid board for DLA items of supply — clothing, hardware, electronics, medical and more.

Each record is one official index line: the **solicitation number**, **National Stock Number or part number**, purchase request, quantity and unit, nomenclature, return-by date, small-business set-aside flag, buyer office code, and links to the RFQ PDF and the DIBBS record page.

The Actor reads the **official daily fixed-width index files** (`inYYMMDD.txt`) documented on DIBBS' [RFQ file-definitions page](https://www.dibbs.bsm.dla.mil/Rfq/RfqFileDefs.aspx). Before any file is fetched it **accepts the Department of Defense warning and consent banner** on each DIBBS host (this was approved for this Actor). No DIBBS account is required.

This Actor is not affiliated with DLA or the Department of Defense. You still submit quotes on DIBBS itself.

### Who it's for

- **Defense suppliers and distributors:** a structured morning list of new RFQs in your Federal Supply Classes, with return-by dates and PDF links.
- **Small businesses:** filter to official small-business set-asides.
- **Bid-capture and ERP tools:** `sinceLastRun` delivers only new line items since the previous scheduled run.

### Output (one record per RFQ line item)

`solicitation`, `purchaseRequest`, `nsn`, `partNumber`, `fsc`, `itemType` (nsn / partNumber), `nomenclature`, `quantity`, `unit`, `postedDate`, `returnByDate`, `setAside`, `setAsideCode`, `setAsidePercent`, `amsc`, `buyerCode`, `fileName`, `pdfUrl`, `url`, `source`, `licence`, `retrievedAt`.

Sample (index file dated 2026-11-13):

```json
{
  "solicitation": "SPE1C127Q0172",
  "purchaseRequest": "7018450425",
  "nsn": "8415010333520",
  "fsc": "8415",
  "itemType": "nsn",
  "nomenclature": "GLOVE SET,CHEMICAL",
  "quantity": 1000,
  "unit": "SE",
  "postedDate": "2026-11-13",
  "returnByDate": "2026-11-27",
  "setAside": "smallBusiness",
  "setAsideCode": "Y",
  "setAsidePercent": 100,
  "buyerCode": "DRH01",
  "pdfUrl": "https://dibbs2.bsm.dla.mil/Downloads/RFQ/2/SPE1C127Q0172.PDF",
  "url": "https://www.dibbs.bsm.dla.mil/RFQ/RfqRecs.aspx?category=sol&TypeSrch=c&value=SPE1C127Q0172"
}
```

### Input

| Field | What it does |
|---|---|
| `maxItems` | Line items to return (default 30) |
| `daysBack` | How many recent official daily index files to read (default 1 = the latest file). Files are usually published the next business day. |
| `keywords` | Words in the nomenclature, NSN or solicitation (`glove`, `valve`) |
| `fscs` | 4-digit Federal Supply Classes (`8415`, `4730`) |
| `nsns` | Exact 13-digit National Stock Numbers |
| `solicitations` | Exact solicitation numbers |
| `setAsideOnly` | Only official small-business set-asides |
| `excludeKeywords` | Drop matching nomenclature |
| `mode` / `stateKey` | `window` (default) or `sinceLastRun` for scheduled new-RFQ alerts |

Examples:

- Latest RFQs, default: `{}`
- Clothing set-asides from the last 3 files: `{"fscs":["8415"],"setAsideOnly":true,"daysBack":3,"maxItems":200}`
- One stock number: `{"nsns":["8415-01-033-3520"],"daysBack":14}`
- Daily delta: `{"mode":"sinceLastRun","stateKey":"all","daysBack":2,"maxItems":5000}`

### Pricing (pay per event)

- `apify-actor-start`: $0.005 per run
- `rfq-record`: $0.003 per RFQ line item

A default run of 30 records costs **$0.095**. `maxItems` caps how many records you pay for. Compute is included in the event prices.

### Quick start

1. Click **Try for free** and run with the default input (`{}`) — you should get 30 line items from the latest official index file, in well under a minute.
2. Add `fscs`, `keywords` or `setAsideOnly`.
3. For a daily schedule, set `mode` to `sinceLastRun` and keep a stable `stateKey`.

### Notes and limits

- Default input is stateless and small so Apify's daily auto-test stays green (well under 5 minutes, non-empty dataset).
- The daily files list RFQs **posted the previous business day**. Today's still-open grid is not included (those files appear the next day).
- `buyerCode` is a five-character DIBBS office code, not a person's name.
- Always confirm quantities, clauses and closing times on the official PDF or DIBBS record before quoting.

### FAQ

**Do I need a DIBBS login?** No. The index files and consent banner are public. Submitting a quote still happens on DIBBS and may require an account.

**Why is a file "missing" for Saturday or Sunday?** DIBBS typically does not publish a weekend index. The Actor walks back to the most recent available file.

**What does the consent banner mean?** Every DIBBS page starts with a Department of Defense warning and consent form. The Actor posts the published OK action on each host, then reads the official files. It does not log in as a vendor.

# Actor input Schema

## `maxItems` (type: `integer`):

Maximum RFQ line items to return. You pay per record.

## `daysBack` (type: `integer`):

How many recent official daily index files to read (files are usually published the next business day). Default 1 = the latest file.

## `keywords` (type: `array`):

Keep rows whose nomenclature, NSN or solicitation contains any of these words, e.g. glove, valve, circuit.

## `fscs` (type: `array`):

4-digit FSC codes, the first four digits of the NSN, e.g. 8415, 4730, 5999.

## `nsns` (type: `array`):

13-digit NSNs, with or without dashes, e.g. 8415-01-033-3520.

## `solicitations` (type: `array`):

Exact DIBBS solicitation numbers, e.g. SPE1C127Q0172.

## `setAsideOnly` (type: `boolean`):

Only rows flagged as a small-business set-aside in the official index.

## `excludeKeywords` (type: `array`):

Drop rows whose nomenclature contains any of these words.

## `mode` (type: `string`):

sinceLastRun remembers solicitation + purchase-request keys already delivered, in a named key-value store, so scheduled runs only return new ones.

## `stateKey` (type: `string`):

Separate memory per saved search when mode is sinceLastRun.

## Actor input object example

```json
{
  "maxItems": 30,
  "daysBack": 1,
  "setAsideOnly": false,
  "mode": "window",
  "stateKey": "default"
}
```

# Actor output Schema

## `rfqs` (type: `string`):

One record per official index line (solicitation + NSN/part + purchase request).

## `summary` (type: `string`):

Files read, filters, drops, requests.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("moment-data/dla-dibbs-rfq-feed").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("moment-data/dla-dibbs-rfq-feed").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call moment-data/dla-dibbs-rfq-feed --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,moment-data/dla-dibbs-rfq-feed"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/Q03TPPj0e8NAQUisM/builds/UvoJBneSkv1jxktsU/openapi.json
