Welcome to Gazelle API documentation.
Our REST API allows you to query our vast dataset of business profiles and companies and receive
and
get an enriched profile of the item you were looking for. Our two main calls are:
https
:
//gz-api.gazelle.vision/public
When using curl or httpie standalone client, one must pass the session along with each request. We will give you a token and the only one thing that you need to do is to pass it in cookies, when you make request. On the right you can see base request with authentication token in cookies, using curl.
curl 'https://gz-api.gazelle.vision/public/companies' \
-H $'Cookie: auth_tkt=your_authentication_token'
Gazelle uses common HTTP response codes to indicate the status of the API request. In case of an error, Gazelle API will return the correspondent code.
There are few common operations that can be used with some filters in one request.
Comparison:
GET https
:
//gz-api.gazelle.vision/public/companies?founded__gt=2008
Request example for inclusion
GET https
:
//gz-api.gazelle.vision/public/companies?address.country.name__in=Ukraine, France
Request example for existing fields
GET https
:
//gz-api.gazelle.vision/public/companies?address.country.name__exists=1
The company API provides information about any organization you look for to help you get a complete picture, such as overview, location, email, website and smuch more. On the right you can see base url for companies API. To use any filter below you need to add "?" after companies, and for using few filters in one request you need to join them by "&" symbol
GET https
:
//gz-api.gazelle.vision/public/companies
GET https
:
//gz-api.gazelle.vision/public/companies?address.country.code=UA
GET https
:
//gz-api.gazelle.vision/public/companies?address.country.code=UA&founded=2008
GET https
:
//gz-api.gazelle.vision/public/companies?created_at__lte=2020-03-25
GET https
:
//gz-api.gazelle.vision/public/companies?address.city__in=Kyiv, London
GET https
:
//gz-api.gazelle.vision/public/companies?founded__exists=1
The person API lets you look up a person data based on his name and the company, he works for. For example, you can get the person’s email and phone number, as well as his or her social network. You have to send body in json format to make request, below you can see instructions
GET https
:
//gz-api.gazelle.vision/public/people
GET https
:
//gz-api.gazelle.vision/public/people?updated_at=2019-03-26
GET https
:
//gz-api.gazelle.vision/public/people?updated_at=2019-03-26&job_title_keywords=executive
GET https
:
//gz-api.gazelle.vision/public/people?updated_at__gte=2019-03-25
GET https
:
//gz-api.gazelle.vision/public/people?job_title__in=Pres, Mgr
GET https
:
//gz-api.gazelle.vision/public/people?full_name__exists=1
The download API lets you receive data about companies and people in csv format. You have to use authentication token for this curl examples (instruction in Authentication). Also you have to send body in json format to make request, below you can see instructions.
{"_fields":"gid__as__Company GID,gscore__as__GScore,
n.name__as__Name,n.url__as__Website,emails.0.email__as__Main Email,
emails.1.email__as__Alt Email,phones.0.phone__as__Main Phone,
phones.1.phone__as__Alt Phone,address.street__as__Street,address.city__as__City,
address.admin1.name__as__State,address.postal_code__as__Postal Code,
address.country.name__as__Country,revenue__as__Revenue,employees__as__Employees,
address.geo.lat__as__Latitude,address.geo.lon__as__Longitude,description__as__Company Description,
founded__as__Year Founded,social.linkedin.url__as__LinkedIn,social.facebook.url__as__Facebook,
social.twitter.url__as__Twitter,social.crunchbase.url__as__Crunchbase,primary_naics__as__Primary Naics,
industries.0.naics__as__NAICS 1,industries.1.naics__as__NAICS 2,industries.2.naics__as__NAICS 3,
industries.3.naics__as__NAICS 4,industries.4.naics__as__NAICS 5,
locations.countries.codes__as__International Presence"}
Curl request with all possible fields for companies request
curl -X POST 'https://gz-api.gazelle.vision/public/download/companies' \
-H 'Content-Type: application/json' \
-H $'Cookie: auth_tkt=your_auth_tkn' \
--data-raw '{"_fields":"all"}'
{"_fields":"company.gid,first_name,last_name,job_title_keywords,job_title__as__Title,
full_name__as__Person Name,job_title__as__Title,email__as__Email,
social.linkedin.url__as__LinkedIn,social.facebook.url__as__Facebook,
social.twitter.url__as__Twitter,social.crunchbase.url__as__Crunchbase", "_limit":"10"}
Curl request with all possible fields for people request
curl -X POST 'https://gz-api.gazelle.vision/public/people' \
-H 'Content-Type: application/json' \
-H $'Cookie: auth_tkt=your_auth_tkn' \
--data-raw '{"_fields":"all", "_limit":"20"}'
In this section you can see basic examples of response for Companies API and for People API.
{
"address":{
"admin0":{
"region":"South",
"division":"South Atlantic"
},
"admin1":{
"fips":"51",
"name":"Virginia",
"code":"VA",
"admin_type":"state"
},
"admin2":{
"fips":"51199",
"name":"York",
"code":"51199",
"admin_type":"county"
},
"city":"Yorktown",
"country":{
"code":"US",
"name":"United States"
},
"geo":{
"lat":37.1744658,
"lon":-76.4755822
},
"postal_code":"23692",
"region":{
"code":"019",
"name":"Americas"
},
"street":"6642 George Washington Mem Hwy",
"subregion":{
"code":"021",
"name":"Northern America"
}
},
"created_at":"2020-02-24T00:46:00.177357",
"description":"Beauty Salons",
"gid":"57ac33f46890a345833a3f2c",
"industries":[
{
"industry_type":"local",
"naics":"812112",
"name":"Beauty Salons",
"primary":true
}
],
"locations":{
"countries":{
"count":1,
"codes":[
"US"
]
},
"hq":[
"US:VA:51199:Yorktown:23692"
]
},
"metrics":{
"global_employees":10,
"global_revenue":343789
},
"name":"Hairphenalia 17",
"parent":"NA",
"phones":[
{
"phone":"+1 757-898-0997",
"source":"dbusa"
}
],
"primary_naics":"812112",
"revenue_range":[
0,
10000000
],
"roles":[
"hq",
"standalone"
],
"root_parent":"NA",
"updated_at":"2020-02-24T00:46:00.177357",
"website":"www.hairphenalia17llc.com"
}
{
"company":{
"gid":"5b342d0233c59c02cc55615e"
},
"first_name":"Rose",
"full_name":"Rose De Fremery",
"job_title":"Group Owner",
"last_name":"De Fremery",
"pid":"5b342d0233c59c02cc55615e:Rose De Fremery",
"social":{
"crunchbase":{
"url":"https://www.crunchbase.com/person/rose-de-fremery",
"handle":"person/rose-de-fremery"
},
"facebook":{
"url":"http://www.facebook.com/rdefremery",
"handle":"rdefremery"
},
"linkedin":{
"url":"http://www.linkedin.com/in/rosedefremery",
"handle":"in/rosedefremery"
},
"twitter":{
"url":"http://twitter.com/rosedefremery",
"handle":"rosedefremery"
}
},
"updated_at":"2019-03-26T21:02:41.559000"
}