Product Search API allows searching for companies using product names and locations
Copy #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" }]
}
Soleadify Search Location API
This API exposes a list of search locations provided by Soleadify.
Copy # 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"
}