Response:
{ type: “business”, name: "Tesla Inc.", website: "https://www.tesla.com", industry: “Automotive", linkedinURL: “https://www.linkedin.com/company/tesla-motors", employeeCount: “10,001+ employees", headquarterAddress: "3500 Deer Creek Road, Palo Alto, CA 94304", headquarterCity: “Palo Alto", headquarterRegion: “California", headquarterCountry: “United States”, naicsIndustry: “5415:Computer Systems Design and Related Services“ }
Query using website domain: https://api.orginfo.io/data/v1/org/company?key=XXXXXXXXXX&domain=ibm.com
Status code: 200
Response:
{ name: "IBM", website: "https://www.ibm.com", industry: "Information Technology and Services", linkedinURL: "https://www.linkedin.com/company/ibm", employeeCount: "10,001+ employees", headquarterAddress: "New Orchard Road, Armonk, New York, NY 10504", headquarterCity: "Armonk", headquarterRegion: "New York", headquarterCountry: "United States", naicsIndustry: “3361:Motor Vehicle Manufacturing“ }
Query using IP address belonging to an ISP: https://api.orginfo.io/data/v1/org/company?key=XXXXXXXXXX&ip=64.137.157.0
Status code: 200
Response:
{ type: "isp", name: "Beanfield Metroconnect" }
Query with IP address / domain not in our database: https://api.orginfo.io/data/v1/org/company?key=XXXXXXXXXX&ip=180.210.91.23
Status code: 200
Response:
{ status: "error", error: { message: "Data not found", } }
Query with bogon IP address: https://api.orginfo.io/data/v1/org/company?key=XXXXXXXXXX&ip=10.109.0.23
Status code: 422
Response:
{ status: "error", error: { message: "Bogon IP address", } }
Query with invalid IP address: https://api.orginfo.io/data/v1/org/company?key=XXXXXXXXXX&ip=88:223:23
Status code: 400
Response:
{ status: "error", error: { title: "Wrong ip", message: "Please provide a valid IP address" } }