This documentation is intended for developers that need to integrate with MegaMWS to find Amazon Products based a generic search of title, author, or keyword.

To use this API, an API Key and Secret need to be used. These credentials can be provided by the account holder, or on the API Credentials page.

Inputs

There are a couple of variables and concepts that need to be understood to use this system.

  1. Query
  2. QueryContextId (optional)
  3. API Key
  4. Secret
  5. Signature
  6. JSON

Query

The search term you are looking for.

QueryContextId

To make search results more accurate, limit results to a particular category. QueryContextId values are found here.

API Key

Your API key can be obtained from the API Credentials page. This identifies you when requesting data from MegaMWS.

Secret

The secret string is used in combination with the ASIN to generate the signature. This string is not passed in the URL to MegaMWS.

JSON

All data returned by MegaMWS is in JSON format. Virtually all systems can use this data.

Request

Here's a code snippet that shows the essentials, written in PHP:

$api_url = 'https://megamws.com/api/v1/ListMatchingProducts.php';
$query = 'calculus';
$QueryContextId = 'Books'; // optional
$signature = md5($query . $secret);
$url = $api_url . '?query=' . $query . '&apikey=' . $api_key . '&signature=' . $signature . '&QueryContextId=' . $QueryContextId;
$result = file_get_contents($url);
$data = json_decode($result,true);

Response

You will receive an array that has these parent elements:

  • products
  • errors
  • runtime_seconds

Example result, displayed using Kint-php. Click on '$data' to expand the array.

$out array (3)
products => array (10)
$out['products']
0 => array (11)
$out['products'][0]
asin => string (10) "1119293499"
$out['products'][0]['asin']
2005-06-20 18:51:39
authors => array (1)
$out['products'][0]['authors']
0 => string (10) "Ryan, Mark"
$out['products'][0]['authors'][0]
binding => string (9) "Paperback"
$out['products'][0]['binding']
edition => string (1) "2"
$out['products'][0]['edition']
dimensions => array (4)
$out['products'][0]['dimensions']
  • Table (4)
  • Contents (4)
  • valueunits
    height9.1inches
    length7.2inches
    width0.7inches
    weight0.84pounds
  • height => array (2)
    $out['products'][0]['dimensions']['height']
    value => double 9.1
    $out['products'][0]['dimensions']['height']['value']
    units => string (6) "inches"
    $out['products'][0]['dimensions']['height']['units']
    length => array (2)
    $out['products'][0]['dimensions']['length']
    value => double 7.2
    $out['products'][0]['dimensions']['length']['value']
    units => string (6) "inches"
    $out['products'][0]['dimensions']['length']['units']
    width => array (2)
    $out['products'][0]['dimensions']['width']
    value => double 0.7
    $out['products'][0]['dimensions']['width']['value']
    units => string (6) "inches"
    $out['products'][0]['dimensions']['width']['units']
    weight => array (2)
    $out['products'][0]['dimensions']['weight']
    value => double 0.84
    $out['products'][0]['dimensions']['weight']['value']
    units => string (6) "pounds"
    $out['products'][0]['dimensions']['weight']['units']
package_dimensions => array (4)
$out['products'][0]['package_dimensions']
  • Table (4)
  • Contents (4)
  • valueunits
    height0.9inches
    length9inches
    width7.3inches
    weight1.2pounds
  • height => array (2)
    $out['products'][0]['package_dimensions']['height']
    value => double 0.9
    $out['products'][0]['package_dimensions']['height']['value']
    units => string (6) "inches"
    $out['products'][0]['package_dimensions']['height']['units']
    length => array (2)
    $out['products'][0]['package_dimensions']['length']
    value => double 9
    $out['products'][0]['package_dimensions']['length']['value']
    units => string (6) "inches"
    $out['products'][0]['package_dimensions']['length']['units']
    width => array (2)
    $out['products'][0]['package_dimensions']['width']
    value => double 7.3
    $out['products'][0]['package_dimensions']['width']['value']
    units => string (6) "inches"
    $out['products'][0]['package_dimensions']['width']['units']
    weight => array (2)
    $out['products'][0]['package_dimensions']['weight']
    value => double 1.2
    $out['products'][0]['package_dimensions']['weight']['value']
    units => string (6) "pounds"
    $out['products'][0]['package_dimensions']['weight']['units']
list_price => array (2)
$out['products'][0]['list_price']
value => double 19.99
$out['products'][0]['list_price']['value']
currency_code => string (3) "USD"
$out['products'][0]['list_price']['currency_code']
publication_date => string (10) "2016-06-07"
$out['products'][0]['publication_date']
publisher => string (11) "For Dummies"
$out['products'][0]['publisher']
image => array (4)
$out['products'][0]['image']
url => string (60) "http://ecx.images-amazon.com/images/I/51MWzRwlV0L._SL75_.jpg"
$out['products'][0]['image']['url']
units => string (6) "pixels"
$out['products'][0]['image']['units']
height => integer 75
$out['products'][0]['image']['height']
width => integer 61
$out['products'][0]['image']['width']
title => string (51) "Calculus For Dummies (For Dummies (Math & Science))"
$out['products'][0]['title']
1 => array (12)
$out['products'][1]
asin => string (10) "0486404536"
$out['products'][1]['asin']
1985-05-31 16:22:16
authors => array (1)
$out['products'][1]['authors']
0 => string (12) "Morris Kline"
$out['products'][1]['authors'][0]
binding => string (9) "Paperback"
$out['products'][1]['binding']
edition => string (6) "Second"
$out['products'][1]['edition']
dimensions => array (4)
$out['products'][1]['dimensions']
  • Table (4)
  • Contents (4)
  • valueunits
    height9.25inches
    length6.25inches
    width1.75inches
    weight2.75pounds
  • height => array (2)
    $out['products'][1]['dimensions']['height']
    value => double 9.25
    $out['products'][1]['dimensions']['height']['value']
    units => string (6) "inches"
    $out['products'][1]['dimensions']['height']['units']
    length => array (2)
    $out['products'][1]['dimensions']['length']
    value => double 6.25
    $out['products'][1]['dimensions']['length']['value']
    units => string (6) "inches"
    $out['products'][1]['dimensions']['length']['units']
    width => array (2)
    $out['products'][1]['dimensions']['width']
    value => double 1.75
    $out['products'][1]['dimensions']['width']['value']
    units => string (6) "inches"
    $out['products'][1]['dimensions']['width']['units']
    weight => array (2)
    $out['products'][1]['dimensions']['weight']
    value => double 2.75
    $out['products'][1]['dimensions']['weight']['value']
    units => string (6) "pounds"
    $out['products'][1]['dimensions']['weight']['units']
package_dimensions => array (4)
$out['products'][1]['package_dimensions']
  • Table (4)
  • Contents (4)
  • valueunits
    height1.9inches
    length9.3inches
    width6.4inches
    weight2.75pounds
  • height => array (2)
    $out['products'][1]['package_dimensions']['height']
    value => double 1.9
    $out['products'][1]['package_dimensions']['height']['value']
    units => string (6) "inches"
    $out['products'][1]['package_dimensions']['height']['units']
    length => array (2)
    $out['products'][1]['package_dimensions']['length']
    value => double 9.3
    $out['products'][1]['package_dimensions']['length']['value']
    units => string (6) "inches"
    $out['products'][1]['package_dimensions']['length']['units']
    width => array (2)
    $out['products'][1]['package_dimensions']['width']
    value => double 6.4
    $out['products'][1]['package_dimensions']['width']['value']
    units => string (6) "inches"
    $out['products'][1]['package_dimensions']['width']['units']
    weight => array (2)
    $out['products'][1]['package_dimensions']['weight']
    value => double 2.75
    $out['products'][1]['package_dimensions']['weight']['value']
    units => string (6) "pounds"
    $out['products'][1]['package_dimensions']['weight']['units']
is_eligible_for_trade_in => boolean true
$out['products'][1]['is_eligible_for_trade_in']
list_price => array (2)
$out['products'][1]['list_price']
value => double 28.95
$out['products'][1]['list_price']['value']
currency_code => string (3) "USD"
$out['products'][1]['list_price']['currency_code']
publication_date => string (10) "1998-06-19"
$out['products'][1]['publication_date']
publisher => string (18) "Dover Publications"
$out['products'][1]['publisher']
image => array (4)
$out['products'][1]['image']
url => string (60) "http://ecx.images-amazon.com/images/I/51A6RbzhwAL._SL75_.jpg"
$out['products'][1]['image']['url']
units => string (6) "pixels"
$out['products'][1]['image']['units']
height => integer 75
$out['products'][1]['image']['height']
width => integer 50
$out['products'][1]['image']['width']
title => string (90) "Calculus: An Intuitive and Physical Approach (Second Edition) (Dover Books on M...
$out['products'][1]['title']
Calculus: An Intuitive and Physical Approach (Second Edition) (Dover Books on Mathematics)
2 => array (11)
$out['products'][2]
asin => string (10) "1285741552"
$out['products'][2]['asin']
2010-09-29 06:25:52
authors => array (1)
$out['products'][2]['authors']
0 => string (14) "Stewart, James"
$out['products'][2]['authors'][0]
binding => string (9) "Hardcover"
$out['products'][2]['binding']
edition => string (1) "8"
$out['products'][2]['edition']
dimensions => array (4)
$out['products'][2]['dimensions']
  • Table (4)
  • Contents (4)
  • valueunits
    height10inches
    length9inches
    width2inches
    weight6.2pounds
  • height => array (2)
    $out['products'][2]['dimensions']['height']
    value => double 10
    $out['products'][2]['dimensions']['height']['value']
    units => string (6) "inches"
    $out['products'][2]['dimensions']['height']['units']
    length => array (2)
    $out['products'][2]['dimensions']['length']
    value => double 9
    $out['products'][2]['dimensions']['length']['value']
    units => string (6) "inches"
    $out['products'][2]['dimensions']['length']['units']
    width => array (2)
    $out['products'][2]['dimensions']['width']
    value => double 2
    $out['products'][2]['dimensions']['width']['value']
    units => string (6) "inches"
    $out['products'][2]['dimensions']['width']['units']
    weight => array (2)
    $out['products'][2]['dimensions']['weight']
    value => double 6.2
    $out['products'][2]['dimensions']['weight']['value']
    units => string (6) "pounds"
    $out['products'][2]['dimensions']['weight']['units']
package_dimensions => array (4)
$out['products'][2]['package_dimensions']
  • Table (4)
  • Contents (4)
  • valueunits
    height2.1inches
    length10.1inches
    width8.5inches
    weight6.35pounds
  • height => array (2)
    $out['products'][2]['package_dimensions']['height']
    value => double 2.1
    $out['products'][2]['package_dimensions']['height']['value']
    units => string (6) "inches"
    $out['products'][2]['package_dimensions']['height']['units']
    length => array (2)
    $out['products'][2]['package_dimensions']['length']
    value => double 10.1
    $out['products'][2]['package_dimensions']['length']['value']
    units => string (6) "inches"
    $out['products'][2]['package_dimensions']['length']['units']
    width => array (2)
    $out['products'][2]['package_dimensions']['width']
    value => double 8.5
    $out['products'][2]['package_dimensions']['width']['value']
    units => string (6) "inches"
    $out['products'][2]['package_dimensions']['width']['units']
    weight => array (2)
    $out['products'][2]['package_dimensions']['weight']
    value => double 6.35
    $out['products'][2]['package_dimensions']['weight']['value']
    units => string (6) "pounds"
    $out['products'][2]['package_dimensions']['weight']['units']
list_price => array (2)
$out['products'][2]['list_price']
value => double 299.95
$out['products'][2]['list_price']['value']
currency_code => string (3) "USD"
$out['products'][2]['list_price']['currency_code']
publication_date => string (10) "2015-02-04"
$out['products'][2]['publication_date']
publisher => string (16) "Cengage Learning"
$out['products'][2]['publisher']
image => array (4)
$out['products'][2]['image']
url => string (60) "http://ecx.images-amazon.com/images/I/5107bonQEmL._SL75_.jpg"
$out['products'][2]['image']['url']
units => string (6) "pixels"
$out['products'][2]['image']['units']
height => integer 75
$out['products'][2]['image']['height']
width => integer 64
$out['products'][2]['image']['width']
title => string (31) "Calculus: Early Transcendentals"
$out['products'][2]['title']
3 => array (11)
$out['products'][3]
asin => string (10) "1592575129"
$out['products'][3]['asin']
2020-06-19 13:58:49
authors => array (1)
$out['products'][3]['authors']
0 => string (18) "Kelley, W. Michael"
$out['products'][3]['authors'][0]
binding => string (9) "Paperback"
$out['products'][3]['binding']
edition => string (14) "Later Printing"
$out['products'][3]['edition']
dimensions => array (4)
$out['products'][3]['dimensions']
  • Table (4)
  • Contents (4)
  • valueunits
    height10.94inches
    length8.56inches
    width1.19inches
    weight2.47pounds
  • height => array (2)
    $out['products'][3]['dimensions']['height']
    value => double 10.94
    $out['products'][3]['dimensions']['height']['value']
    units => string (6) "inches"
    $out['products'][3]['dimensions']['height']['units']
    length => array (2)
    $out['products'][3]['dimensions']['length']
    value => double 8.56
    $out['products'][3]['dimensions']['length']['value']
    units => string (6) "inches"
    $out['products'][3]['dimensions']['length']['units']
    width => array (2)
    $out['products'][3]['dimensions']['width']
    value => double 1.19
    $out['products'][3]['dimensions']['width']['value']
    units => string (6) "inches"
    $out['products'][3]['dimensions']['width']['units']
    weight => array (2)
    $out['products'][3]['dimensions']['weight']
    value => double 2.47
    $out['products'][3]['dimensions']['weight']['value']
    units => string (6) "pounds"
    $out['products'][3]['dimensions']['weight']['units']
package_dimensions => array (4)
$out['products'][3]['package_dimensions']
  • Table (4)
  • Contents (4)
  • valueunits
    height0.87inches
    length10.55inches
    width8.5inches
    weight2.47pounds
  • height => array (2)
    $out['products'][3]['package_dimensions']['height']
    value => double 0.87
    $out['products'][3]['package_dimensions']['height']['value']
    units => string (6) "inches"
    $out['products'][3]['package_dimensions']['height']['units']
    length => array (2)
    $out['products'][3]['package_dimensions']['length']
    value => double 10.55
    $out['products'][3]['package_dimensions']['length']['value']
    units => string (6) "inches"
    $out['products'][3]['package_dimensions']['length']['units']
    width => array (2)
    $out['products'][3]['package_dimensions']['width']
    value => double 8.5
    $out['products'][3]['package_dimensions']['width']['value']
    units => string (6) "inches"
    $out['products'][3]['package_dimensions']['width']['units']
    weight => array (2)
    $out['products'][3]['package_dimensions']['weight']
    value => double 2.47
    $out['products'][3]['package_dimensions']['weight']['value']
    units => string (6) "pounds"
    $out['products'][3]['package_dimensions']['weight']['units']
list_price => array (2)
$out['products'][3]['list_price']
value => double 19.95
$out['products'][3]['list_price']['value']
currency_code => string (3) "USD"
$out['products'][3]['list_price']['currency_code']
publication_date => string (10) "2007-01-02"
$out['products'][3]['publication_date']
publisher => string (5) "Alpha"
$out['products'][3]['publisher']
image => array (4)
$out['products'][3]['image']
url => string (60) "http://ecx.images-amazon.com/images/I/51K61QI-MPL._SL75_.jpg"
$out['products'][3]['image']['url']
units => string (6) "pixels"
$out['products'][3]['image']['units']
height => integer 75
$out['products'][3]['image']['height']
width => integer 59
$out['products'][3]['image']['width']
title => string (39) "The Humongous Book of Calculus Problems"
$out['products'][3]['title']
4 => array (11)
$out['products'][4]
asin => string (10) "1438008597"
$out['products'][4]['asin']
2015-07-27 14:49:57
authors => array (3)
$out['products'][4]['authors']
0 => string (16) "Bock M.S., David"
$out['products'][4]['authors'][0]
1 => string (20) "Donovan M.S., Dennis"
$out['products'][4]['authors'][1]
2 => string (24) "Hockett M.A., Shirley O."
$out['products'][4]['authors'][2]
binding => string (9) "Paperback"
$out['products'][4]['binding']
edition => string (2) "14"
$out['products'][4]['edition']
dimensions => array (4)
$out['products'][4]['dimensions']
  • Table (4)
  • Contents (4)
  • valueunits
    height10.75inches
    length8inches
    width1.25inches
    weight2.03pounds
  • height => array (2)
    $out['products'][4]['dimensions']['height']
    value => double 10.75
    $out['products'][4]['dimensions']['height']['value']
    units => string (6) "inches"
    $out['products'][4]['dimensions']['height']['units']
    length => array (2)
    $out['products'][4]['dimensions']['length']
    value => double 8
    $out['products'][4]['dimensions']['length']['value']
    units => string (6) "inches"
    $out['products'][4]['dimensions']['length']['units']
    width => array (2)
    $out['products'][4]['dimensions']['width']
    value => double 1.25
    $out['products'][4]['dimensions']['width']['value']
    units => string (6) "inches"
    $out['products'][4]['dimensions']['width']['units']
    weight => array (2)
    $out['products'][4]['dimensions']['weight']
    value => double 2.03
    $out['products'][4]['dimensions']['weight']['value']
    units => string (6) "pounds"
    $out['products'][4]['dimensions']['weight']['units']
package_dimensions => array (4)
$out['products'][4]['package_dimensions']
  • Table (4)
  • Contents (4)
  • valueunits
    height1.3inches
    length10.6inches
    width8.3inches
    weight2.03pounds
  • height => array (2)
    $out['products'][4]['package_dimensions']['height']
    value => double 1.3
    $out['products'][4]['package_dimensions']['height']['value']
    units => string (6) "inches"
    $out['products'][4]['package_dimensions']['height']['units']
    length => array (2)
    $out['products'][4]['package_dimensions']['length']
    value => double 10.6
    $out['products'][4]['package_dimensions']['length']['value']
    units => string (6) "inches"
    $out['products'][4]['package_dimensions']['length']['units']
    width => array (2)
    $out['products'][4]['package_dimensions']['width']
    value => double 8.3
    $out['products'][4]['package_dimensions']['width']['value']
    units => string (6) "inches"
    $out['products'][4]['package_dimensions']['width']['units']
    weight => array (2)
    $out['products'][4]['package_dimensions']['weight']
    value => double 2.03
    $out['products'][4]['package_dimensions']['weight']['value']
    units => string (6) "pounds"
    $out['products'][4]['package_dimensions']['weight']['units']
list_price => array (2)
$out['products'][4]['list_price']
value => double 18.99
$out['products'][4]['list_price']['value']
currency_code => string (3) "USD"
$out['products'][4]['list_price']['currency_code']
publication_date => string (10) "2017-02-01"
$out['products'][4]['publication_date']
publisher => string (27) "Barron's Educational Series"
$out['products'][4]['publisher']
image => array (4)
$out['products'][4]['image']
url => string (60) "http://ecx.images-amazon.com/images/I/5132zK2hfAL._SL75_.jpg"
$out['products'][4]['image']['url']
units => string (6) "pixels"
$out['products'][4]['image']['units']
height => integer 75
$out['products'][4]['image']['height']
width => integer 58
$out['products'][4]['image']['width']
title => string (34) "Barron's AP Calculus, 14th Edition"
$out['products'][4]['title']
5 => array (11)
$out['products'][5]
asin => string (10) "1285057090"
$out['products'][5]['asin']
2010-09-21 08:18:10
authors => array (2)
$out['products'][5]['authors']
0 => string (11) "Larson, Ron"
$out['products'][5]['authors'][0]
1 => string (17) "Edwards, Bruce H."
$out['products'][5]['authors'][1]
binding => string (9) "Hardcover"
$out['products'][5]['binding']
edition => string (2) "10"
$out['products'][5]['edition']
dimensions => array (4)
$out['products'][5]['dimensions']
  • Table (4)
  • Contents (4)
  • valueunits
    height11inches
    length8.75inches
    width1.75inches
    weight6.17pounds
  • height => array (2)
    $out['products'][5]['dimensions']['height']
    value => double 11
    $out['products'][5]['dimensions']['height']['value']
    units => string (6) "inches"
    $out['products'][5]['dimensions']['height']['units']
    length => array (2)
    $out['products'][5]['dimensions']['length']
    value => double 8.75
    $out['products'][5]['dimensions']['length']['value']
    units => string (6) "inches"
    $out['products'][5]['dimensions']['length']['units']
    width => array (2)
    $out['products'][5]['dimensions']['width']
    value => double 1.75
    $out['products'][5]['dimensions']['width']['value']
    units => string (6) "inches"
    $out['products'][5]['dimensions']['width']['units']
    weight => array (2)
    $out['products'][5]['dimensions']['weight']
    value => double 6.17
    $out['products'][5]['dimensions']['weight']['value']
    units => string (6) "pounds"
    $out['products'][5]['dimensions']['weight']['units']
package_dimensions => array (4)
$out['products'][5]['package_dimensions']
  • Table (4)
  • Contents (4)
  • valueunits
    height1.97inches
    length11.18inches
    width9.09inches
    weight6.17pounds
  • height => array (2)
    $out['products'][5]['package_dimensions']['height']
    value => double 1.97
    $out['products'][5]['package_dimensions']['height']['value']
    units => string (6) "inches"
    $out['products'][5]['package_dimensions']['height']['units']
    length => array (2)
    $out['products'][5]['package_dimensions']['length']
    value => double 11.18
    $out['products'][5]['package_dimensions']['length']['value']
    units => string (6) "inches"
    $out['products'][5]['package_dimensions']['length']['units']
    width => array (2)
    $out['products'][5]['package_dimensions']['width']
    value => double 9.09
    $out['products'][5]['package_dimensions']['width']['value']
    units => string (6) "inches"
    $out['products'][5]['package_dimensions']['width']['units']
    weight => array (2)
    $out['products'][5]['package_dimensions']['weight']
    value => double 6.17
    $out['products'][5]['package_dimensions']['weight']['value']
    units => string (6) "pounds"
    $out['products'][5]['package_dimensions']['weight']['units']
list_price => array (2)
$out['products'][5]['list_price']
value => double 299.95
$out['products'][5]['list_price']['value']
currency_code => string (3) "USD"
$out['products'][5]['list_price']['currency_code']
publication_date => string (10) "2013-01-01"
$out['products'][5]['publication_date']
publisher => string (16) "Cengage Learning"
$out['products'][5]['publisher']
image => array (4)
$out['products'][5]['image']
url => string (60) "http://ecx.images-amazon.com/images/I/51IBi5Fx5oL._SL75_.jpg"
$out['products'][5]['image']['url']
units => string (6) "pixels"
$out['products'][5]['image']['units']
height => integer 75
$out['products'][5]['image']['height']
width => integer 58
$out['products'][5]['image']['width']
title => string (8) "Calculus"
$out['products'][5]['title']
6 => array (12)
$out['products'][6]
asin => string (10) "1285740629"
$out['products'][6]['asin']
2010-09-29 06:10:29
authors => array (1)
$out['products'][6]['authors']
0 => string (14) "Stewart, James"
$out['products'][6]['authors'][0]
binding => string (9) "Hardcover"
$out['products'][6]['binding']
edition => string (1) "8"
$out['products'][6]['edition']
dimensions => array (4)
$out['products'][6]['dimensions']
  • Table (4)
  • Contents (4)
  • valueunits
    height12inches
    length10inches
    width2inches
    weight6.06pounds
  • height => array (2)
    $out['products'][6]['dimensions']['height']
    value => double 12
    $out['products'][6]['dimensions']['height']['value']
    units => string (6) "inches"
    $out['products'][6]['dimensions']['height']['units']
    length => array (2)
    $out['products'][6]['dimensions']['length']
    value => double 10
    $out['products'][6]['dimensions']['length']['value']
    units => string (6) "inches"
    $out['products'][6]['dimensions']['length']['units']
    width => array (2)
    $out['products'][6]['dimensions']['width']
    value => double 2
    $out['products'][6]['dimensions']['width']['value']
    units => string (6) "inches"
    $out['products'][6]['dimensions']['width']['units']
    weight => array (2)
    $out['products'][6]['dimensions']['weight']
    value => double 6.06
    $out['products'][6]['dimensions']['weight']['value']
    units => string (6) "pounds"
    $out['products'][6]['dimensions']['weight']['units']
package_dimensions => array (4)
$out['products'][6]['package_dimensions']
  • Table (4)
  • Contents (4)
  • valueunits
    height2.13inches
    length10.24inches
    width9.06inches
    weight6.06pounds
  • height => array (2)
    $out['products'][6]['package_dimensions']['height']
    value => double 2.13
    $out['products'][6]['package_dimensions']['height']['value']
    units => string (6) "inches"
    $out['products'][6]['package_dimensions']['height']['units']
    length => array (2)
    $out['products'][6]['package_dimensions']['length']
    value => double 10.24
    $out['products'][6]['package_dimensions']['length']['value']
    units => string (6) "inches"
    $out['products'][6]['package_dimensions']['length']['units']
    width => array (2)
    $out['products'][6]['package_dimensions']['width']
    value => double 9.06
    $out['products'][6]['package_dimensions']['width']['value']
    units => string (6) "inches"
    $out['products'][6]['package_dimensions']['width']['units']
    weight => array (2)
    $out['products'][6]['package_dimensions']['weight']
    value => double 6.06
    $out['products'][6]['package_dimensions']['weight']['value']
    units => string (6) "pounds"
    $out['products'][6]['package_dimensions']['weight']['units']
is_eligible_for_trade_in => boolean true
$out['products'][6]['is_eligible_for_trade_in']
list_price => array (2)
$out['products'][6]['list_price']
value => double 299.95
$out['products'][6]['list_price']['value']
currency_code => string (3) "USD"
$out['products'][6]['list_price']['currency_code']
publication_date => string (10) "2015-05-19"
$out['products'][6]['publication_date']
publisher => string (16) "Cengage Learning"
$out['products'][6]['publisher']
image => array (4)
$out['products'][6]['image']
url => string (60) "http://ecx.images-amazon.com/images/I/51zvP-egq7L._SL75_.jpg"
$out['products'][6]['image']['url']
units => string (6) "pixels"
$out['products'][6]['image']['units']
height => integer 75
$out['products'][6]['image']['height']
width => integer 64
$out['products'][6]['image']['width']
title => string (30) "Calculus (MindTap Course List)"
$out['products'][6]['title']
7 => array (11)
$out['products'][7]
asin => string (10) "0691130884"
$out['products'][7]['asin']
1991-11-26 04:48:04
authors => array (1)
$out['products'][7]['authors']
0 => string (14) "Banner, Adrian"
$out['products'][7]['authors'][0]
binding => string (9) "Paperback"
$out['products'][7]['binding']
edition => string (1) "1"
$out['products'][7]['edition']
dimensions => array (4)
$out['products'][7]['dimensions']
  • Table (4)
  • Contents (4)
  • valueunits
    height10.25inches
    length7.5inches
    width1.75inches
    weight3.35pounds
  • height => array (2)
    $out['products'][7]['dimensions']['height']
    value => double 10.25
    $out['products'][7]['dimensions']['height']['value']
    units => string (6) "inches"
    $out['products'][7]['dimensions']['height']['units']
    length => array (2)
    $out['products'][7]['dimensions']['length']
    value => double 7.5
    $out['products'][7]['dimensions']['length']['value']
    units => string (6) "inches"
    $out['products'][7]['dimensions']['length']['units']
    width => array (2)
    $out['products'][7]['dimensions']['width']
    value => double 1.75
    $out['products'][7]['dimensions']['width']['value']
    units => string (6) "inches"
    $out['products'][7]['dimensions']['width']['units']
    weight => array (2)
    $out['products'][7]['dimensions']['weight']
    value => double 3.35
    $out['products'][7]['dimensions']['weight']['value']
    units => string (6) "pounds"
    $out['products'][7]['dimensions']['weight']['units']
package_dimensions => array (4)
$out['products'][7]['package_dimensions']
  • Table (4)
  • Contents (4)
  • valueunits
    height1.8inches
    length10inches
    width7.1inches
    weight3.35pounds
  • height => array (2)
    $out['products'][7]['package_dimensions']['height']
    value => double 1.8
    $out['products'][7]['package_dimensions']['height']['value']
    units => string (6) "inches"
    $out['products'][7]['package_dimensions']['height']['units']
    length => array (2)
    $out['products'][7]['package_dimensions']['length']
    value => double 10
    $out['products'][7]['package_dimensions']['length']['value']
    units => string (6) "inches"
    $out['products'][7]['package_dimensions']['length']['units']
    width => array (2)
    $out['products'][7]['package_dimensions']['width']
    value => double 7.1
    $out['products'][7]['package_dimensions']['width']['value']
    units => string (6) "inches"
    $out['products'][7]['package_dimensions']['width']['units']
    weight => array (2)
    $out['products'][7]['package_dimensions']['weight']
    value => double 3.35
    $out['products'][7]['package_dimensions']['weight']['value']
    units => string (6) "pounds"
    $out['products'][7]['package_dimensions']['weight']['units']
list_price => array (2)
$out['products'][7]['list_price']
value => double 24.95
$out['products'][7]['list_price']['value']
currency_code => string (3) "USD"
$out['products'][7]['list_price']['currency_code']
publication_date => string (10) "2007-03-25"
$out['products'][7]['publication_date']
publisher => string (26) "Princeton University Press"
$out['products'][7]['publisher']
image => array (4)
$out['products'][7]['image']
url => string (60) "http://ecx.images-amazon.com/images/I/514YJjHmfZL._SL75_.jpg"
$out['products'][7]['image']['url']
units => string (6) "pixels"
$out['products'][7]['image']['units']
height => integer 75
$out['products'][7]['image']['height']
width => integer 53
$out['products'][7]['image']['width']
title => string (102) "The Calculus Lifesaver: All the Tools You Need to Excel at Calculus (Princeton ...
$out['products'][7]['title']
The Calculus Lifesaver: All the Tools You Need to Excel at Calculus (Princeton Lifesaver Study Guides)
8 => array (11)
$out['products'][8]
asin => string (10) "1524757977"
$out['products'][8]['asin']
2018-04-26 15:52:57
authors => array (1)
$out['products'][8]['authors']
0 => string (16) "Princeton Review"
$out['products'][8]['authors'][0]
binding => string (9) "Paperback"
$out['products'][8]['binding']
edition => string (7) "Premium"
$out['products'][8]['edition']
dimensions => array (3)
$out['products'][8]['dimensions']
  • Table (3)
  • Contents (3)
  • valueunits
    height10.86inches
    length8.35inches
    width1.31inches
  • height => array (2)
    $out['products'][8]['dimensions']['height']
    value => double 10.86
    $out['products'][8]['dimensions']['height']['value']
    units => string (6) "inches"
    $out['products'][8]['dimensions']['height']['units']
    length => array (2)
    $out['products'][8]['dimensions']['length']
    value => double 8.35
    $out['products'][8]['dimensions']['length']['value']
    units => string (6) "inches"
    $out['products'][8]['dimensions']['length']['units']
    width => array (2)
    $out['products'][8]['dimensions']['width']
    value => double 1.31
    $out['products'][8]['dimensions']['width']['value']
    units => string (6) "inches"
    $out['products'][8]['dimensions']['width']['units']
package_dimensions => array (4)
$out['products'][8]['package_dimensions']
  • Table (4)
  • Contents (4)
  • valueunits
    height1.69inches
    length10.87inches
    width8.5inches
    weight2.52pounds
  • height => array (2)
    $out['products'][8]['package_dimensions']['height']
    value => double 1.69
    $out['products'][8]['package_dimensions']['height']['value']
    units => string (6) "inches"
    $out['products'][8]['package_dimensions']['height']['units']
    length => array (2)
    $out['products'][8]['package_dimensions']['length']
    value => double 10.87
    $out['products'][8]['package_dimensions']['length']['value']
    units => string (6) "inches"
    $out['products'][8]['package_dimensions']['length']['units']
    width => array (2)
    $out['products'][8]['package_dimensions']['width']
    value => double 8.5
    $out['products'][8]['package_dimensions']['width']['value']
    units => string (6) "inches"
    $out['products'][8]['package_dimensions']['width']['units']
    weight => array (2)
    $out['products'][8]['package_dimensions']['weight']
    value => double 2.52
    $out['products'][8]['package_dimensions']['weight']['value']
    units => string (6) "pounds"
    $out['products'][8]['package_dimensions']['weight']['units']
list_price => array (2)
$out['products'][8]['list_price']
value => double 25.99
$out['products'][8]['list_price']['value']
currency_code => string (3) "USD"
$out['products'][8]['list_price']['currency_code']
publication_date => string (10) "2018-08-07"
$out['products'][8]['publication_date']
publisher => string (16) "Princeton Review"
$out['products'][8]['publisher']
image => array (4)
$out['products'][8]['image']
url => string (60) "http://ecx.images-amazon.com/images/I/51JZZv4hq-L._SL75_.jpg"
$out['products'][8]['image']['url']
units => string (6) "pixels"
$out['products'][8]['image']['units']
height => integer 75
$out['products'][8]['image']['height']
width => integer 57
$out['products'][8]['image']['width']
title => string (125) "Cracking the AP Calculus AB Exam 2019, Premium Edition: 6 Practice Tests + Comp...
$out['products'][8]['title']
Cracking the AP Calculus AB Exam 2019, Premium Edition: 6 Practice Tests + Complete Content Review (College Test Preparation)
9 => array (11)
$out['products'][9]
asin => string (10) "0061689092"
$out['products'][9]['asin']
1971-12-15 23:51:32
authors => array (1)
$out['products'][9]['authors']
0 => string (13) "Gonick, Larry"
$out['products'][9]['authors'][0]
binding => string (9) "Paperback"
$out['products'][9]['binding']
edition => string (8) "Original"
$out['products'][9]['edition']
dimensions => array (4)
$out['products'][9]['dimensions']
  • Table (4)
  • Contents (4)
  • valueunits
    height9.25inches
    length7.38inches
    width0.64inches
    weight0.95pounds
  • height => array (2)
    $out['products'][9]['dimensions']['height']
    value => double 9.25
    $out['products'][9]['dimensions']['height']['value']
    units => string (6) "inches"
    $out['products'][9]['dimensions']['height']['units']
    length => array (2)
    $out['products'][9]['dimensions']['length']
    value => double 7.38
    $out['products'][9]['dimensions']['length']['value']
    units => string (6) "inches"
    $out['products'][9]['dimensions']['length']['units']
    width => array (2)
    $out['products'][9]['dimensions']['width']
    value => double 0.64
    $out['products'][9]['dimensions']['width']['value']
    units => string (6) "inches"
    $out['products'][9]['dimensions']['width']['units']
    weight => array (2)
    $out['products'][9]['dimensions']['weight']
    value => double 0.95
    $out['products'][9]['dimensions']['weight']['value']
    units => string (6) "pounds"
    $out['products'][9]['dimensions']['weight']['units']
package_dimensions => array (4)
$out['products'][9]['package_dimensions']
  • Table (4)
  • Contents (4)
  • valueunits
    height0.8inches
    length9.1inches
    width7.3inches
    weight0.95pounds
  • height => array (2)
    $out['products'][9]['package_dimensions']['height']
    value => double 0.8
    $out['products'][9]['package_dimensions']['height']['value']
    units => string (6) "inches"
    $out['products'][9]['package_dimensions']['height']['units']
    length => array (2)
    $out['products'][9]['package_dimensions']['length']
    value => double 9.1
    $out['products'][9]['package_dimensions']['length']['value']
    units => string (6) "inches"
    $out['products'][9]['package_dimensions']['length']['units']
    width => array (2)
    $out['products'][9]['package_dimensions']['width']
    value => double 7.3
    $out['products'][9]['package_dimensions']['width']['value']
    units => string (6) "inches"
    $out['products'][9]['package_dimensions']['width']['units']
    weight => array (2)
    $out['products'][9]['package_dimensions']['weight']
    value => double 0.95
    $out['products'][9]['package_dimensions']['weight']['value']
    units => string (6) "pounds"
    $out['products'][9]['package_dimensions']['weight']['units']
list_price => array (2)
$out['products'][9]['list_price']
value => double 19.99
$out['products'][9]['list_price']['value']
currency_code => string (3) "USD"
$out['products'][9]['list_price']['currency_code']
publication_date => string (10) "2011-12-27"
$out['products'][9]['publication_date']
publisher => string (14) "William Morrow"
$out['products'][9]['publisher']
image => array (4)
$out['products'][9]['image']
url => string (60) "http://ecx.images-amazon.com/images/I/51gQZ9XpaYL._SL75_.jpg"
$out['products'][9]['image']['url']
units => string (6) "pixels"
$out['products'][9]['image']['units']
height => integer 75
$out['products'][9]['image']['height']
width => integer 60
$out['products'][9]['image']['width']
title => string (52) "The Cartoon Guide to Calculus (Cartoon Guide Series)"
$out['products'][9]['title']
errors => array (0)
$out['errors']
runtime_seconds => double 0.67540097236633
$out['runtime_seconds']
Called from <ROOT>/api/v1/ListMatchingProducts.php:148