StatsHub Docs
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/v2/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/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/api/v2/tweets/recent"
null