Market Research Library

FREE
By DataServices
Updated 4 months ago
Data
0.8/10
Popularity Score
41ms
Latency
-
Success Rate

Market Research Library API Documentation

The Market Research Library API provides metadata for country and industry reports that are produced by ITA’s trade experts and are available in ITA’s online market research library. ITA commercial officers that are stationed around the world, publish these authoritative reports in conjunction with Foreign Service officers from the State Department.

View API Details
GET/api.trade.gov/v2/market_research_library/search
GET/api.trade.gov/v2/market_research_library/search
Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Code Snippet
unirest.get("https://dataservices-market-research-library-v1.p.rapidapi.com/api.trade.gov/v2/market_research_library/search")
.header("X-RapidAPI-Host", "dataservices-market-research-library-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://dataservices-market-research-library-v1.p.rapidapi.com/api.trade.gov/v2/market_research_library/search
Request Method: GET
Response Headers
Response Body

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.get("https://dataservices-market-research-library-v1.p.rapidapi.com/api.trade.gov/v2/market_research_library/search")
.header("X-RapidAPI-Host", "dataservices-market-research-library-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication