Registration   Forgot password?

Catalogue of Categories

If you wish to receive the catalogue of categories please open the following file:


<element> – optional elements
param – required parameters
param – optional parameters

API Request:
POST /API/categories.php?api_id=id&api_key=key HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Content-Length: length

(all the possible parameters of request can be found below)

API Response:
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8" ?> 
  <category id="category_id" parID="category_id" active="0|1" priority="integer">
    <image src="url" width="integer" height="integer" size="integer" />

Request parameters (not essential for use unless specified):

id category ID. For choosing multiple items their ID must be separated with commas or please transmit this parameter in the array format (id[])
parID parent ID category. One by one only
active 0 (only negative) or 1 (represents only active). It should be transmitted only if needs to be sorted accordingly to this parameter.
name name. This parameter picks up everything that contains the same symbols in the transmitted string.
exc_field[] the fields to be excluded. The following fields can be excluded: name, title, description, meta_title, meta_keywords, meta_description, image

Response parameters:

Information about search items (manufacturers) appears in XML format in the answer field as following:

<objects> - external container
<category> - category (repetitive)
id unique identification key. Integer number.
parID - parent category ID. Integer number. If it is -0- then this category belongs to higher level.
active - active checkpoint -0- or -1-
priority - priority. Integer number (from 0 to 255) where lower number creates more high priority.
<name> - name
<title>* - long name (header)
<comment>* - brief category description
<description>* - complete category description
<meta_title>* - tag text TITLE transformed in HTML format
<meta_keywords>* - the keywords to be included into meta-tags
<meta_description>* - meta-tags insertion description
<image>* - image
scr - image URL address
width - image resolution in pixels (width)
height - image resolution in pixels (height)
size - image file size (bytes)
Contact Us Legal and Policies Sitemap
© 2004 – 2021