Core APIs
...
Parameters
Specialist Pages
Author Page
3min
author page parameters get get /request the author page parameters are applicable when making a request with type=author page to retrieve data from the authors page single author on amazon the author is specified using either the author asin and amazon domain parameters or the url parameter (where the url parameter contains a link to an amazon authors page) the parameters should be appended as querystring parameters to the product data api get http request author page data is retrieved from the author page https //www amazon com/kindle dbs/entity/author/b000apvz7w for a single author on amazon for example, to request data from the authors page for the author asin b000apvz7w on amazon com the request would be http https //api rainforestapi com/request?api key=demo\&type=author page\&amazon domain=amazon com\&asin=b000apvz7wcurl l get https //api rainforestapi com/request \\ d api key="demo" \\ d type="author page" \\ d amazon domain="amazon com" \\ d asin="b000apvz7w"const axios = require('axios'); // set up the request parameters const params = { api key "demo", type "author page", amazon domain "amazon com", asin "b000apvz7w" } // make the http get request to rainforest api axios get('https //api rainforestapi com/request', { params }) then(response => { // print the json response from rainforest api console log(json stringify(response data, 0, 2)); }) catch(error => { // catch and print the error console log(error); })import requests import json \# set up the request parameters params = { 'api key' 'demo', 'type' 'author page', 'amazon domain' 'amazon com', 'asin' 'b000apvz7w' } \# make the http get request to rainforest api api result = requests get('https //api rainforestapi com/request', params) \# print the json response from rainforest api print(json dumps(api result json()))\<?php \# set up the request parameters $querystring = http build query(\[ 'api key' => 'demo', 'type' => 'author page', 'amazon domain' => 'amazon com', 'asin' => 'b000apvz7w' ]); \# make the http get request to rainforest api $ch = curl init(sprintf('%s?%s', 'https //api rainforestapi com/request', $querystring)); curl setopt($ch, curlopt returntransfer, true); curl setopt($ch, curlopt followlocation, true); \# the following options are required if you're using an outdated openssl version \# more details https //www openssl org/blog/blog/2021/09/13/letsencryptrootcertexpire/ curl setopt($ch, curlopt ssl verifyhost, false); curl setopt($ch, curlopt ssl verifypeer, false); curl setopt($ch, curlopt timeout, 180); $api result = curl exec($ch); curl close($ch); \# print the json response from rainforest api echo $api result; ?> author page parameters the following parameters are available for all requests made when type=author page parameter required description amazon domain optional the amazon domain to retrieve author page data for the author specified in the asin parameter for a full list of supported amazon domains see supported amazon domains https //docs trajectdata com/rainforestapi/product data api/reference/amazon domains note if the amazon domain and asin parameters are supplied then the url parameter is ignored asin optional the amazon author asin to retrieve author page data for used in combination with the amazon domain parameter note if the asin and amazon domain parameters are supplied then the url parameter is ignored url optional the amazon author page url to retrieve data from note if the url parameter is supplied then the amazon domain and asin parameters are ignored sort by optional determines the sort order of author titles array that is returned valid values are popularity sort the author titles array by most popular first price low to high sort the author titles array by lowest price first price high to low sort the author titles array by highest price first average review sort the author titles array by highest average review first publication date sort the author titles array by most recent publication date first most reviews sort the author titles array by those with the most reviews first format id optional a format id to determine the format of author titles returned in the titles array format id's are returned in the format ids array in each type=author page results https //docs trajectdata com/rainforestapi/product data api/results/author page (this is necessary are the format id value is dynamic and can change over time) page optional the current page of author page titles to retrieve this pagination affects the titles array (which contains all the titles/books by the given author) inspect the pagination total pages property in the author page results https //docs trajectdata com/rainforestapi/product data api/results/author page to see how many pages of author titles are available max page optional use the max page parameter to get multiple pages of results in one request the api will automatically paginate through pages and concatenate the results into one response see the pagination https //docs trajectdata com/rainforestapi/product data api/pagination docs for more information next steps author page results https //docs trajectdata com/rainforestapi/product data api/results/author page