---
updatedAt: 2026-08-24T17:21:21.000Z
agentTools:
  projectIndex: https://dropleads.readme.io/llms.txt
---

# Search Companies

Search for companies using filters. **Each company returned in the current page costs 0.1 credit**.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Prime-DB V2 & Company V1 API",
    "version": "2.0.0",
    "description": "DropLeads Prime-DB API: search, filter, and enrich B2B contacts and companies. V2 uses a unified credits table, email verification before charging, and no daily limits.",
    "contact": {
      "email": "support@dropleads.io",
      "url": "https://dropleads.io"
    }
  },
  "servers": [
    {
      "url": "https://prime.dropleads.io",
      "description": "Production server"
    }
  ],
  "security": [
    {
      "ApiKeyAuth": []
    }
  ],
  "paths": {
    "/api/v1/companies/search": {
      "post": {
        "summary": "Search Companies",
        "description": "Search for companies using filters. **Each company returned in the current page costs 0.1 credit**.",
        "parameters": [
          {
            "name": "Content-Type",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "application/json"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "filters": {
                    "type": "object",
                    "description": "All fields optional. Combined with AND.",
                    "properties": {
                      "companyNames": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "companyDomains": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "linkedinUrls": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "industries": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "example": [
                          "Computer Software"
                        ]
                      },
                      "industriesExclude": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "keywords": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "keywordsExclude": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "technologies": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "example": [
                          "React"
                        ]
                      },
                      "technologiesExclude": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "employeeRanges": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "example": [
                          "51-100"
                        ]
                      },
                      "customEmployeeRange": {
                        "type": "object",
                        "properties": {
                          "min": {
                            "type": "integer"
                          },
                          "max": {
                            "type": "integer"
                          }
                        }
                      },
                      "revenueRange": {
                        "type": "object",
                        "properties": {
                          "min": {
                            "type": "number",
                            "nullable": true
                          },
                          "max": {
                            "type": "number",
                            "nullable": true
                          }
                        }
                      },
                      "fundingRange": {
                        "type": "object",
                        "properties": {
                          "min": {
                            "type": "number",
                            "nullable": true
                          },
                          "max": {
                            "type": "number",
                            "nullable": true
                          }
                        }
                      },
                      "foundedYear": {
                        "type": "object",
                        "properties": {
                          "min": {
                            "type": "integer",
                            "nullable": true
                          },
                          "max": {
                            "type": "integer",
                            "nullable": true
                          }
                        }
                      },
                      "countries": {
                        "type": "object",
                        "properties": {
                          "include": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "exclude": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          }
                        }
                      },
                      "states": {
                        "type": "object",
                        "properties": {
                          "include": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "exclude": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          }
                        }
                      },
                      "cities": {
                        "type": "object",
                        "properties": {
                          "include": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "exclude": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          }
                        }
                      },
                      "regions": {
                        "type": "object",
                        "properties": {
                          "include": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "exclude": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          }
                        },
                        "description": "Expands to countries."
                      },
                      "lists": {
                        "type": "object",
                        "properties": {
                          "type": {
                            "type": "string",
                            "enum": [
                              "include",
                              "exclude"
                            ]
                          },
                          "listIds": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    }
                  },
                  "pagination": {
                    "type": "object",
                    "properties": {
                      "page": {
                        "type": "integer",
                        "default": 1
                      },
                      "limit": {
                        "type": "integer",
                        "default": 20,
                        "maximum": 50
                      }
                    }
                  }
                },
                "example": {
                  "filters": {
                    "industries": [
                      "Computer Software"
                    ],
                    "employeeRanges": [
                      "51-100"
                    ],
                    "countries": {
                      "include": [
                        "United States"
                      ],
                      "exclude": []
                    }
                  },
                  "pagination": {
                    "page": 1,
                    "limit": 20
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "companies": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "description": "Primary domain, used as the unique company key."
                              },
                              "name": {
                                "type": "string",
                                "example": "Tech Corp"
                              },
                              "domain": {
                                "type": "string",
                                "example": "techcorp.com"
                              },
                              "websiteUrl": {
                                "type": "string"
                              },
                              "linkedinUrl": {
                                "type": "string"
                              },
                              "industry": {
                                "type": "string",
                                "example": "Computer Software"
                              },
                              "keywords": {
                                "type": "string",
                                "nullable": true
                              },
                              "employees": {
                                "type": "integer",
                                "nullable": true
                              },
                              "foundedYear": {
                                "type": "integer",
                                "nullable": true
                              },
                              "annualRevenue": {
                                "type": "number",
                                "nullable": true
                              },
                              "totalFunding": {
                                "type": "number",
                                "nullable": true
                              },
                              "city": {
                                "type": "string",
                                "nullable": true
                              },
                              "state": {
                                "type": "string",
                                "nullable": true
                              },
                              "country": {
                                "type": "string",
                                "nullable": true
                              },
                              "phone": {
                                "type": "string",
                                "nullable": true
                              },
                              "technologyNames": {
                                "type": "string",
                                "nullable": true
                              }
                            }
                          }
                        },
                        "total": {
                          "type": "integer"
                        }
                      }
                    },
                    "pagination": {
                      "type": "object",
                      "properties": {
                        "page": {
                          "type": "integer"
                        },
                        "limit": {
                          "type": "integer"
                        },
                        "total": {
                          "type": "integer"
                        },
                        "totalPages": {
                          "type": "integer"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "code": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "code": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "402": {
            "description": "Insufficient credits",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "code": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "code": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-Key",
        "description": "Your Prime-DB API key. Alternatively, send `Authorization: Bearer <token>`."
      }
    }
  }
}
```