hashtags
hashtags
Page 3 of 5.
Overview
Request
curl example
curl -sS \ "https://example-data.com/api/v1/hashtags?limit=25"
JavaScript example
const res = await fetch(
"https://example-data.com/api/v1/hashtags?limit=25"
);
const { data, meta } = await res.json(); TypeScript example
// Download once: mkdir -p types && curl -o types/hashtags.d.ts https://example-data.com/types/hashtags.d.ts
import type { Hashtag, ListEnvelope } from "./types/hashtags";
const res = await fetch(
"https://example-data.com/api/v1/hashtags?limit=25"
);
const { data, meta } = (await res.json()) as ListEnvelope<Hashtag>; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/hashtags",
params={"limit": 25},
)
data = res.json() Response
{
"data": [
{
"id": 49,
"tag": "clam",
"useCount": 1485
},
{
"id": 50,
"tag": "credo",
"useCount": 692
},
{
"id": 51,
"tag": "circumvenio",
"useCount": 3602
}
],
"meta": {
"page": 3,
"limit": 24,
"total": 100,
"totalPages": 5
},
"links": {
"self": "/api/v1/hashtags?page=3&limit=24",
"first": "/api/v1/hashtags?page=1&limit=24",
"last": "/api/v1/hashtags?page=5&limit=24",
"next": "/api/v1/hashtags?page=4&limit=24",
"prev": "/api/v1/hashtags?page=2&limit=24"
}
}