Find Hashtag
Find matching SPATE hashtags by hashtag name or partial hashtag name, and the platforms where each one is tracked.
Endpoint
Section titled “Endpoint”GET /v1/latest/find-hashtag/{name}Authorization
Section titled “Authorization”Requires an API bearer token.
Authorization: Bearer <token>Path parameters
Section titled “Path parameters”| Name | Type | Required | Description |
|---|---|---|---|
name |
string | Yes | Hashtag name or partial hashtag name to search for. The leading # is optional: nivea also matches #nivea. If you include it, send it URL-encoded as %23 (see Troubleshooting). |
Response
Section titled “Response”Returns up to 100 hashtag matches whose names contain the provided search text.
| Field | Type | Description |
|---|---|---|
name |
string | The search text sent in the request. |
hashtags |
array | Matching hashtags, each { name, platforms }. name is the hashtag itself (e.g. #nivea) and identifies it across platforms. |
hashtags[].platforms |
array | Platforms where the hashtag is tracked. Any of instagram, tiktok. |
call_cost |
integer | Credits charged for the call. |
data_cost |
integer | Credits charged for the returned data. Always 0 for this endpoint. |
Example
Section titled “Example”Request
Section titled “Request”curl \ -H "Authorization: Bearer $SPATE_API_TOKEN" \ "https://api.spate.nyc/v1/latest/find-hashtag/nivea"Response
Section titled “Response”{ "key":"/v1/2026w40/find-hashtag/nivea", "credits_used":100, "data":{ "name":"nivea", "hashtags": [ { "name":"#niveapartner", "platforms":["instagram","tiktok"] }, { "name":"#niveaangelskinbodywash", "platforms":["instagram","tiktok"] }, ... ], "call_cost":100, "data_cost":0 }}Troubleshooting
Section titled “Troubleshooting”404 Not Found when the hashtag starts with #
Section titled “404 Not Found when the hashtag starts with #”In a URL, # starts a fragment: the client (curl, browsers, HTTP libraries) strips it and everything after it before sending the request.
Request
Section titled “Request”curl \ -H "Authorization: Bearer $SPATE_API_TOKEN" \ "https://api.spate.nyc/v1/latest/find-hashtag/#nivea"Response
Section titled “Response”HTTP/2 404content-type: text/htmlcontent-length: 0The request that actually reaches the API is GET /v1/latest/find-hashtag/, with an empty name, so it matches no endpoint.
Send the # URL-encoded as %23, or leave it out:
# only hashtags starting with #niveacurl \ -H "Authorization: Bearer $SPATE_API_TOKEN" \ "https://api.spate.nyc/v1/latest/find-hashtag/%23nivea"
# any hashtag containing nivea (#nivea, #cremanivea, ...)curl \ -H "Authorization: Bearer $SPATE_API_TOKEN" \ "https://api.spate.nyc/v1/latest/find-hashtag/nivea"