How can we help you?

Welcome to HookSounds’s Help Center, here you’ll find answers to commonly asked questions.

X

HookSounds REST API

HOOKSOUNDS REST API – Introduction

This RESTful API allows data to be retrieved remotely in either a jSON or XML format. The API includes methods for retrieving info about store products, store customers, etc.

The API is accessed via the edd-api end point, like so: 

https://www.hooksounds.com/edd-api/

Paging Parameters

By default, the API will return 10 results per page for tracks queries.

If a query has 20 results, the first ten will be displayed by default, but then the second 10 can be accessed by adding  &page=2 to the query string, like so:

http://www.hooksounds.com/edd-api/products/?key=c281cf0a95be875d9eeb284fb004c938&token=5f9432f3ffa5945755ebc66179810d70&page=2

You can change the number of results returned by using the number parameter. This example will return 25 results per page:

http://www.hooksounds.com/edd-api/products/?key=c281cf0a95be875d9eeb284fb004c938&token=5f9432f3ffa5945755ebc66179810d70&number=25

If you want to retrieve all results (no paging), set  number to -1.

HOOKSOUNDS REST API – Products

The HOOKSOUNDS REST API provides access to product information via the /products/ endpoint. You may access multiple products or a single product.  

A basic products query looks like this:

https://www.hooksounds.com/edd-api/products/

If you want to retrieve info for only a specific product, you can pass a product ID via the  product parameter:

http://www.hooksounds.com/edd-api/products/?product=7500