Skip to main content
GET
/
v1
/
twitter
/
tweet
Get tweet metadata from a tweet URL
curl --request GET \
  --url https://api.urltodata.ai/v1/twitter/tweet \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "url": "<string>",
  "text": "<string>",
  "author": {
    "username": "<string>",
    "displayName": "<string>",
    "profileImageUrl": "<string>",
    "verified": true
  },
  "stats": {
    "likes": 123,
    "retweets": 123,
    "replies": 123,
    "views": 123,
    "bookmarks": 123
  },
  "createdAt": "<string>",
  "media": [
    {
      "type": "image",
      "url": "<string>"
    }
  ],
  "quotedTweet": {
    "id": "<string>",
    "text": "<string>",
    "author": {
      "username": "<string>",
      "displayName": "<string>"
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.urltodata.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
default:your-api-key
required

API key as Bearer token (e.g. Bearer mp_abc123_secret)

Query Parameters

url
string<uri>
required

Tweet URL (x.com or twitter.com)

Response

Tweet metadata

id
string
url
string
text
string
author
object
stats
object
createdAt
string | null
media
object[]
quotedTweet
object