{
  "openapi": "3.0.1",
  "info": {
    "title": "MWBE, DBE & Minority-Owned Certified Business Leads (US)",
    "description": "Certified MWBE, DBE, SDVOB, veteran-owned and minority-owned small business leads from 10 official US state and city registries: contact, phone, email, website, NAICS, certifications. For supplier diversity and B2B outreach.",
    "version": "0.1",
    "x-build-id": "rb9cs8n3ghM3b0tKI"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/quarrylane-data~us-diversity-certified-business-leads/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-quarrylane-data-us-diversity-certified-business-leads",
        "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/quarrylane-data~us-diversity-certified-business-leads/runs": {
      "post": {
        "operationId": "runs-sync-quarrylane-data-us-diversity-certified-business-leads",
        "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/quarrylane-data~us-diversity-certified-business-leads/run-sync": {
      "post": {
        "operationId": "run-sync-quarrylane-data-us-diversity-certified-business-leads",
        "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": {
          "sources": {
            "title": "Registries",
            "type": "array",
            "description": "Official open-data directories to pull from. Leave empty for all of them.",
            "items": {
              "type": "string",
              "enum": [
                "NYC-SBS",
                "NY-DBE",
                "NJ-SAVI",
                "DE-OSD",
                "DE-SBF",
                "OH-CIN",
                "MA-BOS",
                "WA-WEBS",
                "TX-AUS-SBE",
                "CT-SBE"
              ],
              "enumTitles": [
                "New York City SBS certified businesses (≈11,800; phone, website, NAICS)",
                "New York State UCP DBE directory (≈2,300; phone, email)",
                "New Jersey NJSAVI certified vendors (≈9,800; phone, email)",
                "Delaware Office of Supplier Diversity (≈800; phone, email, NAICS)",
                "Delaware Small Business Focus (≈450; phone, email)",
                "Cincinnati MBE / WBE / SBE / SLBE vendors (≈450)",
                "Boston Certified Business Directory (≈970; phone, email, NAICS)",
                "Washington WEBS diversity-certified vendors (≈1,600 unique; phone, email)",
                "Austin Small Business Enterprise certification (≈130; phone, email)",
                "Connecticut official SBE / MBE certifications (≈2,000; email)"
              ]
            }
          },
          "certifications": {
            "title": "Certification types",
            "type": "array",
            "description": "Keep only firms with at least one of these canonical certifications. Leave empty for every certified firm the selected registries publish. MWBE firms also match a filter for MBE or WBE.",
            "items": {
              "type": "string",
              "enum": [
                "MBE",
                "WBE",
                "MWBE",
                "DBE",
                "ACDBE",
                "SDVOB",
                "VOSB",
                "SBE",
                "SLBE",
                "LBE",
                "ELBE",
                "EBE",
                "SEDB",
                "IWDBE",
                "OMWBE",
                "NMSDC",
                "WBENC",
                "HUBZONE",
                "8(A)",
                "DVBE",
                "HUB",
                "SWAM"
              ],
              "enumTitles": [
                "MBE – Minority Business Enterprise",
                "WBE – Women Business Enterprise",
                "MWBE – Minority and Women Business Enterprise",
                "DBE – Disadvantaged Business Enterprise (USDOT)",
                "ACDBE – Airport Concession DBE",
                "SDVOB – Service-Disabled Veteran-Owned Business",
                "VOSB – Veteran-Owned Small Business",
                "SBE – Small Business Enterprise",
                "SLBE – Small Local Business Enterprise",
                "LBE – Local Business Enterprise",
                "ELBE – Emerging Local Business Enterprise",
                "EBE – Emerging Business Enterprise (NYC)",
                "SEDB – Small / Emerging Disadvantaged Business (NJ)",
                "IWDBE – Individual with Disability Business Enterprise",
                "OMWBE – Washington Office of Minority & Women's Business Enterprises",
                "NMSDC – National Minority Supplier Development Council",
                "WBENC – Women's Business Enterprise National Council",
                "HUBZone – SBA HUBZone",
                "8(A) – SBA 8(a) Business Development",
                "DVBE – Disabled Veteran Business Enterprise",
                "HUB – Historically Underutilized Business",
                "SWaM – Small, Woman-owned and Minority-owned (Virginia)"
              ]
            }
          },
          "states": {
            "title": "Business location (state)",
            "type": "array",
            "description": "Two-letter state codes of the firm's address (e.g. NY, NJ). A New Jersey firm in the NYC SBS directory will match NJ.",
            "items": {
              "type": "string"
            }
          },
          "cities": {
            "title": "Cities",
            "type": "array",
            "description": "Only return businesses in these cities. Exact city names, case-insensitive, e.g. \"Newark\". Leave empty for all cities.",
            "items": {
              "type": "string"
            }
          },
          "zipCodes": {
            "title": "ZIP codes or prefixes",
            "type": "array",
            "description": "Full 5-digit ZIP codes or prefixes (100 = Manhattan).",
            "items": {
              "type": "string"
            }
          },
          "businessNameContains": {
            "title": "Business name contains",
            "type": "string",
            "description": "Case-insensitive substring match on the official business name or DBA."
          },
          "keyword": {
            "title": "Keyword (name, description, NAICS)",
            "type": "string",
            "description": "Case-insensitive match against the business name, description, NAICS and commodity codes (e.g. plumbing, 238220, IT consulting)."
          },
          "requirePhone": {
            "title": "Only records with a business phone",
            "type": "boolean",
            "description": "Keep only firms whose official directory record includes a business phone number.",
            "default": false
          },
          "requireEmail": {
            "title": "Only records with a business email",
            "type": "boolean",
            "description": "Keep only firms whose official directory record includes a business email address.",
            "default": false
          },
          "activeOnly": {
            "title": "Active certifications only",
            "type": "boolean",
            "description": "Skip expired certifications and registries that mark the firm inactive. Default on.",
            "default": true
          },
          "onlyNew": {
            "title": "Monitor mode (only new since last run)",
            "type": "boolean",
            "description": "Return only firms not delivered before under the same monitor key. Ideal for a weekly schedule.",
            "default": false
          },
          "monitorName": {
            "title": "Monitor name",
            "type": "string",
            "description": "Label for this saved monitor (plain text, not a password or API key). When \"Only new\" monitor mode is on, the Actor remembers which records it has already delivered under this name and returns only new ones next time. Use a different name per filter set or client, for example \"client-a-weekly\". Older inputs that use monitorKey still work.",
            "default": "default"
          },
          "maxItems": {
            "title": "Maximum results",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Hard cap on records delivered in this run. Default 50 (a cheap, auto-test-safe sample). Free Apify plans are capped at 15. Paid plans can go up to 100,000.",
            "default": 50
          },
          "maxItemsPerSource": {
            "title": "Maximum results per registry",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Optional cap applied to each registry before the overall maximum."
          },
          "enrichWebsiteContacts": {
            "title": "Enrich contacts from the business website",
            "type": "boolean",
            "description": "When a directory record includes the firm's own website, fetch the homepage plus likely /contact and /about pages (lightweight HTTP only, robots.txt respected, short timeouts). Adds websiteEmails, websitePhones and websiteSocials. Charges an extra $0.02 contact-enriched event only when an email or phone is found. Records with no website are skipped; domains are never guessed.",
            "default": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}