Hoover's API Forums

Ask a Question

RSS Feed

AdvancedCompanySearch by Street Address and Phone Number

    • Lisa
    • Topic created 5 months ago

    Does the API support an advanced company search by street address and/or phone number?

  1. ojas5 months ago

    Hi Lisa,

    You can set \bal\specialtycriteria\companykeyword to a phone number (but not street address) to search by that value. The list of fields companykeyword searches can be found here: http://developer.hoovers.com/forum/read/47261#comment-48970

  2. Lisa5 months ago

    Hello Ojas,

    I would like to use AdvancedCompanySearch passing the company name as the keyword. Does the API support conditional search, i.e.

    <company_name> AND <phone_number>

    What other data fields could I use in the companyKeyword?

    Thanks,
    Lisa

  3. bhawley5 months ago

    Hi Lisa,

    Boolean operators and other data fields that are searched by companyKeyword are outlined in the post Ojas provided: http://developer.hoovers.com/forum/read/47261#comment-48970

    Thanks,
    Brian

  4. Lisa5 months ago

    Thanks for the link. I'm trying to get a better understanding of the FindCompanyByKeyword and FindCompanyByKeyword, so just few more questions:

    - So if I were to search by company name and phone number, I can simply use FindCompanyByKeyword, is that true?

    - But if I were to search by company name, phone number, city, state and zip, I would have to use AdvancedCompanySearch, right?

    - What is the searchBy in the FindCompanyByKeyword? Doc says "One of the included enumeration called SearchByFields". Where would I find this enumeration?

    Thank you,
    Lisa

  5. Lisa5 months ago

    I wanted to clarify my earlier question:

    How would I search companies specifically by companyName and phoneNumber? I found the SearchByFields in the wsdl, and it only supports companyName and ticker. As I understand, with FindCompanyByKeyword, if I don't specify "searchBy", the API searches the following fields:

    Company Name, Former Name, Doing Business As, Ticker, Duns, Synonym, , LOB Text, History Text, Where Text, What Text, Short Profile Text, Overview Text, Historical Profile Text, Primary Industry Codes, CRN (UK Registration No.)

  6. ojas5 months ago

    Hi Lisa,

    Since you just want to search by company name and phone number, you can omit searchBy and use the approach you mentioned above. Simply set keyword to:

    <company_name> AND <phone_number>

    This should work for both AdvancedCompanySearch and FindCompanyByKeyword.