Product Search

Product Search API allows searching for companies using product names and locations

Fields

FieldTypeDescription

pageInfo

Information about a page

totalCount

Int

Total Count of search results

nodes

List of search results

Query Example

#Query example for Product Search
query soleadifySearchByProduct($productNameTerms: [String!]!, $locations: [SoleadifyInputLocation!]) {
    soleadifySearchByProduct(productNameTerms: $productNameTerms, locations:$locations, first: 25, after:"") {
        pageInfo{
            startCursor
            hasPreviousPage
            endCursor
            hasNextPage
        }
        nodes {
            product {
                headline
                content
                url
                matchSnippets
            }
            company {
                craft {
                    id
                    displayName
                    ...
                    # All company fields
                }
                soleadifyId
                supplierTypes
                displayName
                legalNames
                commercialNames
                numLocations
                locations {
                    address
                    country
                    state
                    city
                    zipCode
                    latitude
                    longitude
                    hq
                }
                mainAddress {
                    address
                    country
                    state
                    city
                    zipCode
                    latitude
                    longitude
                    hq
                }
                employeeCount
                estimatedRevenue
                shortDescription
                longDescription
                tags
                mainBusinessCategory
                mainIndustry
                mainSector
                primaryPhone
                phoneNumbers
                primaryEmail
                emails
                otherEmails
                homepage
                websiteDomain
                websiteTld
                websiteLanguageCode
                facebook
                twitter
                instagram
                linkedin
                iosAppURL
                androidAppURL
                youtube
                cms
                alexaRank
                technologies
                naicsCodes2017
                naceCodesRev2
                ncciCodes281
                sicCodes
                sicsIndustry
                sicsSubsector
                sicsSector
                ibcInsurance
                createdAt
                lastUpdatedAt
            }
        }
    }
}

#variables
{
    "products":["semi conductor"],
    "locations":[{"country": "Canada", "city": "Toronto"},{"country": "United States"}]
}

Arguments

FieldTypeDescription

productNameTerms

[String!]!

List of products to search.

locations

List of locations to limit the search scope.

first

Int

Number of records to be returned. Default is 25. Range is 10 to 25.

after

String

Pagination cursor.

Soleadify Search Location API

This API exposes a list of search locations provided by Soleadify.

Fields

FieldTypeDescription

country

List of country objects with regions and cities.

Query Example

# Query Example for Soleadify Location API
query soleadifyLocationList($country: String, $region: String){
    soleadifyLocationList(country: $country, region: $region) {
        country {
            name
            region{
                name
                city
            }
        }
    }
}

#variables
{
    "country": "United States",
    "region": "New York"
}

Arguments

FieldTypeDescription

country

String

To filter locations for a specific country

region

String

To filter locations for a specific region

Last updated