StatsHub Docs
APILegacy APIV1 endpoint referenceTweets

/tweets/recent

Cached in process for five minutes and at the edge for the same, because the upstream is rate-limited and this is rendered on a public page.

GET
/api/tweets/recent

Cached in process for five minutes and at the edge for the same, because the upstream is rate-limited and this is rendered on a public page.

The failure statuses are unusually granular for this API — 504 for a timeout, 503 for a network failure, 500 for anything the upstream returned — because the widget retries on some and gives up on others.

Query Parameters

limit?string
since?string

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/tweets/recent"
{  "count": 0,  "mentions": [    {      "author_username": "string",      "created_at": "string",      "follower_count": 0,      "hidden": true,      "id": "string",      "images": [        "string"      ],      "tweet_id": "string",      "tweet_text": "string"    }  ],  "success": true,  "timestamp": "string"}