GET /v1/hashtag-analyticsAnalyze hashtag patterns
Agent Tools lf-agent-tools
Finds every hashtag in a piece of text and counts how often each one appears. Extracts and analyzes hashtags from text. Returns total count, unique count, and sorted frequency list.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
text | string | Yes | Text with #hashtags |
Response Schema
total (integer): Total hashtags found
unique (integer): Unique hashtags
topHashtags (array): Most frequent
allHashtags (array): All with counts
cURL Example
curl 'https://lf-agent-tools.laminarforge.dev/v1/hashtag-analytics?text=hello%20%23world' -H 'Authorization: Bearer lf_YourApiKey'
Python Example
import requests
url = 'https://lf-agent-tools.laminarforge.dev/v1/hashtag-analytics'
headers = {'Authorization': 'Bearer lf_YourApiKey'}
params = {'text': 'hello #world #api'}
response = requests.get(url, headers=headers, params=params)
print(response.json())