This will walk you through querying the Business Database using Postman!
Click on "Search Business Data" to get started.
Click on the "Body" tab and make sure you have "Raw" selected and that your text is set to "JSON(application/JSON)".
The "Body" window will have 2 fields in it already. Hitting "Send" will query the Business Database for all records with a
The "Wild Card"
* in your query will search for any possible value that could fill that spot. In the above case, it is essentially saying "Find all records that have a key value set to anything"
You can query the database using most of the fields in the
Business Data Schema.
You can search with different fields together inside the
of your query string using
tells the API to process both values--tripadvisor.com and booking.com--as the
of the record. Because they are connected with
, we will see records that have one or the other. Had we used
, only records with both
would be shown.
To refine your query more, you may want to search for a specific word and not allow for any variations on it. To do that, you put it inside quotes. However, because you are already inside the main quotes of your string, you need to escape the new quotes by adding
in front of each
inside the main quotation marks. See the treatment of
in the above example for clarification.
In addition to the
, there are other values you can specify in the body text. You can set
to either be
to either be
, and you can call any
you have saved to your account.
not only changes the layout of your result file, but also changes how you see the records in Postman.
If you'd like to create a custom view that you don't want to save, you can customize it inside the
field before running your query!
Custom View Formatting
When creating the
object, put the entire thing inside of
, with each field being called inside of
. If you are listing multiple fields, put a comma after each one except for the last one. See the screenshot above for an example.
When you send the request with a
it will start downloading your files. You will need your
them, which you can find here.
download ID to access