X (Twitter) · Content details
Tweets by link or ID
Send tweet links or IDs; get one record per tweet with text, counters, time, media and the author's public profile.
POST/v1/twitter/tweets
$0.00221per record
- 1,000 records
- ≈ $2.21
- minimum per record fetched
- $0.001435
Works with trial balanceOne request, no cursor
Send it
POST with a JSON body, or GET with the same parameters in the query string. Your key goes in the Authorization header.
curl -X POST "https://api.silklinedata.com/v1/twitter/tweets" \
-H "Authorization: Bearer $SILKLINE_KEY" \
-H "Content-Type: application/json" \
-d '{"limit":5,"tweetUrls":["https://x.com/elonmusk/status/2117360990119506022"]}'import os, requests
response = requests.post(
"https://api.silklinedata.com/v1/twitter/tweets",
headers={"Authorization": "Bearer " + os.environ["SILKLINE_KEY"]},
json={
"limit": 5,
"tweetUrls": ["https://x.com/elonmusk/status/2117360990119506022"],
},
)
answer = response.json()
print(answer["data"], answer["meta"]["charged_usd"])const response = await fetch("https://api.silklinedata.com/v1/twitter/tweets", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.SILKLINE_KEY}`, "Content-Type": "application/json" },
body: JSON.stringify({
"limit": 5,
"tweetUrls": [
"https://x.com/elonmusk/status/2117360990119506022"
]
}),
});
const { data, cursor, meta } = await response.json();
console.log(data, meta.charged_usd);What comes back
Records from a real request on 2026-11-21. Names, avatars and profile links of ordinary users show as <masked>; long text is cut here, not in the API.
{
"data": [
{
"type": "tweet",
"tweetId": "2117360990119506022",
"url": "https://x.com/elonmusk/status/2117360…",
"text": "This is the way",
"lang": "en",
"createdAt": "2026-11-02T20:59:33Z",
"viewCount": 4110889,
"likeCount": 12780,
"retweetCount": 1217,
"replyCount": 1979,
"quoteCount": 153,
"bookmarkCount": 838,
"conversationId": "2117360990119506022",
"isRetweet": false,
"isQuote": true,
"isReply": false,
"inReplyToTweetId": null,
"retweetedTweetId": null,
"retweetedAuthorHandle": null,
"retweetedText": null,
"quotedTweetId": "2117285679961096683",
"quotedAuthorHandle": "<masked>",
"quotedText": "Treat Grok Bot like a teammate and gi…",
"sensitive": null,
"source": null,
"hashtags": [],
"mentions": [],
"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
}
],
"cursor": null,
"meta": {
"request_id": "req_01JD8Q…",
"charged_usd": "0.002210",
"balance_usd": "9.875000",
"items": 1
}
}Fields 48
| Field | Type | Example value |
|---|---|---|
| type | string | tweet |
| tweetId | string | 2117360990119506022 |
| url | string | https://x.com/elonmusk/status/2117360990119506022 |
| text | string | This is the way |
| lang | string | en |
| createdAt | string | 2026-11-02T20:59:33Z |
| viewCount | number | 4110889 |
| likeCount | number | 12780 |
| retweetCount | number | 1217 |
| replyCount | number | 1979 |
| quoteCount | number | 153 |
| bookmarkCount | number | 838 |
| conversationId | string | 2117360990119506022 |
| isRetweet | boolean | false |
| isQuote | boolean | true |
| isReply | boolean | false |
| inReplyToTweetId | null | null |
| retweetedTweetId | null | null |
| retweetedAuthorHandle | null | null |
| retweetedText | null | null |
| quotedTweetId | string | 2117285679961096683 |
| quotedAuthorHandle | string | <masked> |
| quotedText | string | Treat Grok Bot like a teammate and give @b*** an ambitious t… |
| sensitive | null | null |
| source | null | null |
| hashtags | array | [] |
| mentions | array | [] |
| urls | array | [] |
| mediaType | null | null |
| imageUrls | array | [] |
| videoUrl | null | null |
| videoThumbnailUrl | null | null |
| videoDurationMs | null | null |
| mediaUrls | array | [] |
| authorHandle | string | <masked> |
| authorName | string | <masked> |
| authorId | string | <masked> |
| authorFollowers | string | <masked> |
| authorVerified | string | <masked> |
| authorAvatarUrl | string | <masked> |
| authorBio | null | null |
| authorLocation | null | null |
| authorFollowing | null | null |
| authorLikeCount | null | null |
| authorCreatedAt | null | null |
| authorVerifiedType | null | null |
| authorCoverUrl | null | null |
| authorUrl | null | null |
Parameters 2
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
| limit | integer | no | How many records to return, 1 to 100. A request never returns more than this. | 5 |
| tweetUrls | array | yes | Tweet links (https://x.com/name/status/123 or twitter.com) or bare tweet IDs. One tweet per entry. | ["https://x.com/elonmusk/status/21173609… |
Paging
This endpoint answers in one request: raise limit (up to 100) for more records. cursor is always null.
What a request costs
You pay per record; when a request returns few records or none, it is charged at most the endpoint minimum for each page it reads, possibly less, and errors or timeouts on our side are not charged.
Here each record is fetched on its own; the minimum is $0.001435 for each.
- 1 record: up to $0.00221
- 20 records: up to $0.0442
- 100 records: up to $0.221
The response's meta says what was charged (charged_usd) and what is left (balance_usd). Errors on our side are not charged.
Questions
What parameters does Tweets by link or ID take?
Required: tweetUrls. Every request also takes limit (1 to 100).
How many records does one request return?
Up to 100 (limit 1 to 100). A page holds up to 1 records, so 100 records take 100 pages in one request.
Can I page through more results?
No. This endpoint answers in full in one request; the answer's cursor is null.
How much does it cost?
Per record: detail record $0.00221. The minimum is $0.001435 per page: with few records or none, a request pays at most that for each page it reads, possibly less. 100 records cost at most $0.221.
What does a request cost when it fails or comes back empty?
You pay per record; when a request returns few records or none, it is charged at most the endpoint minimum for each page it reads, possibly less, and errors or timeouts on our side are not charged. Each answer's meta says what the request was charged and the balance left.