X (Twitter) · Example Payload

X Api Filtered Streaming Tweet Response Example

Social-MediaMicrobloggingReal-Time DataStreamingAdvertisingContent

X Api Filtered Streaming Tweet Response Example is an example object payload from X (Twitter), with 4 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

dataerrorsincludesmatching_rules

Example Payload

Raw ↑
{
  "data": {
    "author_id": "2244994945",
    "created_at": "Wed Jan 06 18:40:40 +0000 2021",
    "id": "1346889436626259968",
    "text": "Learn how to use the user Tweet timeline and user mention timeline endpoints in the X API v2 to explore Tweet\\u2026 https:\\/\\/t.co\\/56a0vZUx7i",
    "username": "XDevelopers"
  },
  "errors": [
    "example_value"
  ],
  "includes": {
    "media": [
      "example_value"
    ],
    "places": [
      "example_value"
    ],
    "polls": [
      "example_value"
    ],
    "topics": [
      "example_value"
    ],
    "tweets": [
      "example_value"
    ],
    "users": [
      "example_value"
    ]
  },
  "matching_rules": [
    {
      "id": "1234567890123456789",
      "tag": "example_value"
    }
  ]
}

Work with this as data

Every example here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This example
curl "https://apis.io/api/v1/examples/x-api-filtered-streaming-tweet-response-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.