Search company using domain in zapier



I am doing a integration in zapier and would like to search for company in hubspot using the email domain. I know zapier doesn't allow this directy, so I was trying to do python code using the api documentation. But ended up getting an error in the code.

d = input_data['domain']

url = ''

data = {
"limit": 2,
"requestOptions": {
"properties": [
"offset": {
"isPrimary": true,
"companyId": 0

response =,data)
return response

Please have a look and any help in this regard would be highly appreciatable.



Hi @Nani_P,

Can you give me the full error you're getting?