---
agentTools:
  projectIndex: https://digitalpilot.readme.io/llms.txt
---

# Search contacts by domain

Returns personal contacts for a company at no credit cost. Each request returns at most 10 contacts; use offset to load the next page. Name, title, LinkedIn, and other contact fields are always included. Only the email address (email / value) is null until unlocked.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "servers": [
    {
      "url": "https://api.digitalpilot.app",
      "description": "Production server"
    }
  ],
  "info": {
    "title": "DigitalPilot API",
    "description": "Using the REST API allows you to programmatically execute a wide range of code operations which are also available through the user interface.",
    "version": "1.1.0"
  },
  "paths": {
    "/v1/tags/{id}/contacts/domain-search": {
      "post": {
        "tags": [
          "Contacts"
        ],
        "summary": "Search contacts by domain",
        "description": "Returns personal contacts for a company at no credit cost. Each request returns at most 10 contacts; use offset to load the next page. Name, title, LinkedIn, and other contact fields are always included. Only the email address (email / value) is null until unlocked.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "example": "0YFe6H1"
            },
            "description": "The workspace (tag) ID"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "domain": {
                    "type": "string",
                    "description": "Company domain",
                    "example": "stripe.com"
                  },
                  "company": {
                    "type": "string",
                    "description": "Company name if domain is unknown",
                    "example": "Stripe"
                  },
                  "offset": {
                    "type": "number",
                    "description": "Result offset. Page size is always 10.",
                    "example": "0"
                  },
                  "seniority": {
                    "type": "string",
                    "description": "Optional seniority filter",
                    "example": "executive"
                  },
                  "department": {
                    "type": "string",
                    "description": "Optional department filter",
                    "example": "management"
                  },
                  "decision_maker": {
                    "type": "boolean",
                    "description": "Optional decision-maker filter",
                    "example": "true"
                  }
                }
              }
            }
          },
          "description": "Returns personal contacts for a company at no credit cost. Each request returns at most 10 contacts; use offset to load the next page. Name, title, LinkedIn, and other contact fields are always included. Only the email address (email / value) is null until unlocked."
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "example": {
                  "data": {
                    "domain": "stripe.com",
                    "organization": "Stripe",
                    "contacts": [
                      {
                        "id": "a1b2c3",
                        "value": null,
                        "type": "personal",
                        "confidence": 94,
                        "first_name": "Jane",
                        "last_name": "Doe",
                        "position": "CEO",
                        "seniority": "executive",
                        "department": "executive",
                        "decision_maker": true,
                        "linkedin": "https://www.linkedin.com/in/jane",
                        "phone_number": "+1 555 0100",
                        "email_revealed": false,
                        "reveal_credits": 2
                      }
                    ]
                  },
                  "meta": {
                    "results": 42,
                    "limit": 10,
                    "offset": 0,
                    "credits_used": 0,
                    "credits_remaining": 500
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request",
            "content": {
              "application/json": {
                "example": {
                  "error": "Invalid request"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "example": {
                  "error": "Unauthorized"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "example": {
                  "error": "Not Found"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "example": {
                  "error": "Too Many Requests"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "example": {
                  "error": "Internal server error"
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    }
  },
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "x-api-key"
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 102,
      "1": 183,
      "2": 97,
      "3": 197,
      "4": 10,
      "5": 143,
      "6": 143,
      "7": 0,
      "8": 25,
      "9": 18,
      "10": 83,
      "11": 124
    }
  }
}
```