The Merchants API is the main interface for publishers wishing to know statistics about the merchants on our network. The Merchants API returns all merchants that Skimlinks works with. All values should be url encoded. For instance, if you are searching for "Best Buy", the phrase "Best Buy" should be encoded to Best%20Buy.
The Merchant API endpoint is:
http://api-merchants.skimlinks.com/merchants/
The Merchants API consists of the following methods:
Retrieve a list of our Merchant categories. Use in conjunction with the /category call to get a list of the merchants in a specific category.
| Fields | Description |
|---|---|
|
key
required |
Public API key - |
|
format
required |
The format of the returned results, either |
Returns all category information including the IDs. Any child categories are listed in a `children` element.
<?xml version="1.0" encoding="UTF-8"?>
<skimlinksCategories>
<category>
<id>1</id>
<name>adult & mature</name>
</category>
<category>
<id>2</id>
<name>arts, crafts & hobbies</name>
</category>
<category>
<id>3</id>
<name>automotive, cars & bikes</name>
</category>
<category>
<id>4</id>
<name>baby & parenting supplies</name>
</category>
<category>
<id>5</id>
<name>books & magazines</name>
</category>
<skimlinksCategories>
Retrieve a list of domains for the Merchants we work with.
| Fields | Description |
|---|---|
|
key
required |
Public API key - |
|
format
required |
The format of the returned results, either |
|
start
optional |
The index from which to start returning results.
(defaults to 0) - |
|
limit
optional |
Number of results to return - |
Return 1 merchant domain, starting from the 100th domain.
<?xml version="1.0" encoding="UTF-8"?>
<skimlinksMerchantsDomains version="0.4">
<timeStamp>2012-03-12T15:36:49+00:00</timeStamp>
<numFound>23094</numFound>
<numStarted>100</numStarted>
<numReturned>1</numReturned>
<domains>
<domain id="23380">neogie.com</domain>
</domains>
</skimlinksMerchantsDomains>
This method returns information about merchants and categories that match the supplied search term. The search term is matched against merchant name and domain, and category name.
| Fields | Description |
|---|---|
|
search
required |
The merchant to search for - |
|
key
required |
Public API key - |
|
format
required |
The format of the returned results, either |
|
start
optional |
The index from which to start returning results.
(defaults to 0) - |
|
limit
optional |
Number of results to return - |
|
filter_by
optional |
Set to |
Searching for the word 'Con' limiting the result set to two.
<?xml version="1.0" encoding="UTF-8"?>
<skimlinksMerchants version="0.4">
<timeStamp>2012-09-12T14:05:37+01:00</timeStamp>
<numFound>8</numFound>
<numStarted>0</numStarted>
<numReturned>2</numReturned>
<merchants>
<merchant>
<dateUpdated>2012-09-11T00:02:00+01:00</dateUpdated>
<merchantID>9643</merchantID>
<preferred>
<ecpc>0.00</ecpc>
<featuredCommission>5.000</featuredCommission>
<commissionDetails><![CDATA[Was 3% --> NOW 5% + $50.00 Palm Purchase!!
(2% third party)]]></commissionDetails>
<commission><![CDATA[5% (2% third party) + $50.00 Palm Purchase]]></commission>
<description><![CDATA[The HP Home & Home Office Store, Hewlett-Packard's direct-to-consumer e-commerce business, offers U.S. customers a one-stop shop for HP products including customized HP Pavilion and Compaq Presario PCs, handheld devices, printers, printing supplies and digital entertainment products.]]></description>
</preferred>
<merchantName>HP Home &amp; Home Office Store</merchantName>
<averageConversionRate>0.17%</averageConversionRate>
<averageCommission>4.95%</averageCommission>
<logo>http://s.skimresources.com/logos/9643.gif</logo>
<domains>
<domain>
<domainID>91710</domainID>
<domainName>falconpro.fc.hp.com</domainName>
</domain>
</domains>
<categories/>
</merchant>
<merchant>
<dateUpdated>2012-09-11T00:02:00+01:00</dateUpdated>
<merchantID>24926</merchantID>
<preferred>
<ecpc>0.00</ecpc>
<featuredCommission>12.000</featuredCommission>
<commissionDetails><![CDATA[Was 9% --> NOW 12%!!]]></commissionDetails>
<commission><![CDATA[12%]]></commission>
<description><![CDATA[Convenient Gadgets is an online retailer offering unique gadgets to customers throughout North America. The company prides itself in finding unique gadgets that you can’t find just anywhere and make great personal or gift purchases. ]]></description>
</preferred>
<merchantName>Convenient Gadgets &amp; Gifts, LLC</merchantName>
<averageConversionRate>2.58%</averageConversionRate>
<averageCommission>7.29%</averageCommission>
<logo>http://s.skimresources.com/logos/24926.jpg</logo>
<domains>
<domain>
<domainID>22428</domainID>
<domainName>cgets.com</domainName>
</domain>
</domains>
<categories>
<category id="33">gifts</category>
</categories>
<countries>
<country>united states</country>
</countries>
</merchant>
</merchants>
<categories>
<category>
<id>8</id>
<name>consumer electronics</name>
<merchantCount>870</merchantCount>
<children>
<category>
<id>9</id>
<name>audio, tv & home theatre</name>
<merchantCount>598</merchantCount>
</category>
<category>
<id>10</id>
<name>cameras & photos</name>
<merchantCount>741</merchantCount>
</category>
<category>
<id>11</id>
<name>gadgets & geeks</name>
<merchantCount>748</merchantCount>
</category>
<category>
<id>12</id>
<name>mobiles, pdas & satnav</name>
<merchantCount>788</merchantCount>
</category>
<category>
<id>13</id>
<name>mp3 players & accessories</name>
<merchantCount>683</merchantCount>
</category>
</children>
</category>
</categories>
</skimlinksMerchants>
Returns information about merchants in a particular category. Use in conjunction with the /categories call to get a list of the Category IDs to use with /category call.
| Fields | Description |
|---|---|
|
key
required |
Public API key - |
|
format
required |
The format of the returned results, either |
|
start
optional |
The index from which to start returning results.
(defaults to 0) - |
|
limit
optional |
Number of results to return - |
|
filter_by
optional |
Set to |
Return the first merchant in the category 'Arts, Crafts & Hobbies'
<?xml version="1.0" encoding="UTF-8"?>
<skimlinksMerchants version="0.4">
<timeStamp>2012-03-12T15:20:52+00:00</timeStamp>
<numFound>313</numFound>
<numStarted>0</numStarted>
<numReturned>1</numReturned>
<merchants>
<merchant>
<dateUpdated>2012-03-11T00:02:00+00:00</dateUpdated>
<merchantID>17751</merchantID>
<merchantName>123Posters.com, Inc.</merchantName>
<averageConversionRate>0</averageConversionRate>
<averageCommission>0</averageCommission>
<logo>
http://skimlinks.com/images/merchantlogos/17751.jpg
</logo>
<domains>
<domains>
<domain>
<domainID>9695</domainID>
<domainName>123posters.com</domainName>
</domain>
</domains>
<categories>
<category id="10">consumer electronics;cameras & photos</category>
<category id="8">consumer electronics</category>
<category id="47">music, mp3 & movies</category>
<category id="2">arts, crafts & hobbies</category>
</categories>
<countries>
<country>united states</country>
</countries>
</merchant>
</merchants>
</skimlinksMerchants>