Popular Keywords API

API Web Service allows you to search  Discovery Japan Mall  products and view only specific categories.
 Affiliate membership registration  is required to use the API service.
The daily request limit for API Web Service is 50,000 requests.




Request URL

  • Method : GET
https://partner.discovery-japan.me/api/popular_keywords


Request Parameter

Title
Title
Title
Title
Title
Title
Parameter
Require
Type
Default
Example
Description
api_key
Yes
string
AB123def456ghi789zxc000jkl
API Key from Affilate
aff
Yes
Integer
060409010
Affiliate member ID

Example Request

https://partner.discovery-japan.me/api/?api_key=AB123def456ghi789zxc000jkl
&aff=060409010


Response Field

Sorted by number of sales.
Title
Title
Title
Title
Parameter
Type
Description
Example
totalResultsAvailable
integer
Total number of search
firstResultPosition
integer
Number of pages (first = 1)
Hit
Name
string
Product name
Description
string
Product description
Url
string
Product URL (this url includes affiliate tracking code)
Availability
string
  • in stock
  • out of stock
in stock
Code
integer
Product Gtin coade (13 or 8 digits)
4900100100101
ProductId
integer
Product ID
1234
Image
string
Image URL
https://.....
Price
integer
product price (currency is Japanese Yen)
Category1
string
Root category
Category2
string
Category level 2
category level1 || category level 2
Category3
string
Category level 3 , Separate mark is "||"
category level1 || category level 2 || category level 3
Release
0000-00-00 00:00:00
Tag
string
Related keywords, Separate mark is "//"
tag1//tag2//tag3 ....

Example Response

<ResultSet totalResultsAvailable="2">
<Result>
<Request>
<Query/>
</Request>
<Hit index="1">
<Keyword>seiko</Keyword>
<Url>https://partner.discovery-japan.me/products/category.php?q=seiko&affID=060409010</Url>
</Hit>
<Hit index="2">
<Keyword>g-shock</Keyword>
<Url>https://partner.discovery-japan.me/products/category.php?q=g-shock&affID=060409010</Url>
</Hit>
</Hit>
</Result>
</ResultSet>