Trends API

Trends API

One POST endpoint for trend data: historical time series, point-to-point growth windows, and live trending feeds across Google, Google Images, Google News,…

Finance & banking#business

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

One POST endpoint for trend data: historical time series, point-to-point growth windows, and live trending feeds across Google, Google Images, Google News, Google Shopping, YouTube, Wikipedia, TikTok, Amazon, Pinterest, npm, PyPI, Steam, Google Play, App Store, GitHub, Google Trends, IMDb, Open Library, Polymarket, Reddit, Web, Spotify, Substack, X, Instagram, Bluesky, Hacker News. Scores use a 0-100 index with absolute volume where available. Pick the operation with the mode field in the JSON body. The same operations are also available as MCP tools at https://api.trendsapi.ai/mcp. Free API key (100 requests/month): https://trendsapi.ai/account

Endpoints 1

trends

  • POSTQuery trend data/apiRun one tool, picked by the mode field: get_time_series (full history for one topic, 1 request per source (data type) in the call; 'all' = every keyword…

API details

Base URL
https://api.trendsapi.ai
Authentication
A bearer token in the Authorization header
Operations
1 operation on 1 pathPOST 1
Main resources
trends 1
Response formats
application/json
Description format
OpenAPI 3.1.0, API version 1.0.0

How to test the Trends API in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Trends API collection, without the publisher's secrets.
  3. Add your credentialsThis API uses A bearer token in the Authorization header. Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “Query trend data” (POST /api), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Trends API?

One POST endpoint for trend data: historical time series, point-to-point growth windows, and live trending feeds across Google, Google Images, Google News,… It is listed under Finance & banking and has 1 endpoint.

Who publishes the Trends API?

It is listed from Trends API's public API description (an OpenAPI document), not published by Trends API on Swastik Codes. Anyone who controls trendsapi.ai can claim the profile by adding a DNS TXT record.

What is the base URL of the Trends API?

Requests go to https://api.trendsapi.ai. Endpoint paths are added to this base URL.

How do I authenticate with the Trends API?

With A bearer token in the Authorization header.

How many endpoints does the Trends API have?

1 operation on 1 path (1 POST). The largest groups are trends.

Is forking the Trends API free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.