Merchant Datafeed

Access metadata for merchants via our merchant API.

Merchant Endpoint

API Method

All API calls are made using the GET HTTP method.

API Authentication

Your API token is your Feeds4 authentication token that is passed to our service via the API url. The curly brackets shown are not part of your token and are used for display purposes only.

Base URL:

https://api.feeds4.com/v2/merchants/

Append your API token: Here is how to authenticate with the Feeds4 API:

https://api.feeds4.com/v2/merchants/?token={API TOKEN}

API Recordset

How many merchant records returned by our service depends on the recordset parameter. There are two accepted merchant recordset inputs: test (default) and all.

  • test – returns 10 results and is used primarily for testing.
  • all – returns all results matching your request.
https://api.feeds4.com/v2/merchants/?token={API TOKEN}&recordset=test
https://api.feeds4.com/v2/merchants/?token={API TOKEN}&recordset=all

API Data Structure

Merchant data returned by our merchant API is returned with one of two data structures, XML (default) or JSON.  Our merchant API can be configured to return XML or JSON using the response parameter.

All data returned in either data structure can be parsed using any programming language.

https://api.feeds4.com/v2/merchants/?token={API TOKEN}&response=xml
https://api.feeds4.com/v2/merchants/?token={API TOKEN}&response=json

API Response – XML

Here is an example merchant request in XML:

https://api.feeds4.com/v2/merchants/?token={API TOKEN}&response=xml

XML Response: Below you will find an example merchant API response from our server.

<merchants>
<item>
<id></id>
<merchant></merchant>
<slug></slug>
<website></website>
<domain></domain>
<network></network>
</item>
<merchants>

API Response – JSON

Here is an example request in JSON:

https://api.feeds4.com/v2/coupons/?token={API TOKEN}&response=json

JSON Response: Below you will find an example coupon API response from our server.

{"data":[{"id":"","merchant":"","slug":"","website":"","domain":"","network":""}]}