Get tickers

Get Tickers

This endpoint retrieves all occurrences of specific tickers found in ingested mentions. It's useful for tracking which tickers are being discussed and by whom.

GET /memory/tickers

Query Parameters

Parameter
Type
Description

limit

Int

The maximum number of items to return. Default: 200, Max: 2000.

ticker

String

The ticker symbol to search for. The $ prefix is optional (e.g., $ETH or ETH).

author

String

The Twitter handle of the author who created the mention containing the ticker (e.g., retsbaxyz).

Example Request

This example fetches the 10 most recent mentions of the $TORUS ticker made by the author InverseAltruism.

curl "https://swarm-nexus.xyz/agent/memory/tickers?ticker=%24TORUS&author=InverseAltruism&limit=10"

Example Response

{
  "items": [
    {
      "id": 120,
      "ticker": "TORUS",
      "tweet_id": "1847294729174924721",
      "mention_author_handle": "InverseAltruism",
      "parent_author_handle": "TorusCommunity",
      "tweet_created_at": "2024-10-25T12:00:00.000Z",
      "parent_created_at": "2024-10-25T11:55:00.000Z",
      "tweet_url": "https://twitter.com/InverseAltruism/status/1847294729174924721",
      "parent_tweet_url": "https://twitter.com/TorusCommunity/status/1847294000000000000"
    }
  ]
}

Last updated