Count tweets matching a query — last 7 days

From X (Twitter), through Joshu Data Bodega.

Price
$0.0055 per call$5.50 per 1,000 calls

No calls measured in the last 30 days.

Prices include the router's 10% markup and are paid from the usage wallet. Checked on November 11, 2026.

Inputs

  • querystring, required

  • end_timestring, optional

  • since_idstring, optional

  • until_idstring, optional

  • next_tokenstring, optional

    A base32hex-encoded pagination token.

  • start_timestring, optional

    Must be within the last 7 days.

  • granularitystring, optional

  • pagination_tokenstring, optional

    A base32hex-encoded pagination token.

  • search_count.fieldsstring, optional

Call it

Router call with a router API key
curl https://hello.joshu.me/api/router/call \
  -H "Authorization: Bearer $JOSHU_ROUTER_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "endpoint": "x.x.get-posts-counts-recent",
    "params": {
      "query": "<query>"
    }
  }'