Query Builder Tool

A free resource for building Elasticsearch Queries for Search APIs

What Is It?

The Query Builder allows you to interactively construct Elasticsearch queries for the Person and Company Search APIs right from your browser - no coding necessary! The tool also shows the total number of profiles matches for your query without using any API credits, and provides auto-generated code examples that you can use to run your query and retrieve the actual profile results.

Although creating UI tools is not something that we focus on at PDL, this is a tool that we feel provides a great deal of value to our users and ultimately supports our mission of democratizing high-quality B2B data.

How Does It Work?

The Query Builder is very simple to use!

  1. Select the type of data you want to query (either Person or Company).
  2. Enter the field(s) you want to query using the dropdown menu.
  3. Enter the value(s) you want to match & the matching logic
    • "exists" for if a field is not null
    • "is" for an exact match
    • "is one of" for matching at least one value in a list
    • "not" options are available for each option above
  4. Click "Update Query."
  5. See the total number of matches and sample code.

That's it!

The following GIF illustrates a simple search for all current Amazon employees based in Amazon's Seattle office:


Where to Find It

Anyone interested in trying out the Query Builder can sign up for a free API key and access the tool through the API dashboard.

For More Information

For more information, check out our detailed walkthroughs of the Query Builder: