Twitter
Post

Search Twitter posts

Search public Twitter posts with cursor pagination. Test and Live use the same route, parameters, response schema, pagination, and errors. In Test, null means unavailable, not zero.

get/v1/twitter/search/posts

Request

  • Base URL: https://api.openhandle.dev
  • URL: https://api.openhandle.dev/v1/twitter/search/posts
  • Auth: HTTP bearer

Query parameters

qstring required

Public search query.

sort'latest' | 'top'

Result ordering for this operation.

freshness'live' | '24h' | '7d' | '30d'

Maximum accepted data age. The default is 24h.

cursorstring

Opaque cursor returned by the previous page.

Response

A successful Test or Live response.

capturedAtstring date-time required
platform'instagram' | 'tiktok' | 'twitter' | 'reddit' required
resource'profile' | 'post' | 'comment' | 'hashtag' | 'location' | 'music' | 'category' | 'list' | 'entity' | 'story' | 'highlight' | 'subreddit' | 'rule' | 'wiki' | 'trophy' required
source'live' | 'cache' required

Changes

No recorded changes to this operation across all 1 revision of this API.