n8n has no first-party Trends API node. Official n8n docs send unknown REST APIs through the HTTP Request node. Method POST. URL https://api.trendsapi.ai/api. Authentication is generic Header auth, not a predefined type. body in the response is a JSON string and must be parsed a second time. Field names sit on the API reference. Caps sit on pricing.

HTTP Request, not a marketplace node

Turn on Send Body. Body content type is JSON. Paste:

{"mode":"get_growth","source":"google search","keyword":"bitcoin","percent_growth":["12M"]}

Official n8n can import a curl command from docs and fill method, URL, and headers. Check that source stayed google search. A live type such as Google Trends belongs on get_top_trends, not here.

Set a timeout on the node. A 401 is a bad credential. A 429 is the monthly cap, documented on errors.

Header auth holds the Bearer token

Create a Header auth credential. Header name Authorization. Header value Bearer <api_key>. Attach it on the HTTP Request node. Do not put the key in the JSON body. Auth shape is on authentication.

Code node parses body

n8n already decoded the envelope. item.json.body is still a string.

const outer = $input.first().json;
const data = typeof outer.body === "string" ? JSON.parse(outer.body) : outer.body;
return [{ json: data }];

After that, results exists for get_growth. A time series is an array. How those inner shapes differ is on parse the body. Downstream Slack or Sheets nodes map from this item, not from the raw HTTP output.