Social trends
1 endpoint. All requests need an x-api-key header.
GET
/v1/trends/socialTrending topics on social media
Topics currently trending on social media.
Cost: 10 credits live · 1 credit when served from cache
Query parameters
| Name | Type | Description |
|---|---|---|
fresh | boolean | Skip the cache and fetch live data. |
fresh | boolean | Set to true to skip the cache and fetch live data at the live price. |
Example
curl "https://api.pulseemetrics.com/v1/trends/social?fresh=value" \
-H "x-api-key: $PULSE_KEY"Try it in the playground →JavaScript and Python
const res = await fetch("https://api.pulseemetrics.com/v1/trends/social?fresh=value", {
headers: { "x-api-key": process.env.PULSE_KEY },
});
const { data, meta } = await res.json();import os, requests
r = requests.get(
"https://api.pulseemetrics.com/v1/trends/social",
params={"fresh": "value"},
headers={"x-api-key": os.environ["PULSE_KEY"]},
)
print(r.json())