Redes sociales y comunidades

API de X (Twitter) 2 endpoints, una misma forma de petición.

Datos públicos de X (Twitter) en JSON: detalles de contenido. Todos los endpoints reciben el mismo tipo de petición y responden con la misma forma.

Obtener API keyAbrir la documentación

Qué da la API oficial de X (Twitter), y qué no

  • 2endpoints
  • $0.00023precio más bajo por registro
  • 1con paginación por cursor
  • 2funcionan con saldo de prueba

Una respuesta real

Una petición real a Tweets de perfiles y los registros que devolvió.

POST /v1/twitter/userTweets
$ API="https://api.silklinedata.com"
$ curl -X POST "$API/v1/twitter/userTweets" \
    -H "Authorization: Bearer $SILKLINE_KEY" \
    -d '{"limit":5,"handles":["nasa"]}'

Respuesta guardada de una petición real · obtenido el 2026-11-21 · Los nombres de usuarios comunes están ocultos.

200 OK
{
  "data": [
    {
      "type": "tweet",
      "tweetId": "2123907405339582769",
      "url": "https://x.com/NASA/status/21239074053…",
      "text": "RT @N***: Another week of exploration…",
      "lang": "en",
      "createdAt": "2026-11-20T22:32:40Z",
      "viewCount": 41545,
      "likeCount": 0,
      "retweetCount": 41,
      "replyCount": 0,
      "quoteCount": 0,
      "bookmarkCount": 0,
      "conversationId": "2123907405339582769",
      "isRetweet": true,
      "isQuote": false,
      "isReply": false,
      "inReplyToTweetId": null,
      "retweetedTweetId": "2123892108893295099",
      "retweetedAuthorHandle": "<masked>",
      "retweetedText": "Another week of exploration, partners…",
      "quotedTweetId": null,
      "quotedAuthorHandle": null,
      "quotedText": null,
      "sensitive": null,
      "source": "Twitter Web App",
      "hashtags": [],
      "mentions": [
        "NASASpox",
        "NASA",
        "NASAAdmin"
      ],
      "urls": [],
      "mediaType": null,
      "imageUrls": [],
      "videoUrl": null,
      "videoThumbnailUrl": null,
      "videoDurationMs": null,
      "mediaUrls": [],
      "authorHandle": "<masked>",
      "authorName": "<masked>",
      "authorId": "<masked>",
      "authorFollowers": "<masked>",
      "authorVerified": "<masked>",
      "authorAvatarUrl": "<masked>",
      "authorBio": null,
      "authorLocation": null,
      "authorFollowing": null,
      "authorLikeCount": null,
      "authorCreatedAt": null,
      "authorVerifiedType": null,
      "authorCoverUrl": null,
      "authorUrl": null,
      "sourceHandle": "<masked>"
    },
    {
      "type": "tweet",
      "tweetId": "2123837600607949296",
      "url": "https://x.com/NASA/status/21238376006…",
      "text": "RT @N***: Millions of people fly ever…",
      "lang": "en",
      "createdAt": "2026-11-20T17:55:17Z",
      "viewCount": 45398,
      "likeCount": 0,
      "retweetCount": 90,
      "replyCount": 0,
      "quoteCount": 0,
      "bookmarkCount": 0,
      "conversationId": "2123837600607949296",
      "isRetweet": true,
      "isQuote": false,
      "isReply": false,
      "inReplyToTweetId": null,
      "retweetedTweetId": "2123830179617186024",
      "retweetedAuthorHandle": "<masked>",
      "retweetedText": "Millions of people fly every day, but…",
      "quotedTweetId": null,
      "quotedAuthorHandle": null,
      "quotedText": null,
      "sensitive": null,
      "source": "Twitter Web App",
      "hashtags": [],
      "mentions": [
        "NASASolarSystem"
      ],
      "urls": [],
      "mediaType": null,
      "imageUrls": [],
      "videoUrl": null,
      "videoThumbnailUrl": null,
      "videoDurationMs": null,
      "mediaUrls": [],
      "authorHandle": "<masked>",
      "authorName": "<masked>",
      "authorId": "<masked>",
      "authorFollowers": "<masked>",
      "authorVerified": "<masked>",
      "authorAvatarUrl": "<masked>",
      "authorBio": null,
      "authorLocation": null,
      "authorFollowing": null,
      "authorLikeCount": null,
      "authorCreatedAt": null,
      "authorVerifiedType": null,
      "authorCoverUrl": null,
      "authorUrl": null,
      "sourceHandle": "<masked>"
    }
  ]
}