TrendsAGI Configuration API

The Configuration API from TrendsAGI — 3 operation(s) for configuration.

GitHub OpenAPI

Operations 4

GET /api/user/interests Retrieve the list of "Watch Topics" configured for your account #
POST /api/user/interests Programmatically subscribe the agent to a new topic #
DELETE /api/user/interests/{interest_id} Remove a topic from the agent's watch list #
GET /api/user/social-evidence-credits Read the account's Social Evidence credit balance: the included monthly… #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/trendsagi-com:trendsagi-com-configuration-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

trendsagi-com-configuration-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: TrendsAGI Configuration API
  version: 1.0.0
  description: 'REST API for measured trending-topic volume, velocity and growth, AI-generated trend insights, recommendations, alerts, exports and integrations. A free Developer plan includes 100 API calls per day; paid plans raise the limits. Documentation: https://trendsagi.com/api-docs'
  termsOfService: https://trendsagi.com/terms
  contact:
    name: TrendsAGI
    url: https://trendsagi.com
servers:
- url: https://api.trendsagi.com
security:
- ApiKeyAuth: []
- BearerAuth: []
tags:
- name: Configuration
paths:
  /api/user/interests:
    get:
      tags:
      - Configuration
      operationId: getUserTopicInterests
      summary: Retrieve the list of "Watch Topics" configured for your account
      description: Retrieve the list of "Watch Topics" configured for your account. Agents can use this to sync their internal focus list with your dashboard settings.
      x-plan-tier: Advantage
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: array
                items: {}
              example:
              - id: 1
                keyword: SaaS Marketing
                alert_threshold: 5000
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/RateLimited'
    post:
      tags:
      - Configuration
      operationId: createUserTopicInterest
      summary: Programmatically subscribe the agent to a new topic
      description: Programmatically subscribe the agent to a new topic. If your agent discovers a new entity during its workflow, it can register it here to receive future alerts (Agent Self-Learning).
      x-plan-tier: Advantage
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
              example:
                id: 15
                keyword: '#NewGadget'
                status: tracking
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/RateLimited'
      requestBody:
        description: Topic configuration.
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                keyword:
                  type: string
                  description: Required. The keyword to track.
                alert_condition_type:
                  type: string
                  description: Required. 'volume_threshold' or 'percentage_growth'.
              required:
              - keyword
              - alert_condition_type
  /api/user/interests/{interest_id}:
    delete:
      tags:
      - Configuration
      operationId: deleteUserTopicInterest
      summary: Remove a topic from the agent's watch list
      description: Remove a topic from the agent's watch list. Use this to cleanup old entities or reduce signal noise programmatically.
      x-plan-tier: Advantage
      parameters:
      - name: interest_id
        in: path
        required: true
        description: ID to remove.
        schema:
          type: integer
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/RateLimited'
  /api/user/social-evidence-credits:
    get:
      tags:
      - Configuration
      operationId: getSocialEvidenceCredits
      summary: 'Read the account''s Social Evidence credit balance: the included monthly…'
      description: 'Read the account''s Social Evidence credit balance: the included monthly allowance, purchased credits, the available one-time packs and the upsell copy shown when the allowance is exhausted.


        Purchased credits never expire; the included allowance resets on the date in included.resets_at.


        This endpoint is free and does not consume a credit.'
      x-plan-tier: Developer
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
              example:
                plan: starter
                included:
                  remaining: 9
                  total: 10
                  resets_at: '2026-12-01T00:00:00Z'
                purchased:
                  remaining: 0
                packs:
                - id: social_evidence_10
                  credits: 10
                  price: £4.99
                  lookup_key: trendsagi_social_evidence_10_gbp
                  apple_product_id: com.trendsagi.app.socialevidence.10
                upsell:
                  headline: You have used this month's Social Evidence reports.
                  body: Top up to keep investigating.
                  primary_pack: social_evidence_10
                  fallback_copy: Contact support if you need more.
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  responses:
    Unauthorized:
      description: Missing or invalid API key
      content:
        application/json:
          schema:
            type: object
            properties:
              detail:
                type: string
    RateLimited:
      description: Daily or per-second plan limit reached
      content:
        application/json:
          schema:
            type: object
            properties:
              detail:
                type: string
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: API key from your TrendsAGI account settings.
    BearerAuth:
      type: http
      scheme: bearer
      description: 'The same API key sent as `Authorization: Bearer <key>`.'
externalDocs:
  description: TrendsAGI API documentation
  url: https://trendsagi.com/api-docs