> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Builtwith Bulk Domain Lookup: Inputs, Cost & CLI Example

> Running native BuiltWith bulk domain lookups with automatic async polling when a batch exceeds the sync limit. Includes inputs, outputs, and CLI examples.

## Run in Enrichment Spreadsheet

<Info>
  Use this function as a column step in `deepline enrich`.
</Info>

```bash theme={null}
deepline enrich --input leads.csv --output leads.enriched.csv --with 'result=builtwith_bulk_domain_lookup:{"domains":"{{domains}}"}' --json
```

<Tip>
  Map payload values to spreadsheet columns with `{{column_name}}` placeholders.
</Tip>

## Input Schema

| Name                          | Type      | Required | Default | Description                                                                      |
| ----------------------------- | --------- | -------- | ------- | -------------------------------------------------------------------------------- |
| `payload.domains`             | `array`   | Yes      |         | Domains to submit to the native BuiltWith bulk domain API.                       |
| `payload.live_only`           | `boolean` | No       |         | When true, keep only currently live technologies. Defaults to true.              |
| `payload.no_pii`              | `boolean` | No       |         | Exclude names and email addresses from bulk responses.                           |
| `payload.no_meta`             | `boolean` | No       |         | Exclude metadata from bulk responses.                                            |
| `payload.hide_text`           | `boolean` | No       |         | Hide technology descriptions, links, tags, and categories.                       |
| `payload.hide_dl`             | `boolean` | No       |         | Hide technology descriptions and links.                                          |
| `payload.wait_for_completion` | `boolean` | No       |         | When true, poll queued async jobs and return final results. Defaults to true.    |
| `payload.poll_interval_ms`    | `integer` | No       |         | Polling interval for queued bulk jobs when wait\_for\_completion is true.        |
| `payload.max_wait_ms`         | `integer` | No       |         | Maximum total wait time for queued bulk jobs when wait\_for\_completion is true. |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Submit domains to the BuiltWith bulk domain API. Small batches resolve inline; larger batches queue and can be auto-polled.",
    "properties": {
      "domains": {
        "type": "array",
        "description": "Domains to submit to the native BuiltWith bulk domain API.",
        "items": {
          "type": "string"
        }
      },
      "live_only": {
        "type": "boolean",
        "description": "When true, keep only currently live technologies. Defaults to true."
      },
      "no_pii": {
        "type": "boolean",
        "description": "Exclude names and email addresses from bulk responses."
      },
      "no_meta": {
        "type": "boolean",
        "description": "Exclude metadata from bulk responses."
      },
      "hide_text": {
        "type": "boolean",
        "description": "Hide technology descriptions, links, tags, and categories."
      },
      "hide_dl": {
        "type": "boolean",
        "description": "Hide technology descriptions and links."
      },
      "wait_for_completion": {
        "type": "boolean",
        "description": "When true, poll queued async jobs and return final results. Defaults to true."
      },
      "poll_interval_ms": {
        "type": "integer",
        "description": "Polling interval for queued bulk jobs when wait_for_completion is true."
      },
      "max_wait_ms": {
        "type": "integer",
        "description": "Maximum total wait time for queued bulk jobs when wait_for_completion is true."
      }
    },
    "required": [
      "domains"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output Schema

| Name          | Type     | Required | Default | Description                                    |
| ------------- | -------- | -------- | ------- | ---------------------------------------------- |
| `result.data` | `object` | Yes      |         | Provider response payload.                     |
| `result.meta` | `record` | No       |         | Additional response metadata (status, paging). |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Provider response payload.",
        "properties": {
          "mode": {
            "type": "string",
            "enum": [
              "sync",
              "async"
            ]
          },
          "job": {
            "type": "object",
            "description": "BuiltWith bulk domain job status payload.",
            "properties": {
              "job_id": {
                "type": "string"
              },
              "status": {
                "type": "string"
              },
              "created_utc": {
                "type": "string"
              },
              "count": {
                "type": "number"
              },
              "sync_max": {
                "type": "number"
              }
            },
            "required": [
              "job_id"
            ],
            "additionalProperties": false
          },
          "results": {
            "type": "array",
            "default": [],
            "items": {
              "type": "object",
              "properties": {
                "Result": {
                  "type": "object",
                  "properties": {
                    "SpendHistory": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "D": {
                            "type": "number"
                          },
                          "S": {
                            "type": "number"
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "IsDB": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "boolean"
                        }
                      ]
                    },
                    "Spend": {
                      "type": "number"
                    },
                    "Paths": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "Domain": {
                            "type": "string"
                          },
                          "Url": {
                            "type": "string"
                          },
                          "SubDomain": {
                            "type": "string"
                          },
                          "FirstIndexed": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "string"
                              }
                            ]
                          },
                          "LastIndexed": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "string"
                              }
                            ]
                          },
                          "Technologies": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "Name": {
                                  "type": "string"
                                },
                                "Parent": {
                                  "type": "string"
                                },
                                "Description": {
                                  "type": "string"
                                },
                                "Link": {
                                  "type": "string"
                                },
                                "Tag": {
                                  "type": "string"
                                },
                                "Categories": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                },
                                "FirstDetected": {
                                  "anyOf": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "string"
                                    }
                                  ]
                                },
                                "LastDetected": {
                                  "anyOf": [
                                    {
                                      "type": "number"
                                    },
                                    {
                                      "type": "string"
                                    }
                                  ]
                                },
                                "IsPremium": {
                                  "anyOf": [
                                    {
                                      "type": "string"
                                    },
                                    {
                                      "type": "boolean"
                                    }
                                  ]
                                }
                              },
                              "additionalProperties": false
                            }
                          }
                        },
                        "additionalProperties": false
                      }
                    }
                  },
                  "additionalProperties": false
                },
                "Meta": {
                  "type": "object",
                  "properties": {
                    "CompanyName": {
                      "type": "string"
                    },
                    "City": {
                      "type": "string"
                    },
                    "State": {
                      "type": "string"
                    },
                    "Postcode": {
                      "type": "string"
                    },
                    "Country": {
                      "type": "string"
                    },
                    "Vertical": {
                      "type": "string"
                    },
                    "Social": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "Telephones": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "Emails": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "Names": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "Name": {
                            "type": "string"
                          },
                          "Type": {
                            "type": "number"
                          },
                          "Level": {
                            "type": "string"
                          },
                          "Email": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "ARank": {
                      "type": "number"
                    },
                    "QRank": {
                      "type": "number"
                    },
                    "Majestic": {
                      "type": "number"
                    },
                    "Umbrella": {
                      "type": "number"
                    }
                  },
                  "additionalProperties": false
                },
                "Attributes": {
                  "type": "object",
                  "additionalProperties": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "number"
                      },
                      {
                        "type": "boolean"
                      },
                      {},
                      {}
                    ]
                  }
                },
                "FirstIndexed": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "string"
                    }
                  ]
                },
                "LastIndexed": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "string"
                    }
                  ]
                },
                "Lookup": {
                  "type": "string"
                },
                "SalesRevenue": {
                  "type": "number"
                }
              },
              "additionalProperties": false
            }
          },
          "errors": {
            "type": "array",
            "items": {}
          }
        },
        "required": [
          "mode"
        ],
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": {}
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Advanced: Direct CLI

<Info>
  Use direct execution for single payload debugging.
</Info>

```bash theme={null}
deepline tools execute builtwith_bulk_domain_lookup --payload '{
  "domains": "array"
}' --json
```

### CLI flags

| Flag                        | Description                                         |
| --------------------------- | --------------------------------------------------- |
| `--json`                    | Print machine-readable output.                      |
| `--wait`                    | Wait for terminal provider status when supported.   |
| `--debug`                   | Enable wait mode with additional status/log output. |
| `--wait-timeout SECONDS`    | Max seconds to wait in wait mode.                   |
| `--poll-interval SECONDS`   | Polling interval in seconds during wait mode.       |
| `--timeout SECONDS`         | Request timeout in seconds.                         |
| `--connect-timeout SECONDS` | Connection timeout in seconds.                      |

## Cost

* Pricing model: `provider_usage` (provider usage).
* Estimated Deepline credits: `0.14` per pricing unit.
* Billing mode: `post_deduct`.
