Aller au contenu
Trendvixo
  • Explorer les produits
  • Tendances
  • Vérifier un produit
  • Tarifs
  • Fonctionnement

API Documentation

Pull trend data straight into your own tools, spreadsheets or store. Available on the Professional and Enterprise plans.

La référence de l'API n'est disponible qu'en anglais.

Getting a key

  1. Subscribe to Professional or Enterprise on the plans page.
  2. Open your profile and create an API key.
  3. Copy it immediately — we store only a hash, so it is shown exactly once.

Keep keys secret. A key carries your full account access. Never put one in frontend JavaScript, a mobile app, or a public repository. Revoke a leaked key from your profile — it stops working on the next request.

Authentication

Send your key in the X-API-Key header on every request.

curl -H "X-API-Key: tvx_live_YOUR_KEY" \
  "https://trendvixo.com/api/v1/trends?page_size=20&sort_by=score"

Base URL

https://trendvixo.com/api/v1

All responses are JSON. All timestamps are UTC, ISO 8601.

Endpoints

MethodPathDescription
GET/trendsList trending items. Supports category, platform, search, min_score, sort_by, direction, page, page_size.
GET/trends/{id}One item with its score history.
GET/trends/summaryHeadline counts and the current top movers.
GET/trends/categoriesCategories with item counts and average score.
GET/trends/platformsData sources and when each last ran.
GET/trends/exportCSV export. Paid plans only.
GET/analyticsYour own API usage. Does not count against your quota.
GET/subscriptions/usageCurrent quota consumption and plan limits.

Examples

Python

import requests

response = requests.get(
    "https://trendvixo.com/api/v1/trends",
    headers={"X-API-Key": "tvx_live_YOUR_KEY"},
    params={"page_size": 50, "sort_by": "score", "category": "Electronics"},
)
data = response.json()

for item in data["items"]:
    print(item["name"], item["score"], item["trend_direction"])

JavaScript

const res = await fetch(
  "https://trendvixo.com/api/v1/trends?page_size=50&sort_by=score",
  { headers: { "X-API-Key": "tvx_live_YOUR_KEY" } }
);
const { items, total } = await res.json();

Google Sheets

Use the CSV export endpoint with IMPORTDATA, or download it from the Trends page and import the file.

Response shape

{
  "items": [
    {
      "id": "…",
      "name": "wireless earbuds",
      "category": "Electronics",
      "score": 78.4,
      "trend_direction": "up",
      "change": 24.1,
      "sparkline": [61.0, 64.2, 66.8, 70.1, 74.9, 78.4],
      "velocity": 312.5,
      "confidence": 0.82,
      "sentiment_score": 0.61,
      "source": "Google Trends US",
      "url": "https://…",
      "collected_at": "2026-07-30T14:00:00",
      "locked_fields": []
    }
  ],
  "total": 250,
  "page": 1,
  "page_size": 50,
  "plan": "Professional",
  "truncated": false
}

locked_fields lists any fields blanked out because your plan does not include them. On Professional and Enterprise it is empty.

Limits and errors

API calls count against the same monthly allowance as the dashboard. Check what is left with GET /subscriptions/usage.

StatusMeaning
401Missing, invalid or revoked API key
402Feature not included in your plan
404Not found
429Monthly quota used up, or requests too fast
5xxOur problem — retry with backoff

A 429 includes Retry-After and, for quota exhaustion, the reset date. Back off rather than retrying in a tight loop.

Fair use

You may cache our data and display individual data points in your own product with attribution. You may not republish the dataset in bulk or resell it as a competing feed — see the Terms of Service.

Questions about the API? Email [email protected].

Trendvixo

La recherche de produits pour les vendeurs e-commerce indépendants : ce qui gagne en popularité, les données qui le prouvent et où l'acheter.

Produit

  • Explorer les produits
  • Tarifs
  • Documentation de l'API

Ressources

  • Produits tendance
  • Vérifier un produit
  • Calculateur de marge
  • Guides

Entreprise

  • Fonctionnement
  • Contact et assistance

Mentions légales

  • Conditions d'utilisation
  • Politique de confidentialité
  • Remboursements et résiliation

Certains liens vers des boutiques peuvent nous rapporter une commission, sans frais supplémentaires pour vous. Les commissions n'influencent jamais les produits affichés ni leur classement : seul le score de tendance en décide.

© 2026 Trendvixo[email protected]Des signaux de recherche, pas des conseils financiers.