6.0.0 • Published 5 years ago

@datafire/owler v6.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

@datafire/owler

Client library for Owler

Installation and Usage

npm install --save @datafire/owler
let owler = require('@datafire/owler').create({
  user_key: ""
});

.then(data => {
  console.log(data);
});

Description

Search for information on companies using a website or company name and get access to Company Data, News, Blog Posts, Competitor Lists and much more.

Actions

basicCompanySearch

The Company Basic Search API searches for a company based on the input and will returns results containing basic details about matching companies. By default the API returns the top 10 available results unless the limit is specified. The maximum limit is restricted to 30.

owler.basicCompanySearch({
  "q": ""
}, context)

Input

  • input object
    • q required string: Search term
    • fields array: Fields to be searched - name, website, ticker, permid. If not specfied, will be searched against all fields
    • limit string: Number of results to be displayed - 10 (by default, if not specified) to 30
    • format string (values: xml, json): Format of the response content - json (by default if not specified), xml

Output

v1.company.competitor.id.companyId.get

The Competitors API provides basic information about top 3 competitors of a company specified in the Company Id

owler.v1.company.competitor.id.companyId.get({
  "companyId": ""
}, context)

Input

  • input object
    • companyId required string: Company Id
    • format string (values: xml, json): Format of the response content - json (by default if not specified), xml

Output

v1.company.competitor.url.website.get

The Competitors API provides basic information about top 3 competitors of a company specified in the website

owler.v1.company.competitor.url.website.get({
  "website": ""
}, context)

Input

  • input object
    • website required string: Company Id
    • format string (values: xml, json): Format of the response content - json (by default if not specified), xml

Output

v1.company.competitorpremium.id.companyId.get

The Competitors API provides basic information about all competitors of a given company Id

owler.v1.company.competitorpremium.id.companyId.get({
  "companyId": ""
}, context)

Input

  • input object
    • companyId required string: Company Id
    • pagination_id string: Pass pagination_id as * in the first API request. The API response will return top competitors along with the next pagination_id which can be passed in the subsequent API request to get the next set of competitors. Repeat this process until needed or till the pagination_id returned is blank. Note:Every response will have maximum of 50 competitors.
    • format string (values: xml, json): Format of the response content - json (by default if not specified), xml

Output

v1.company.competitorpremium.url.website.get

The Competitors API provides basic information about all competitors of a given company Id

owler.v1.company.competitorpremium.url.website.get({
  "website": ""
}, context)

Input

  • input object
    • website required string: Company Id
    • pagination_id string: Pass pagination_id as * in the first API request. The API response will return top competitors along with the next pagination_id which can be passed in the subsequent API request to get the next set of competitors. Repeat this process until needed or till the pagination_id returned is blank. Note:Every response will have maximum of 50 competitors.
    • format string (values: xml, json): Format of the response content - json (by default if not specified), xml

Output

fuzzyCompanySearch

The Company Fuzzy Search API searches for a company based on the input and will return results containing basic details about matching companies. By default the API returns at most top 10 available results unless the limit is specified. The maximum limit is restricted to 30.

owler.fuzzyCompanySearch({
  "q": "",
  "fields": []
}, context)

Input

  • input object
    • q required string: Search term
    • fields required array: Fields to be searched - name, website, ticker, permid, address, phone. Each field and its corresponding value has to be specified
    • limit string: Number of results to be displayed - 10 (by default, if not specified) to 30
    • format string (values: xml, json): Format of the response content - json (by default if not specified), xml

Output

v1.company.id.companyId.get

The Company Data API provides complete information about a company for the specified Company Id

owler.v1.company.id.companyId.get({
  "companyId": ""
}, context)

Input

  • input object
    • companyId required string: Company Id
    • format string (values: xml, json): Format of the response content - json (by default if not specified), xml

Output

searchCompany

The Company Search API searches for a company based on the input and will returns results containing basic details about matching companies. By default the API returns the top 10 available results unless the limit is specified. The maximum limit is restricted to 30.

owler.searchCompany({
  "q": ""
}, context)

Input

  • input object
    • q required string: Search term
    • fields array: Fields to be searched - name, website, ticker. If not specified, will be searched against all fields
    • limit string: Number of results to be displayed - 10 (by default, if not specified) to 30
    • format string (values: xml, json): Format of the response content - json (by default if not specified), xml

Output

v1.company.url.website.get

The Company Data API provides complete information about a company for the specified URL

owler.v1.company.url.website.get({
  "website": ""
}, context)

Input

  • input object
    • website required string: Company Domain
    • format string (values: xml, json): Format of the response content - json (by default if not specified), xml

Output

v1.companypremium.id.companyId.get

The Company Premium Data API provides complete information about a company for the specified Company Id

owler.v1.companypremium.id.companyId.get({
  "companyId": ""
}, context)

Input

  • input object
    • companyId required string: Company Id
    • format string (values: xml, json): Format of the response content - json (by default if not specified), xml

Output

v1.companypremium.url.website.get

The Company Data API provides complete information about a company for the specified URL

owler.v1.companypremium.url.website.get({
  "website": ""
}, context)

Input

  • input object
    • website required string: Company Domain
    • format string (values: xml, json): Format of the response content - json (by default if not specified), xml

Output

v1.feed.get

The Feeds API provides a list of feeds and individual feed information for the given Company Ids and Category. By default the API returns the latest 10 feeds available unless the limit is specified. The maximum result is restricted to 100 feeds per API request.

owler.v1.feed.get({
  "company_id": []
}, context)

Input

  • input object
    • format string (values: xml, json): Format of the response content - json (by default if not specified), xml
    • company_id required array: Company Ids separated by comma (Maximum of 150 Company Ids)
    • limit string: Number of results to be displayed - 10 (by default, if not specified) to 100
    • pagination_id string: Pass pagination_id as blank in the first API request. The API response will return the latest feeds along with the next pagination_id which can be passed in the subsequent API request to get the next set of feeds. Repeat this process until needed or till the pagination_id returned is blank
    • category array: Categories separated by comma. If not specified, will search against all categories

Output

v1.feed.url.get

The Feeds API provides a list of feeds and individual feed information for the given Company Websites and Category. By default the API returns the latest 10 feeds available unless the limit is specified. The maximum result is restricted to 100 feeds per API request.

owler.v1.feed.url.get({
  "domain": []
}, context)

Input

  • input object
    • format string (values: xml, json): Format of the response content - json (by default if not specified), xml
    • domain required array: Company Websites separated by comma (Maximum of 10 Company Websites)
    • limit string: Number of results to be displayed - 10 (by default, if not specified) to 100
    • pagination_id string: Pass pagination_id as blank in the first API request. The API response will return the latest feeds along with the next pagination_id which can be passed in the subsequent API request to get the next set of feeds. Repeat this process until needed or till the pagination_id returned is blank
    • category array: Categories separated by comma. If not specified, will search against all categories

Output

Definitions

Acquisition

  • Acquisition object
    • acquirer_company_id string
    • amount string
    • company_id string
    • date string
    • name string
    • status string
    • undisclosed string
    • website string

Address

  • Address object
    • city string
    • country string
    • phone string
    • postal_code string
    • state string
    • street1 string
    • street2 string

Ceo

  • Ceo object
    • ceo_rating string
    • first_name string
    • image_url string
    • last_name string

CompanyBasicSearchVO

  • CompanyBasicSearchVO object
    • company_id integer
    • hq_address Address
    • name string
    • perm_id string
    • profile_url string
    • short_name string
    • website string

CompanyBasicVO

  • CompanyBasicVO object
    • company_id required integer
    • logo_url required string
    • name required string
    • profile_url required string
    • short_name string
    • website required string

CompanyCompetitorVO

CompanySearchResultVO

  • CompanySearchResultVO object
    • company_id required integer
    • company_type string (values: Private, Public, Product/Brand/Service, NGO/NPO/NFP/Organization/Association, Investment Company, Government)
    • description string
    • hq_address Address
    • logo_url required string
    • name required string
    • perm_id string
    • profile_url required string
    • short_name string
    • stock Stock
    • website required string

CompetitorBasicVO

  • CompetitorBasicVO object
    • company_id required integer
    • logo_url required string
    • name required string
    • profile_url required string
    • score required integer
    • short_name string
    • website required string

FeedsVO

  • FeedsVO object
    • category string
    • company CompanyBasicVO
    • enclosure_image string
    • feed_date string
    • id string
    • owler_feed_url string
    • publisher_logo string
    • publisher_name string
    • source_url string
    • title string

Funding

  • Funding object
    • amount string
    • date string
    • investor array
    • type string
    • undisclosed string

Investor

  • Investor object
    • company_id string
    • name string
    • website string

SectorVO

  • SectorVO object
    • name string
    • parent_industry string

Stock

  • Stock object
    • exchange string
    • ticker string

basic_results

company

  • company object
    • acquisition array
    • ceo Ceo
    • company_id required integer
    • company_type string (values: Private, Public, Product/Brand/Service, NGO/NPO/NFP/Organization/Association, Investment Company, Government)
    • description string
    • employee_count string
    • facebook_link string
    • founded_date string
    • funding array
    • hq_address Address
    • industries array
      • items string
    • linkedin_link string
    • logo_url required string
    • name required string
    • perm_id string
    • portfolio_company_ids array
      • items integer
    • profile_url required string
    • revenue string
    • sectors array
    • short_name string
    • stock Stock
    • twitter_link string
    • website required string
    • youtube_link string

competitors

fuzzy_results

results

  • results object
    • feeds array
    • pagination_id string
6.0.0

5 years ago

5.0.0

7 years ago

4.0.0

7 years ago

3.0.0

8 years ago

2.0.3

8 years ago

2.0.2

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago

0.0.3

9 years ago

0.0.1

9 years ago